diff --git a/Graphs/gSummaryChart.cpp b/Graphs/gSummaryChart.cpp index 75aa616d..30b9c426 100644 --- a/Graphs/gSummaryChart.cpp +++ b/Graphs/gSummaryChart.cpp @@ -304,19 +304,22 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height) if (m_graphtype==GT_SESSIONS) { int j; QHash<int,QHash<short,EventDataType> >::iterator times=m_times.find(zd); + QColor col=m_colors[0]; + //if (hours<4) col=QColor("#f03030"); + + if (zd==hl_day) { + col=QColor("gold"); + } + QColor col2=brighten(col); for (j=0;j<d.value().size();j++) { - QColor col=m_colors[0]; - if (zd==hl_day) { - col=QColor("gold"); - } tmp2=times.value()[j]; py=top+height-(tmp2*ymult); tmp=d.value()[j]; // length + //tmp-=miny; h=tmp*ymult; - QColor col2=brighten(col); quads->add(x1,py,x1,py-h,col); quads->add(x2,py-h,x2,py,col2); @@ -349,12 +352,19 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height) if (!j) continue; j--; + tmp=g.value(); + QColor col=m_colors[j]; + if (m_type[j]==ST_HOURS) { + if (tmp<4) { + col=QColor("#f04040"); + } + } + if (zd==hl_day) { col=QColor("gold"); } - tmp=g.value(); //if (!tmp) continue; if (m_type[j]==ST_MAX) { if (tmp>totalvalues[j]) totalvalues[j]=tmp; diff --git a/daily.ui b/daily.ui index 40967469..ff4437ec 100644 --- a/daily.ui +++ b/daily.ui @@ -136,38 +136,6 @@ </property> </widget> </item> - <item> - <widget class="QToolButton" name="todayButton"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>25</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>25</height> - </size> - </property> - <property name="toolTip"> - <string>Go to the most recent day with data records</string> - </property> - <property name="text"> - <string>>|</string> - </property> - <property name="icon"> - <iconset resource="Resources.qrc"> - <normaloff>:/icons/last.png</normaloff>:/icons/last.png</iconset> - </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextOnly</enum> - </property> - <property name="autoRaise"> - <bool>true</bool> - </property> - </widget> - </item> <item> <widget class="QToolButton" name="nextDayButton"> <property name="minimumSize"> @@ -206,6 +174,38 @@ </property> </widget> </item> + <item> + <widget class="QToolButton" name="todayButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>25</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>25</height> + </size> + </property> + <property name="toolTip"> + <string>Go to the most recent day with data records</string> + </property> + <property name="text"> + <string>>|</string> + </property> + <property name="icon"> + <iconset resource="Resources.qrc"> + <normaloff>:/icons/last.png</normaloff>:/icons/last.png</iconset> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextOnly</enum> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> </layout> </widget> <widget class="QCalendarWidget" name="calendar"> diff --git a/overview.cpp b/overview.cpp index ba24c296..d2fe7900 100644 --- a/overview.cpp +++ b/overview.cpp @@ -103,7 +103,7 @@ Overview::Overview(QWidget *parent,gGraphView * shared) : UC->AddLayer(uc); us=new SummaryChart("Hours",GT_SESSIONS); - us->addSlice("",QColor("#c0c0ff"),ST_HOURS); + us->addSlice("",QColor("dark blue"),ST_HOURS); us->addSlice("",QColor("blue"),ST_SESSIONS); US->AddLayer(us); diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 88c09d59..10006ffe 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -137,35 +137,25 @@ PreferencesDialog::PreferencesDialog(QWidget *parent,Profile * _profile) : //ui->skipEmptyDays->setChecked((*profile)["SkipEmptyDays"].toBool()); general.clear(); - general.push_back(Preference(p_profile,"UseAntiAliasing",PT_Checkbox,"Use Anti-Aliasing","Enable Graphical smoothing. Doesn't always look pretty.",false)); - general.push_back(Preference(p_profile,"SquareWavePlots",PT_Checkbox,"Square Wave Plots","Try to use Square Wave plots where possible",true)); - general.push_back(Preference(p_profile,"EnableGraphSnapshots",PT_Checkbox,"Event Breakdown Piechart","Shows Event Breakdown in Daily view. This may cause problems on older computers.",true)); - general.push_back(Preference(p_pref,"SkipLoginScreen",PT_Checkbox,"Skip Login Screen","Bypass the login screen at startup",false)); - general.push_back(Preference(p_profile,"SkipEmptyDays",PT_Checkbox,"Skip Empty Days","Skip over calendar days that don't have any data",true)); - general.push_back(Preference(p_profile,"EnableMultithreading",PT_Checkbox,"Enable Multithreading","Try to use extra processor cores where possible",false)); - general.push_back(Preference(p_profile,"MemoryHog",PT_Checkbox,"Cache Session Data","Keep session data in memory to improve load speed revisiting the date.",false)); + general["UseAntiAliasing"]=Preference(p_profile,"UseAntiAliasing",PT_Checkbox,"Use Anti-Aliasing","Enable Graphical smoothing. Doesn't always look pretty.",false); + general["SquareWavePlots"]=Preference(p_profile,"SquareWavePlots",PT_Checkbox,"Square Wave Plots","Try to use Square Wave plots where possible",true); + general["EnableGraphSnapshots"]=Preference(p_profile,"EnableGraphSnapshots",PT_Checkbox,"Event Breakdown Piechart","Shows Event Breakdown in Daily view. This may cause problems on older computers.",true); + general["SkipLoginScreen"]=Preference(p_pref,"SkipLoginScreen",PT_Checkbox,"Skip Login Screen","Bypass the login screen at startup",false); + general["SkipEmptyDays"]=Preference(p_profile,"SkipEmptyDays",PT_Checkbox,"Skip Empty Days","Skip over calendar days that don't have any data",true); + general["EnableMultithreading"]=Preference(p_profile,"EnableMultithreading",PT_Checkbox,"Enable Multithreading","Try to use extra processor cores where possible",false); + general["MemoryHog"]=Preference(p_profile,"MemoryHog",PT_Checkbox,"Cache Session Data","Keep session data in memory to improve load speed revisiting the date.",false); - ui->genOpWidget->clear(); - for (int i=0;i<general.size();i++) { - Preference & p=general[i]; - QListWidgetItem *wi=new QListWidgetItem(p.label()); - wi->setToolTip(p.tooltip()); - - bool b=p.value().toBool(); - wi->setCheckState(b ? Qt::Checked : Qt::Unchecked); - QVariant t; - t.setValue(p); - wi->setData(Qt::UserRole,t); - ui->genOpWidget->addItem(wi); - } - ui->genOpWidget->sortItems(); + ui->useAntiAliasing->setChecked(general["UseAntiAliasing"].value().toBool()); + ui->useSquareWavePlots->setChecked(general["SquareWavePlots"].value().toBool()); + ui->enableGraphSnapshots->setChecked(general["EnableGraphSnapshots"].value().toBool()); + ui->skipLoginScreen->setChecked(general["SkipLoginScreen"].value().toBool()); + ui->skipEmptyDays->setChecked(general["SkipEmptyDays"].value().toBool()); + ui->enableMultithreading->setChecked(general["EnableMultithreading"].value().toBool()); + ui->cacheSessionData->setChecked(general["MemoryHog"].value().toBool()); if (!PREF.Exists("Updates_AutoCheck")) PREF["Updates_AutoCheck"]=true; ui->automaticallyCheckUpdates->setChecked(PREF["Updates_AutoCheck"].toBool()); - if (!PREF.Exists("SkipLoginScreen")) PREF["SkipLoginScreen"]=false; - ui->skipLoginScreen->setChecked(PREF["SkipLoginScreen"].toBool()); - if (!PREF.Exists("Updates_CheckFrequency")) PREF["Updates_CheckFrequency"]=3; ui->updateCheckEvery->setValue(PREF["Updates_CheckFrequency"].toInt()); if (PREF.Exists("Updates_LastChecked")) { @@ -266,20 +256,16 @@ void PreferencesDialog::Save() { bool needs_restart=false; - for (int i=0;i<ui->genOpWidget->count();i++) { - QListWidgetItem *item=ui->genOpWidget->item(i); - bool checked=item->checkState() == Qt::Checked; - QVariant data=item->data(Qt::UserRole); - - Preference p=data.value<Preference>(); - - if (p.value().toBool()!=checked) { - p.setValue(checked); - if (p.code()=="SquareWavePlots") { - needs_restart=true; - } - } + general["UseAntiAliasing"].setValue(ui->useAntiAliasing->isChecked()); + if (ui->useSquareWavePlots->isChecked()!=general["SquareWavePlots"].value().toBool()) { + general["SquareWavePlots"].setValue(ui->useSquareWavePlots->isChecked()); + needs_restart=true; } + general["EnableGraphSnapshots"].setValue(ui->enableGraphSnapshots->isChecked()); + general["SkipLoginScreen"].setValue(ui->skipLoginScreen->isChecked()); + general["SkipEmptyDays"].setValue(ui->skipEmptyDays->isChecked()); + general["EnableMultithreading"].setValue(ui->enableMultithreading->isChecked()); + general["MemoryHog"].setValue(ui->cacheSessionData->isChecked()); if ((*profile)["CombineCloserSessions"].toInt()!=ui->combineSlider->value()) needs_restart=true; @@ -288,8 +274,6 @@ void PreferencesDialog::Save() (*profile)["CombineCloserSessions"]=ui->combineSlider->value(); (*profile)["IgnoreShorterSessions"]=ui->IgnoreSlider->value(); - //(*profile)["MemoryHog"]=ui->memoryHogCheckbox->isChecked(); - if ((*profile)["DaySplitTime"].toTime()!=ui->timeEdit->time()) needs_restart=true; (*profile)["DaySplitTime"]=ui->timeEdit->time(); diff --git a/preferencesdialog.h b/preferencesdialog.h index 58d1a4d1..70d3ad51 100644 --- a/preferencesdialog.h +++ b/preferencesdialog.h @@ -78,7 +78,7 @@ private: QStringListModel *importModel; MySortFilterProxyModel *graphFilterModel; QStandardItemModel *graphModel; - QVector<Preference> general; + QHash<QString,Preference> general; }; diff --git a/preferencesdialog.ui b/preferencesdialog.ui index 2eb3a71c..4c7201d4 100644 --- a/preferencesdialog.ui +++ b/preferencesdialog.ui @@ -10,7 +10,7 @@ <x>0</x> <y>0</y> <width>640</width> - <height>396</height> + <height>407</height> </rect> </property> <property name="maximumSize"> @@ -38,7 +38,7 @@ <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> - <number>5</number> + <number>6</number> </property> <widget class="QWidget" name="importTab"> <attribute name="title"> @@ -349,223 +349,216 @@ p, li { white-space: pre-wrap; } <attribute name="title"> <string>&Mask</string> </attribute> - <layout class="QVBoxLayout" name="verticalLayout_6"> + <layout class="QHBoxLayout" name="horizontalLayout_14"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>2</number> + </property> + <property name="topMargin"> + <number>2</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>2</number> + </property> <item> - <widget class="QSplitter" name="splitter"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <widget class="QGroupBox" name="groupBox_5"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <widget class="QWidget" name="layoutWidget"> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="1" colspan="2"> - <widget class="QGroupBox" name="groupBox_5"> - <property name="title"> - <string>CPAP Mask Information</string> - </property> - <property name="checkable"> - <bool>false</bool> - </property> - <layout class="QGridLayout" name="gridLayout_6"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>4</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <property name="spacing"> - <number>4</number> - </property> - <item row="2" column="0"> - <widget class="QLabel" name="label_27"> - <property name="text"> - <string>Mask Type</string> - </property> - </widget> - </item> - <item row="2" column="1" colspan="3"> - <widget class="QComboBox" name="maskTypeCombo"> - <item> - <property name="text"> - <string/> - </property> - </item> - </widget> - </item> - <item row="5" column="0"> - <widget class="QLabel" name="label_17"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Leak mode</string> - </property> - </widget> - </item> - <item row="5" column="1" colspan="3"> - <widget class="QComboBox" name="leakModeCombo"> - <item> - <property name="text"> - <string>Total Leaks</string> - </property> - </item> - <item> - <property name="text"> - <string>Unintentional Leaks</string> - </property> - </item> - </widget> - </item> - <item row="3" column="1" colspan="3"> - <widget class="QLineEdit" name="maskDescription"/> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_29"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Description</string> - </property> - </widget> - </item> - <item row="7" column="1" colspan="2"> - <widget class="QDateEdit" name="dateEdit"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="calendarPopup"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="7" column="0"> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>Date</string> - </property> - </widget> - </item> - <item row="7" column="3"> - <widget class="QCheckBox" name="checkBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Current</string> - </property> - </widget> - </item> - <item row="9" column="0" colspan="4"> - <widget class="QTableWidget" name="maskHistory"> - <column> - <property name="text"> - <string>Start</string> - </property> - </column> - <column> - <property name="text"> - <string>End</string> - </property> - </column> - <column> - <property name="text"> - <string>Name</string> - </property> - </column> - </widget> - </item> - <item row="8" column="0"> - <widget class="QLabel" name="label_32"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Mask History</string> - </property> - </widget> - </item> - <item row="8" column="3"> - <widget class="QPushButton" name="pushButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>&New Mask</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="layoutWidget2"> - <layout class="QGridLayout" name="gridLayout_8"> - <item row="2" column="0" colspan="2"> - <widget class="QLabel" name="label_28"> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> + <property name="title"> + <string>CPAP Mask Information</string> + </property> + <property name="checkable"> + <bool>false</bool> + </property> + <layout class="QGridLayout" name="gridLayout"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>2</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <property name="horizontalSpacing"> + <number>4</number> + </property> + <property name="verticalSpacing"> + <number>2</number> + </property> + <item row="2" column="0"> + <widget class="QLabel" name="label_27"> + <property name="text"> + <string>Mask Type</string> + </property> + </widget> + </item> + <item row="2" column="1" colspan="2"> + <widget class="QComboBox" name="maskTypeCombo"> + <item> <property name="text"> - <string>Leak Profile</string> + <string/> </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QTableWidget" name="leakProfile"> - <property name="alternatingRowColors"> - <bool>true</bool> + </item> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_29"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Description</string> + </property> + </widget> + </item> + <item row="3" column="1" colspan="2"> + <widget class="QLineEdit" name="maskDescription"/> + </item> + <item row="4" column="1" colspan="2"> + <widget class="QComboBox" name="leakModeCombo"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <item> + <property name="text"> + <string>Total Leaks</string> </property> - <attribute name="verticalHeaderVisible"> - <bool>false</bool> - </attribute> - <column> - <property name="text"> - <string>Pressure</string> - </property> - </column> - <column> - <property name="text"> - <string>Leak</string> - </property> - </column> - </widget> - </item> - </layout> - </widget> + </item> + <item> + <property name="text"> + <string>Unintentional Leaks</string> + </property> + </item> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_17"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Leak mode</string> + </property> + </widget> + </item> + <item row="9" column="0"> + <widget class="QLabel" name="label_7"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Started Using</string> + </property> + </widget> + </item> + <item row="9" column="1" colspan="2"> + <widget class="QDateEdit" name="startedUsingMask"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="calendarPopup"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="5" column="0" colspan="3"> + <widget class="QLabel" name="label_31"> + <property name="font"> + <font> + <italic>true</italic> + </font> + </property> + <property name="text"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:italic;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; font-style:normal;">Note: </span>Before the following date, all leaks </p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">will show as reported by the machine.</p></body></html></string> + </property> + </widget> + </item> + <item row="10" column="0"> + <widget class="QLabel" name="label_28"> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Leak Profile</string> + </property> + </widget> + </item> + <item row="11" column="0" colspan="3"> + <widget class="QTableWidget" name="leakProfile"> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <column> + <property name="text"> + <string>Pressure</string> + </property> + </column> + <column> + <property name="text"> + <string>Leak</string> + </property> + </column> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_7"> + <property name="title"> + <string/> + </property> + <layout class="QVBoxLayout" name="verticalLayout_6"> + <item> + <widget class="QLabel" name="label_32"> + <property name="text"> + <string>Hmmm... Empty Space</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> </widget> </item> </layout> @@ -897,7 +890,7 @@ p, li { white-space: pre-wrap; } </widget> </item> <item row="1" column="0"> - <widget class="QCheckBox" name="checkBox_2"> + <widget class="QCheckBox" name="enableMultithreading"> <property name="toolTip"> <string>Allow use of multiple CPU cores where available to improve performance. May cause problems.</string> </property> @@ -906,8 +899,15 @@ p, li { white-space: pre-wrap; } </property> </widget> </item> - <item row="2" column="0"> - <widget class="QCheckBox" name="checkBox_3"> + <item row="4" column="0"> + <widget class="QCheckBox" name="skipEmptyDays"> + <property name="text"> + <string>Skip over Empty Days</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="cacheSessionData"> <property name="toolTip"> <string>Keep session data in memory to speed up revisiting days.</string> </property> @@ -916,8 +916,8 @@ p, li { white-space: pre-wrap; } </property> </widget> </item> - <item row="3" column="0"> - <widget class="QCheckBox" name="checkBox_4"> + <item row="1" column="1"> + <widget class="QCheckBox" name="enableGraphSnapshots"> <property name="toolTip"> <string>Allows graphs to be "screenshotted" for display purposes. The Event Breakdown PIE chart uses this method, as does @@ -1128,15 +1128,9 @@ this application to be unstable with this feature enabled.</string> <attribute name="title"> <string>&Appearance</string> </attribute> - <layout class="QVBoxLayout" name="verticalLayout_8"> + <layout class="QVBoxLayout" name="verticalLayout_11"> <item> <layout class="QHBoxLayout" name="horizontalLayout_13"> - <property name="spacing"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> @@ -1239,35 +1233,22 @@ this application to be unstable with this feature enabled.</string> </widget> </item> <item> - <widget class="QGroupBox" name="groupBox_7"> - <property name="title"> - <string>Settings</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_13"> - <property name="spacing"> - <number>0</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>4</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QListWidget" name="genOpWidget"> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_8"> + <item> + <widget class="QCheckBox" name="useAntiAliasing"> + <property name="text"> + <string>Use Anti-Aliasing</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="useSquareWavePlots"> + <property name="text"> + <string>Square Wave Plots</string> + </property> + </widget> + </item> + </layout> </item> </layout> </item>