modify scale factor from lineedit to double spin box.
This commit is contained in:
parent
653d994f9c
commit
50901aefed
@ -60,7 +60,7 @@ typedef struct {
|
|||||||
QString tmr_group;
|
QString tmr_group;
|
||||||
int channel_type; // VibChannelType
|
int channel_type; // VibChannelType
|
||||||
QString transducer_name;
|
QString transducer_name;
|
||||||
QString scale_factor;
|
float scale_factor;
|
||||||
int sampling_rate; // VibSamplingRate
|
int sampling_rate; // VibSamplingRate
|
||||||
float normal_voltage_low;
|
float normal_voltage_low;
|
||||||
float normal_voltage_high;
|
float normal_voltage_high;
|
||||||
|
@ -70,7 +70,7 @@ void Seismic_monitor::readJsonFile(const QString &filePath) {
|
|||||||
seismic_monitor[i].tmr_group = temp_obj["tmr_group"].toString();
|
seismic_monitor[i].tmr_group = temp_obj["tmr_group"].toString();
|
||||||
seismic_monitor[i].channel_type = temp_obj["channel_type"].toInt();
|
seismic_monitor[i].channel_type = temp_obj["channel_type"].toInt();
|
||||||
seismic_monitor[i].transducer_name = temp_obj["transducer_name"].toString();
|
seismic_monitor[i].transducer_name = temp_obj["transducer_name"].toString();
|
||||||
seismic_monitor[i].scale_factor = temp_obj["scale_factor"].toString();
|
seismic_monitor[i].scale_factor = temp_obj["scale_factor"].toDouble();
|
||||||
seismic_monitor[i].sampling_rate = temp_obj["sample_rate"].toInt();
|
seismic_monitor[i].sampling_rate = temp_obj["sample_rate"].toInt();
|
||||||
QJsonArray voltage_range_array = temp_obj["normal_voltage_range"].toArray();
|
QJsonArray voltage_range_array = temp_obj["normal_voltage_range"].toArray();
|
||||||
seismic_monitor[i].normal_voltage_low = voltage_range_array[0].toDouble();
|
seismic_monitor[i].normal_voltage_low = voltage_range_array[0].toDouble();
|
||||||
@ -121,7 +121,7 @@ void Seismic_monitor::Init() {
|
|||||||
// }
|
// }
|
||||||
ui->comboBox_chan_type_1->setCurrentIndex(seismic_monitor[i].channel_type);
|
ui->comboBox_chan_type_1->setCurrentIndex(seismic_monitor[i].channel_type);
|
||||||
//ui->comboBox_transducer_name_1->setText(seismic_monitor[i].transducer_name);
|
//ui->comboBox_transducer_name_1->setText(seismic_monitor[i].transducer_name);
|
||||||
ui->lineEdit_scale_factor_1->setText(seismic_monitor[i].scale_factor);
|
ui->doubleSpinBox_scale_factor_1->setValue(seismic_monitor[i].scale_factor);
|
||||||
ui->checkBox_enable_1->setCheckable(seismic_monitor[i].active);
|
ui->checkBox_enable_1->setCheckable(seismic_monitor[i].active);
|
||||||
ui->doubleSpinBox_low_1->setValue(seismic_monitor[i].normal_voltage_low);
|
ui->doubleSpinBox_low_1->setValue(seismic_monitor[i].normal_voltage_low);
|
||||||
ui->doubleSpinBox_high_1->setValue(seismic_monitor[i].normal_voltage_high);
|
ui->doubleSpinBox_high_1->setValue(seismic_monitor[i].normal_voltage_high);
|
||||||
@ -140,7 +140,7 @@ void Seismic_monitor::Init() {
|
|||||||
// }
|
// }
|
||||||
ui->comboBox_chan_type_2->setCurrentIndex(seismic_monitor[i].channel_type);
|
ui->comboBox_chan_type_2->setCurrentIndex(seismic_monitor[i].channel_type);
|
||||||
//ui->comboBox_transducer_name_2->setText(seismic_monitor[i].transducer_name);
|
//ui->comboBox_transducer_name_2->setText(seismic_monitor[i].transducer_name);
|
||||||
ui->lineEdit_scale_factor_2->setText(seismic_monitor[i].scale_factor);
|
ui->doubleSpinBox_scale_factor_2->setValue(seismic_monitor[i].scale_factor);
|
||||||
ui->checkBox_enable_2->setCheckable(seismic_monitor[i].active);
|
ui->checkBox_enable_2->setCheckable(seismic_monitor[i].active);
|
||||||
ui->doubleSpinBox_low_2->setValue(seismic_monitor[i].normal_voltage_low);
|
ui->doubleSpinBox_low_2->setValue(seismic_monitor[i].normal_voltage_low);
|
||||||
ui->doubleSpinBox_high_2->setValue(seismic_monitor[i].normal_voltage_high);
|
ui->doubleSpinBox_high_2->setValue(seismic_monitor[i].normal_voltage_high);
|
||||||
@ -159,7 +159,7 @@ void Seismic_monitor::Init() {
|
|||||||
// }
|
// }
|
||||||
ui->comboBox_chan_type_3->setCurrentIndex(seismic_monitor[i].channel_type);
|
ui->comboBox_chan_type_3->setCurrentIndex(seismic_monitor[i].channel_type);
|
||||||
//ui->lineEdit_transducer_name_3->setText(seismic_monitor[i].transducer_name);
|
//ui->lineEdit_transducer_name_3->setText(seismic_monitor[i].transducer_name);
|
||||||
ui->lineEdit_scale_factor_3->setText(seismic_monitor[i].scale_factor);
|
ui->doubleSpinBox_scale_factor_3->setValue(seismic_monitor[i].scale_factor);
|
||||||
ui->checkBox_enable_3->setCheckable(seismic_monitor[i].active);
|
ui->checkBox_enable_3->setCheckable(seismic_monitor[i].active);
|
||||||
ui->doubleSpinBox_low_3->setValue(seismic_monitor[i].normal_voltage_low);
|
ui->doubleSpinBox_low_3->setValue(seismic_monitor[i].normal_voltage_low);
|
||||||
ui->doubleSpinBox_high_3->setValue(seismic_monitor[i].normal_voltage_high);
|
ui->doubleSpinBox_high_3->setValue(seismic_monitor[i].normal_voltage_high);
|
||||||
@ -178,7 +178,7 @@ void Seismic_monitor::Init() {
|
|||||||
// }
|
// }
|
||||||
ui->comboBox_chan_type_4->setCurrentIndex(seismic_monitor[i].channel_type);
|
ui->comboBox_chan_type_4->setCurrentIndex(seismic_monitor[i].channel_type);
|
||||||
//ui->lineEdit_transducer_name_4->setText(seismic_monitor[i].transducer_name);
|
//ui->lineEdit_transducer_name_4->setText(seismic_monitor[i].transducer_name);
|
||||||
ui->lineEdit_scale_factor_4->setText(seismic_monitor[i].scale_factor);
|
ui->doubleSpinBox_scale_factor_4->setValue(seismic_monitor[i].scale_factor);
|
||||||
ui->checkBox_enable_4->setCheckable(seismic_monitor[i].active);
|
ui->checkBox_enable_4->setCheckable(seismic_monitor[i].active);
|
||||||
ui->doubleSpinBox_low_4->setValue(seismic_monitor[i].normal_voltage_low);
|
ui->doubleSpinBox_low_4->setValue(seismic_monitor[i].normal_voltage_low);
|
||||||
ui->doubleSpinBox_high_4->setValue(seismic_monitor[i].normal_voltage_high);
|
ui->doubleSpinBox_high_4->setValue(seismic_monitor[i].normal_voltage_high);
|
||||||
@ -193,7 +193,7 @@ void Seismic_monitor::on_pushButton_confirm_clicked() {
|
|||||||
for (int var = 0; var < CHANNLE_COUNT; ++var) {
|
for (int var = 0; var < CHANNLE_COUNT; ++var) {
|
||||||
if (seismic_monitor[var].id == 1) {
|
if (seismic_monitor[var].id == 1) {
|
||||||
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_1->currentText();
|
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_1->currentText();
|
||||||
seismic_monitor[var].scale_factor = ui->lineEdit_scale_factor_1->text();
|
seismic_monitor[var].scale_factor = ui->doubleSpinBox_scale_factor_1->value();
|
||||||
seismic_monitor[var].active = ui->checkBox_enable_1->isChecked();
|
seismic_monitor[var].active = ui->checkBox_enable_1->isChecked();
|
||||||
// if (ui->comboBox_sample_rate_1->currentText() == "32 k") {
|
// if (ui->comboBox_sample_rate_1->currentText() == "32 k") {
|
||||||
// seismic_monitor[var].sample_rate = "32000";
|
// seismic_monitor[var].sample_rate = "32000";
|
||||||
@ -203,7 +203,7 @@ void Seismic_monitor::on_pushButton_confirm_clicked() {
|
|||||||
seismic_monitor[var].normal_voltage_high = ui->doubleSpinBox_high_1->value();
|
seismic_monitor[var].normal_voltage_high = ui->doubleSpinBox_high_1->value();
|
||||||
} else if (seismic_monitor[var].id == 2) {
|
} else if (seismic_monitor[var].id == 2) {
|
||||||
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_2->currentText();
|
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_2->currentText();
|
||||||
seismic_monitor[var].scale_factor = ui->lineEdit_scale_factor_2->text();
|
seismic_monitor[var].scale_factor = ui->doubleSpinBox_scale_factor_2->value();
|
||||||
seismic_monitor[var].active = ui->checkBox_enable_2->isChecked();
|
seismic_monitor[var].active = ui->checkBox_enable_2->isChecked();
|
||||||
// if (ui->comboBox_sample_rate_2->currentText() == "32 k") {
|
// if (ui->comboBox_sample_rate_2->currentText() == "32 k") {
|
||||||
// seismic_monitor[var].sample_rate = "32000";
|
// seismic_monitor[var].sample_rate = "32000";
|
||||||
@ -213,7 +213,7 @@ void Seismic_monitor::on_pushButton_confirm_clicked() {
|
|||||||
seismic_monitor[var].normal_voltage_high = ui->doubleSpinBox_high_2->value();
|
seismic_monitor[var].normal_voltage_high = ui->doubleSpinBox_high_2->value();
|
||||||
} else if (seismic_monitor[var].id == 3) {
|
} else if (seismic_monitor[var].id == 3) {
|
||||||
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_3->currentText();
|
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_3->currentText();
|
||||||
seismic_monitor[var].scale_factor = ui->lineEdit_scale_factor_3->text();
|
seismic_monitor[var].scale_factor = ui->doubleSpinBox_scale_factor_3->value();
|
||||||
seismic_monitor[var].active = ui->checkBox_enable_3->isChecked();
|
seismic_monitor[var].active = ui->checkBox_enable_3->isChecked();
|
||||||
// if (ui->comboBox_sample_rate_3->currentText() == "32 k") {
|
// if (ui->comboBox_sample_rate_3->currentText() == "32 k") {
|
||||||
// seismic_monitor[var].sample_rate = "32000";
|
// seismic_monitor[var].sample_rate = "32000";
|
||||||
@ -223,7 +223,7 @@ void Seismic_monitor::on_pushButton_confirm_clicked() {
|
|||||||
seismic_monitor[var].normal_voltage_high = ui->doubleSpinBox_high_3->value();
|
seismic_monitor[var].normal_voltage_high = ui->doubleSpinBox_high_3->value();
|
||||||
} else if (seismic_monitor[var].id == 4) {
|
} else if (seismic_monitor[var].id == 4) {
|
||||||
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_4->currentText();
|
seismic_monitor[var].transducer_name = ui->comboBox_transducer_name_4->currentText();
|
||||||
seismic_monitor[var].scale_factor = ui->lineEdit_scale_factor_3->text();
|
seismic_monitor[var].scale_factor = ui->doubleSpinBox_scale_factor_4->value();
|
||||||
seismic_monitor[var].active = ui->checkBox_enable_4->isChecked();
|
seismic_monitor[var].active = ui->checkBox_enable_4->isChecked();
|
||||||
// if (ui->comboBox_sample_rate_4->currentText() == "32 k") {
|
// if (ui->comboBox_sample_rate_4->currentText() == "32 k") {
|
||||||
// seismic_monitor[var].sample_rate = "32000";
|
// seismic_monitor[var].sample_rate = "32000";
|
||||||
@ -400,7 +400,7 @@ void Seismic_monitor::on_pushButton_cancel_clicked() {
|
|||||||
void Seismic_monitor::on_comboBox_transducer_name_1_currentTextChanged(const QString &arg1) {
|
void Seismic_monitor::on_comboBox_transducer_name_1_currentTextChanged(const QString &arg1) {
|
||||||
for (int var = 0; var < vec_transducer.size(); ++var) {
|
for (int var = 0; var < vec_transducer.size(); ++var) {
|
||||||
if (ui->comboBox_transducer_name_1->currentText() == vec_transducer[var].transducer_name) {
|
if (ui->comboBox_transducer_name_1->currentText() == vec_transducer[var].transducer_name) {
|
||||||
ui->lineEdit_scale_factor_1->setText(QString::number(vec_transducer[var].scale_factor));
|
ui->doubleSpinBox_scale_factor_1->setValue(vec_transducer[var].scale_factor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -408,7 +408,7 @@ void Seismic_monitor::on_comboBox_transducer_name_1_currentTextChanged(const QSt
|
|||||||
void Seismic_monitor::on_comboBox_transducer_name_2_currentTextChanged(const QString &arg1) {
|
void Seismic_monitor::on_comboBox_transducer_name_2_currentTextChanged(const QString &arg1) {
|
||||||
for (int var = 0; var < vec_transducer.size(); ++var) {
|
for (int var = 0; var < vec_transducer.size(); ++var) {
|
||||||
if (ui->comboBox_transducer_name_2->currentText() == vec_transducer[var].transducer_name) {
|
if (ui->comboBox_transducer_name_2->currentText() == vec_transducer[var].transducer_name) {
|
||||||
ui->lineEdit_scale_factor_2->setText(QString::number(vec_transducer[var].scale_factor));
|
ui->doubleSpinBox_scale_factor_2->setValue(vec_transducer[var].scale_factor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -416,7 +416,7 @@ void Seismic_monitor::on_comboBox_transducer_name_2_currentTextChanged(const QSt
|
|||||||
void Seismic_monitor::on_comboBox_transducer_name_3_currentTextChanged(const QString &arg1) {
|
void Seismic_monitor::on_comboBox_transducer_name_3_currentTextChanged(const QString &arg1) {
|
||||||
for (int var = 0; var < vec_transducer.size(); ++var) {
|
for (int var = 0; var < vec_transducer.size(); ++var) {
|
||||||
if (ui->comboBox_transducer_name_3->currentText() == vec_transducer[var].transducer_name) {
|
if (ui->comboBox_transducer_name_3->currentText() == vec_transducer[var].transducer_name) {
|
||||||
ui->lineEdit_scale_factor_3->setText(QString::number(vec_transducer[var].scale_factor));
|
ui->doubleSpinBox_scale_factor_3->setValue(vec_transducer[var].scale_factor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -424,7 +424,7 @@ void Seismic_monitor::on_comboBox_transducer_name_3_currentTextChanged(const QSt
|
|||||||
void Seismic_monitor::on_comboBox_transducer_name_4_currentTextChanged(const QString &arg1) {
|
void Seismic_monitor::on_comboBox_transducer_name_4_currentTextChanged(const QString &arg1) {
|
||||||
for (int var = 0; var < vec_transducer.size(); ++var) {
|
for (int var = 0; var < vec_transducer.size(); ++var) {
|
||||||
if (ui->comboBox_transducer_name_4->currentText() == vec_transducer[var].transducer_name) {
|
if (ui->comboBox_transducer_name_4->currentText() == vec_transducer[var].transducer_name) {
|
||||||
ui->lineEdit_scale_factor_4->setText(QString::number(vec_transducer[var].scale_factor));
|
ui->doubleSpinBox_scale_factor_4->setValue(vec_transducer[var].scale_factor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -332,12 +332,146 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>通道1</string>
|
<string>通道1</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<widget class="QGroupBox" name="groupBox_18">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>121</y>
|
||||||
|
<width>288</width>
|
||||||
|
<height>80</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>220</width>
|
||||||
|
<height>80</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="title">
|
||||||
|
<string>电压范围</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>80</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>上限:</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_1">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="decimals">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<double>-100.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>25.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_38">
|
||||||
|
<property name="text">
|
||||||
|
<string>V</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>80</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>下限:</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_1">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="decimals">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<double>-100.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>-25.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_37">
|
||||||
|
<property name="text">
|
||||||
|
<string>V</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>271</width>
|
||||||
|
<height>111</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
@ -484,21 +618,12 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="lineEdit_scale_factor_1">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_scale_factor_1">
|
||||||
<property name="minimumSize">
|
<property name="maximum">
|
||||||
<size>
|
<double>10000.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="value">
|
||||||
<size>
|
<double>8.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>7.87</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -583,8 +708,22 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
</layout>
|
||||||
<widget class="QGroupBox" name="groupBox_18">
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tab_2">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>通道2</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QGroupBox" name="groupBox_17">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>121</y>
|
||||||
|
<width>288</width>
|
||||||
|
<height>80</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>220</width>
|
<width>220</width>
|
||||||
@ -594,17 +733,23 @@
|
|||||||
<property name="title">
|
<property name="title">
|
||||||
<string>电压范围</string>
|
<string>电压范围</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_8">
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
<layout class="QHBoxLayout" name="horizontalLayout_17">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_26">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>80</width>
|
<width>80</width>
|
||||||
<height>0</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>80</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>上限:</string>
|
<string>上限:</string>
|
||||||
</property>
|
</property>
|
||||||
@ -614,7 +759,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_1">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_2">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>120</width>
|
<width>120</width>
|
||||||
@ -639,7 +784,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_38">
|
<widget class="QLabel" name="label_41">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>V</string>
|
<string>V</string>
|
||||||
</property>
|
</property>
|
||||||
@ -648,15 +793,21 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_28">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>80</width>
|
<width>80</width>
|
||||||
<height>0</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>80</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>下限:</string>
|
<string>下限:</string>
|
||||||
</property>
|
</property>
|
||||||
@ -666,7 +817,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_1">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_2">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>120</width>
|
<width>120</width>
|
||||||
@ -691,7 +842,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_37">
|
<widget class="QLabel" name="label_42">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>V</string>
|
<string>V</string>
|
||||||
</property>
|
</property>
|
||||||
@ -701,26 +852,15 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
<widget class="QWidget" name="">
|
||||||
<item>
|
<property name="geometry">
|
||||||
<spacer name="verticalSpacer_3">
|
<rect>
|
||||||
<property name="orientation">
|
<x>0</x>
|
||||||
<enum>Qt::Vertical</enum>
|
<y>0</y>
|
||||||
|
<width>266</width>
|
||||||
|
<height>108</height>
|
||||||
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>13</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QWidget" name="tab_2">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>通道2</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_18">
|
<layout class="QHBoxLayout" name="horizontalLayout_18">
|
||||||
@ -864,21 +1004,12 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="lineEdit_scale_factor_2">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_scale_factor_2">
|
||||||
<property name="minimumSize">
|
<property name="maximum">
|
||||||
<size>
|
<double>10000.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="value">
|
||||||
<size>
|
<double>8.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>8</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -963,151 +1094,8 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QGroupBox" name="groupBox_17">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>220</width>
|
|
||||||
<height>80</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
|
||||||
<string>电压范围</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_17">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_26">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>80</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>80</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>上限:</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_2">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="decimals">
|
|
||||||
<number>1</number>
|
|
||||||
</property>
|
|
||||||
<property name="minimum">
|
|
||||||
<double>-100.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
|
||||||
<double>25.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_41">
|
|
||||||
<property name="text">
|
|
||||||
<string>V</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_28">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>80</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>80</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>下限:</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_2">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="decimals">
|
|
||||||
<number>1</number>
|
|
||||||
</property>
|
|
||||||
<property name="minimum">
|
|
||||||
<double>-100.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
|
||||||
<double>-25.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_42">
|
|
||||||
<property name="text">
|
|
||||||
<string>V</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<spacer name="verticalSpacer_4">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>13</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="checkBox_standby_1">
|
<widget class="QCheckBox" name="checkBox_standby_1">
|
||||||
@ -1295,12 +1283,146 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab_3">
|
<widget class="QWidget" name="tab_3">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>通道3</string>
|
<string>通道3</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<widget class="QGroupBox" name="groupBox_14">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>121</y>
|
||||||
|
<width>288</width>
|
||||||
|
<height>80</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>220</width>
|
||||||
|
<height>80</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="title">
|
||||||
|
<string>电压范围</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_12">
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_17">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>80</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>上限:</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_3">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="decimals">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<double>-100.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>25.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_39">
|
||||||
|
<property name="text">
|
||||||
|
<string>V</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_18">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>80</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>下限:</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_3">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="decimals">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<double>-100.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<double>-25.000000000000000</double>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_40">
|
||||||
|
<property name="text">
|
||||||
|
<string>V</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>266</width>
|
||||||
|
<height>108</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_9">
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
||||||
@ -1444,21 +1566,12 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="lineEdit_scale_factor_3">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_scale_factor_3">
|
||||||
<property name="minimumSize">
|
<property name="maximum">
|
||||||
<size>
|
<double>10000.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="value">
|
||||||
<size>
|
<double>8.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>8</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -1543,8 +1656,22 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
</layout>
|
||||||
<widget class="QGroupBox" name="groupBox_14">
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tab_4">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>通道4</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QGroupBox" name="groupBox_16">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>9</x>
|
||||||
|
<y>121</y>
|
||||||
|
<width>288</width>
|
||||||
|
<height>80</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>220</width>
|
<width>220</width>
|
||||||
@ -1554,11 +1681,11 @@
|
|||||||
<property name="title">
|
<property name="title">
|
||||||
<string>电压范围</string>
|
<string>电压范围</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_12">
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
<layout class="QHBoxLayout" name="horizontalLayout_22">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_17">
|
<widget class="QLabel" name="label_32">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>80</width>
|
<width>80</width>
|
||||||
@ -1574,7 +1701,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_3">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_4">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>120</width>
|
<width>120</width>
|
||||||
@ -1599,7 +1726,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_39">
|
<widget class="QLabel" name="label_44">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>V</string>
|
<string>V</string>
|
||||||
</property>
|
</property>
|
||||||
@ -1608,9 +1735,9 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_18">
|
<widget class="QLabel" name="label_31">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>80</width>
|
<width>80</width>
|
||||||
@ -1626,7 +1753,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_3">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_4">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>120</width>
|
<width>120</width>
|
||||||
@ -1651,7 +1778,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_40">
|
<widget class="QLabel" name="label_43">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>V</string>
|
<string>V</string>
|
||||||
</property>
|
</property>
|
||||||
@ -1661,26 +1788,15 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
<widget class="QWidget" name="">
|
||||||
<item>
|
<property name="geometry">
|
||||||
<spacer name="verticalSpacer">
|
<rect>
|
||||||
<property name="orientation">
|
<x>0</x>
|
||||||
<enum>Qt::Vertical</enum>
|
<y>0</y>
|
||||||
|
<width>266</width>
|
||||||
|
<height>108</height>
|
||||||
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>13</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QWidget" name="tab_4">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>通道4</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_11">
|
<layout class="QVBoxLayout" name="verticalLayout_11">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_28">
|
<layout class="QHBoxLayout" name="horizontalLayout_28">
|
||||||
@ -1824,21 +1940,12 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="lineEdit_scale_factor_4">
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_scale_factor_4">
|
||||||
<property name="minimumSize">
|
<property name="maximum">
|
||||||
<size>
|
<double>10000.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="value">
|
||||||
<size>
|
<double>8.000000000000000</double>
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>8</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -1923,139 +2030,8 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QGroupBox" name="groupBox_16">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>220</width>
|
|
||||||
<height>80</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
|
||||||
<string>电压范围</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_22">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_32">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>80</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>上限:</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_high_4">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="decimals">
|
|
||||||
<number>1</number>
|
|
||||||
</property>
|
|
||||||
<property name="minimum">
|
|
||||||
<double>-100.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
|
||||||
<double>25.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_44">
|
|
||||||
<property name="text">
|
|
||||||
<string>V</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_31">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>80</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>下限:</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QDoubleSpinBox" name="doubleSpinBox_low_4">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>120</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="decimals">
|
|
||||||
<number>1</number>
|
|
||||||
</property>
|
|
||||||
<property name="minimum">
|
|
||||||
<double>-100.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
<property name="value">
|
|
||||||
<double>-25.000000000000000</double>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_43">
|
|
||||||
<property name="text">
|
|
||||||
<string>V</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<spacer name="verticalSpacer_2">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>13</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="checkBox_standby_2">
|
<widget class="QCheckBox" name="checkBox_standby_2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user