Changeset 154 for Evidence/Edd
- Timestamp:
- 01/29/10 14:27:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Evidence/Edd/Edd.cc
r152 r154 69 69 // If this is a status indicator, adapt background colour 70 70 if (Data.size() == Text.size()+2) { 71 switch (Data[Text.size() + 2]) {71 switch (Data[Text.size() + 1]) { 72 72 case 0: Pal.setColor(QPalette::Base, Qt::white); break; 73 case 1: Pal.setColor(QPalette::Base, Qt:: cyan); break;73 case 1: Pal.setColor(QPalette::Base, Qt::yellow); break; 74 74 case 2: Pal.setColor(QPalette::Base, Qt::red); break; 75 75 case 3: Pal.setColor(QPalette::Base, Qt::red); break; … … 623 623 MainLayout->addWidget(Textout, 1, 0, 1, 2); 624 624 625 QFrame *Val = new QFrame(); 626 Val->setFrameStyle(QFrame::HLine); 627 Val->setLineWidth(10); 628 //Value->setMaximumWidth(200); 629 MainLayout->addWidget(Val, 2, 0, 2, 1); 630 625 631 Value = new Edd_Indicator("DColl/Status"); 626 632 Value->setMaximumWidth(200); … … 702 708 // Tab widget 703 709 TabWidget = new QTabWidget(Central); 704 TabWidget->addTab(MainWidget, "&Main");705 710 TabWidget->addTab(BiasWidget, "&Bias"); 706 711 TabWidget->addTab(EnvironmentWidget, "&Environment"); 712 TabWidget->addTab(MainWidget, "Evidence"); 707 713 708 714 // Menu bar
Note:
See TracChangeset
for help on using the changeset viewer.