mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-30 16:18:54 -05:00
Connected the commanded dial frequency to the label, and increased the
font size. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3094 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
7515725c63
commit
0071aa56ef
@ -37,11 +37,12 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
on_EraseButton_clicked();
|
on_EraseButton_clicked();
|
||||||
ui->labUTC->setStyleSheet( \
|
ui->labUTC->setStyleSheet( \
|
||||||
"QLabel { background-color : black; color : yellow; }");
|
"QLabel { background-color : black; color : yellow; }");
|
||||||
//ui->labTol1->setStyleSheet( \
|
/*
|
||||||
// "QLabel { background-color : white; color : black; }");
|
ui->labTol1->setStyleSheet( \
|
||||||
//ui->labTol1->setFrameStyle(QFrame::Panel | QFrame::Sunken);
|
"QLabel { background-color : white; color : black; }");
|
||||||
//ui->dxStationGroupBox->setStyleSheet("QFrame{border: 5px groove red}");
|
ui->labTol1->setFrameStyle(QFrame::Panel | QFrame::Sunken);
|
||||||
|
ui->dxStationGroupBox->setStyleSheet("QFrame{border: 5px groove red}");
|
||||||
|
*/
|
||||||
QActionGroup* paletteGroup = new QActionGroup(this);
|
QActionGroup* paletteGroup = new QActionGroup(this);
|
||||||
ui->actionCuteSDR->setActionGroup(paletteGroup);
|
ui->actionCuteSDR->setActionGroup(paletteGroup);
|
||||||
ui->actionLinrad->setActionGroup(paletteGroup);
|
ui->actionLinrad->setActionGroup(paletteGroup);
|
||||||
@ -325,6 +326,7 @@ void MainWindow::writeSettings()
|
|||||||
settings.setValue("MonitorOFF",m_monitorStartOFF);
|
settings.setValue("MonitorOFF",m_monitorStartOFF);
|
||||||
settings.setValue("NB",m_NB);
|
settings.setValue("NB",m_NB);
|
||||||
settings.setValue("NBslider",m_NBslider);
|
settings.setValue("NBslider",m_NBslider);
|
||||||
|
settings.setValue("DialFreq",m_dialFreq);
|
||||||
settings.setValue("TxFreq",m_txFreq);
|
settings.setValue("TxFreq",m_txFreq);
|
||||||
settings.setValue("Tol",m_tol);
|
settings.setValue("Tol",m_tol);
|
||||||
settings.setValue("InGain",m_inGain);
|
settings.setValue("InGain",m_inGain);
|
||||||
@ -398,6 +400,8 @@ void MainWindow::readSettings()
|
|||||||
ui->NBcheckBox->setChecked(m_NB);
|
ui->NBcheckBox->setChecked(m_NB);
|
||||||
m_NBslider=settings.value("NBslider",40).toInt();
|
m_NBslider=settings.value("NBslider",40).toInt();
|
||||||
ui->NBslider->setValue(m_NBslider);
|
ui->NBslider->setValue(m_NBslider);
|
||||||
|
m_dialFreq=settings.value("DialFreq",14.078).toDouble();
|
||||||
|
dialFreqChanged2(m_dialFreq);
|
||||||
m_txFreq=settings.value("TxFreq",1500).toInt();
|
m_txFreq=settings.value("TxFreq",1500).toInt();
|
||||||
ui->TxFreqSpinBox->setValue(m_txFreq);
|
ui->TxFreqSpinBox->setValue(m_txFreq);
|
||||||
soundOutThread.setTxFreq(m_txFreq);
|
soundOutThread.setTxFreq(m_txFreq);
|
||||||
@ -719,6 +723,11 @@ void MainWindow::bumpFqso(int n) //bumpFqso()
|
|||||||
void MainWindow::dialFreqChanged2(double f)
|
void MainWindow::dialFreqChanged2(double f)
|
||||||
{
|
{
|
||||||
m_dialFreq=f;
|
m_dialFreq=f;
|
||||||
|
QString t;
|
||||||
|
t.sprintf("%.6f",m_dialFreq);
|
||||||
|
int n=t.length();
|
||||||
|
t=t.mid(0,n-3) + " " + t.mid(n-3,3) + " MHz";
|
||||||
|
ui->labDialFreq->setText(t);
|
||||||
statusChanged();
|
statusChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -304,6 +304,11 @@ p, li { white-space: pre-wrap; }
|
|||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<item row="0" column="4" colspan="2">
|
<item row="0" column="4" colspan="2">
|
||||||
<widget class="QLabel" name="labDialFreq">
|
<widget class="QLabel" name="labDialFreq">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Dial Frequency</string>
|
<string>Dial Frequency</string>
|
||||||
</property>
|
</property>
|
||||||
@ -394,7 +399,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<attribute name="buttonGroup">
|
||||||
<string notr="true">buttonGroup</string>
|
<string>buttonGroup</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -425,7 +430,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<attribute name="buttonGroup">
|
||||||
<string notr="true">buttonGroup</string>
|
<string>buttonGroup</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -725,7 +730,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<attribute name="buttonGroup">
|
||||||
<string notr="true">buttonGroup</string>
|
<string>buttonGroup</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -766,7 +771,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<attribute name="buttonGroup">
|
||||||
<string notr="true">buttonGroup</string>
|
<string>buttonGroup</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -829,7 +834,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<attribute name="buttonGroup">
|
||||||
<string notr="true">buttonGroup</string>
|
<string>buttonGroup</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -857,7 +862,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<attribute name="buttonGroup">
|
<attribute name="buttonGroup">
|
||||||
<string notr="true">buttonGroup</string>
|
<string>buttonGroup</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -1008,7 +1013,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1" rowspan="6">
|
<item row="1" column="1" rowspan="6">
|
||||||
<widget class="QwtThermo" name="xThermo">
|
<widget class="QwtThermo" name="xThermo" native="true">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
@ -1021,19 +1026,19 @@ p, li { white-space: pre-wrap; }
|
|||||||
<height>180</height>
|
<height>180</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="borderWidth">
|
<property name="borderWidth" stdset="0">
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maxValue">
|
<property name="maxValue" stdset="0">
|
||||||
<double>60.000000000000000</double>
|
<double>60.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="minValue">
|
<property name="minValue" stdset="0">
|
||||||
<double>0.000000000000000</double>
|
<double>0.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
<property name="pipeWidth">
|
<property name="pipeWidth" stdset="0">
|
||||||
<number>8</number>
|
<number>8</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="value">
|
<property name="value" stdset="0">
|
||||||
<double>0.000000000000000</double>
|
<double>0.000000000000000</double>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
@ -1616,7 +1621,6 @@ p, li { white-space: pre-wrap; }
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
<zorder>labAz</zorder>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenuBar" name="menuBar">
|
<widget class="QMenuBar" name="menuBar">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
@ -1624,7 +1628,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>686</width>
|
<width>686</width>
|
||||||
<height>25</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
|
Loading…
Reference in New Issue
Block a user