mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -04:00
Revert "Implement an option for temporary manual rig control. Useful for CW EME ??"
This reverts commit b5a045c63b61ce9f747ea261d3442b3aa7d453a6.
This commit is contained in:
parent
0c0ecd893b
commit
8db7c2c128
@ -1075,8 +1075,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
ui->labDXped->setVisible(SpecOp::NONE != m_specOp);
|
ui->labDXped->setVisible(SpecOp::NONE != m_specOp);
|
||||||
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");
|
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");
|
||||||
ui->pbBestSP->setVisible(m_mode=="FT4");
|
ui->pbBestSP->setVisible(m_mode=="FT4");
|
||||||
ui->readFreq->setEnabled(true); //To enable manual rig-control option
|
|
||||||
|
|
||||||
|
|
||||||
// this must be the last statement of constructor
|
// this must be the last statement of constructor
|
||||||
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
|
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
|
||||||
@ -7800,15 +7798,6 @@ void MainWindow::on_readFreq_clicked()
|
|||||||
{
|
{
|
||||||
if (m_transmitting) return;
|
if (m_transmitting) return;
|
||||||
|
|
||||||
// CTRL+click on the rig-mode button to allow temporary manual rig control.
|
|
||||||
bool b=QApplication::keyboardModifiers().testFlag(Qt::ControlModifier);
|
|
||||||
if(b and m_config.is_transceiver_online()) {
|
|
||||||
m_config.transceiver_offline();
|
|
||||||
update_dynamic_property (ui->readFreq, "state", "manual");
|
|
||||||
ui->readFreq->setText("M");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (m_config.transceiver_online ())
|
if (m_config.transceiver_online ())
|
||||||
{
|
{
|
||||||
m_config.sync_transceiver (true, true);
|
m_config.sync_transceiver (true, true);
|
||||||
@ -7948,7 +7937,7 @@ void MainWindow::handle_transceiver_update (Transceiver::TransceiverState const&
|
|||||||
|
|
||||||
displayDialFrequency ();
|
displayDialFrequency ();
|
||||||
update_dynamic_property (ui->readFreq, "state", "ok");
|
update_dynamic_property (ui->readFreq, "state", "ok");
|
||||||
// ui->readFreq->setEnabled (false); //Leave it enabled to allow Manual rig control option
|
ui->readFreq->setEnabled (false);
|
||||||
ui->readFreq->setText (s.split () ? "S" : "");
|
ui->readFreq->setText (s.split () ? "S" : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>10</pointsize>
|
<pointsize>10</pointsize>
|
||||||
<weight>50</weight>
|
|
||||||
<bold>false</bold>
|
<bold>false</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -186,7 +185,6 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<pointsize>10</pointsize>
|
<pointsize>10</pointsize>
|
||||||
<weight>50</weight>
|
|
||||||
<bold>false</bold>
|
<bold>false</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
@ -3102,10 +3100,10 @@ QLabel[oob="true"] {
|
|||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode. CTRL-click for temporary manual rig control, signified by yellow.</p></body></html></string>
|
<string><html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="accessibleDescription">
|
<property name="accessibleDescription">
|
||||||
<string><html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode. CTRL-click for temporary manual rig control, signified by yellow.</p></body></html></string>
|
<string>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QPushButton {
|
<string notr="true">QPushButton {
|
||||||
@ -3129,9 +3127,6 @@ QPushButton[state="error"] {
|
|||||||
QPushButton[state="warning"] {
|
QPushButton[state="warning"] {
|
||||||
background-color: orange;
|
background-color: orange;
|
||||||
}
|
}
|
||||||
QPushButton[state="manual"] {
|
|
||||||
background-color: yellow;
|
|
||||||
}
|
|
||||||
QPushButton[state="ok"] {
|
QPushButton[state="ok"] {
|
||||||
background-color: #00ff00;
|
background-color: #00ff00;
|
||||||
}</string>
|
}</string>
|
||||||
@ -3156,7 +3151,7 @@ QPushButton[state="ok"] {
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>880</width>
|
<width>880</width>
|
||||||
<height>21</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user