Disable Import prefences stubs

This commit is contained in:
Mark Watkins 2011-12-13 18:51:56 +10:00
parent 06bfdb2eb6
commit 66f2528b9e
3 changed files with 22 additions and 4 deletions

View File

@ -83,7 +83,7 @@ void gXGrid::paint(gGraph & w,int left,int top, int width, int height)
float ty,h; float ty,h;
if (min_ytick<=0) { if (min_ytick<=0) {
qDebug() << "min_ytick error in gXGrid::paint()"; qDebug() << "min_ytick error in gXGrid::paint() in" << w.title();
return; return;
} }
if (min_ytick>=1000000) { if (min_ytick>=1000000) {
@ -192,7 +192,7 @@ void gYAxis::paint(gGraph & w,int left,int top, int width, int height)
float ty,h; float ty,h;
if (min_ytick<=0) { if (min_ytick<=0) {
qDebug() << "min_ytick error in gYAxis::Plot()"; qDebug() << "min_ytick error in gYAxis::paint() in" << w.title();
return; return;
} }
if (min_ytick>=1000000) { if (min_ytick>=1000000) {

View File

@ -43,6 +43,9 @@ PreferencesDialog::PreferencesDialog(QWidget *parent,Profile * _profile) :
ui->leakProfile->setColumnWidth(0,100); ui->leakProfile->setColumnWidth(0,100);
ui->maskTypeCombo->clear(); ui->maskTypeCombo->clear();
ui->ahiGraphGroupbox->setEnabled(false);
ui->customEventGroupbox->setEnabled(false);
QString masktype="Nasal Pillows"; QString masktype="Nasal Pillows";
//masktype=PROFILE["MaskType"].toString(); //masktype=PROFILE["MaskType"].toString();
for (int i=0;i<num_masks;i++) { for (int i=0;i<num_masks;i++) {

View File

@ -273,7 +273,7 @@ p, li { white-space: pre-wrap; }
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_8"> <widget class="QGroupBox" name="customEventGroupbox">
<property name="title"> <property name="title">
<string>Custom Event Flagging</string> <string>Custom Event Flagging</string>
</property> </property>
@ -304,6 +304,9 @@ p, li { white-space: pre-wrap; }
<property name="minimum"> <property name="minimum">
<double>1.000000000000000</double> <double>1.000000000000000</double>
</property> </property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget> </widget>
</item> </item>
<item row="1" column="4"> <item row="1" column="4">
@ -311,6 +314,9 @@ p, li { white-space: pre-wrap; }
<property name="suffix"> <property name="suffix">
<string>%</string> <string>%</string>
</property> </property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
@ -364,6 +370,9 @@ p, li { white-space: pre-wrap; }
<property name="suffix"> <property name="suffix">
<string>%</string> <string>%</string>
</property> </property>
<property name="value">
<double>40.000000000000000</double>
</property>
</widget> </widget>
</item> </item>
<item row="2" column="2"> <item row="2" column="2">
@ -371,6 +380,9 @@ p, li { white-space: pre-wrap; }
<property name="suffix"> <property name="suffix">
<string>s</string> <string>s</string>
</property> </property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
@ -384,7 +396,7 @@ p, li { white-space: pre-wrap; }
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_9"> <widget class="QGroupBox" name="ahiGraphGroupbox">
<property name="title"> <property name="title">
<string>AHI/Hour Graph Settings</string> <string>AHI/Hour Graph Settings</string>
</property> </property>
@ -428,6 +440,9 @@ p, li { white-space: pre-wrap; }
<property name="suffix"> <property name="suffix">
<string> minutes</string> <string> minutes</string>
</property> </property>
<property name="value">
<number>60</number>
</property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <item row="0" column="2">