kopia lustrzana https://gitlab.com/eliggett/wfview
Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha
commit
5ec57cbc1b
12
wfmain.cpp
12
wfmain.cpp
|
@ -1565,6 +1565,16 @@ void wfmain::handlePlotScroll(QWheelEvent *we)
|
|||
ui->freqDial->setValue( ui->freqDial->value() + (steps)*ui->freqDial->singleStep() );
|
||||
}
|
||||
|
||||
void wfmain::on_scopeEnableWFBtn_clicked(bool checked)
|
||||
{
|
||||
if(checked)
|
||||
{
|
||||
emit spectOutputEnable();
|
||||
} else {
|
||||
emit spectOutputDisable();
|
||||
}
|
||||
}
|
||||
|
||||
void wfmain::on_startBtn_clicked()
|
||||
{
|
||||
emit spectOutputEnable();
|
||||
|
@ -2370,3 +2380,5 @@ void wfmain::on_debugBtn_clicked()
|
|||
//rig->findRigs();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
2
wfmain.h
2
wfmain.h
|
@ -275,6 +275,8 @@ private slots:
|
|||
|
||||
void on_audioSampleRateCombo_currentIndexChanged(QString text);
|
||||
|
||||
void on_scopeEnableWFBtn_clicked(bool checked);
|
||||
|
||||
private:
|
||||
Ui::wfmain *ui;
|
||||
QSettings settings;
|
||||
|
|
27
wfmain.ui
27
wfmain.ui
|
@ -6,7 +6,7 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>703</width>
|
||||
<width>810</width>
|
||||
<height>582</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>3</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="mainTab">
|
||||
<attribute name="title">
|
||||
|
@ -93,16 +93,12 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="startBtn">
|
||||
<widget class="QCheckBox" name="scopeEnableWFBtn">
|
||||
<property name="text">
|
||||
<string>Start WF</string>
|
||||
<string>Enable WF</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="stopBtn">
|
||||
<property name="text">
|
||||
<string>Stop WF</string>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1159,13 +1155,6 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="aboutQtBtn">
|
||||
<property name="text">
|
||||
<string>About Qt</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="saveSettingsBtn">
|
||||
<property name="text">
|
||||
|
@ -1513,8 +1502,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>703</width>
|
||||
<height>21</height>
|
||||
<width>810</width>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
|
|
Ładowanie…
Reference in New Issue