mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-27 03:02:28 -04:00
Make the "Best S+P" button red when activated.
This commit is contained in:
parent
20bed38323
commit
2b42650a73
@ -1997,11 +1997,6 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
on_stopTxButton_clicked();
|
on_stopTxButton_clicked();
|
||||||
abortQSO();
|
abortQSO();
|
||||||
return;
|
return;
|
||||||
case Qt::Key_X:
|
|
||||||
if(e->modifiers() & Qt::AltModifier) {
|
|
||||||
// foxTest();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
case Qt::Key_E:
|
case Qt::Key_E:
|
||||||
if((e->modifiers() & Qt::ShiftModifier) and SpecOp::FOX > m_config.special_op_id()) {
|
if((e->modifiers() & Qt::ShiftModifier) and SpecOp::FOX > m_config.special_op_id()) {
|
||||||
ui->txFirstCheckBox->setChecked(false);
|
ui->txFirstCheckBox->setChecked(false);
|
||||||
@ -8702,8 +8697,8 @@ void MainWindow::chkFT4()
|
|||||||
|
|
||||||
void MainWindow::on_pbBestSP_clicked()
|
void MainWindow::on_pbBestSP_clicked()
|
||||||
{
|
{
|
||||||
if(!m_transmitting) {
|
m_bBestSPArmed = !m_bBestSPArmed;
|
||||||
ui->pbBestSP->setStyleSheet ("QPushButton{color:red}");
|
ui->pbBestSP->setChecked(m_bBestSPArmed);
|
||||||
m_bBestSPArmed=true;
|
// if(m_bBestSPArmed and !m_transmitting) ui->pbBestSP->setStyleSheet ("QPushButton{color:red}");
|
||||||
}
|
// if(!m_bBestSPArmed) ui->pbBestSP->setStyleSheet ("");
|
||||||
}
|
}
|
||||||
|
@ -1340,9 +1340,23 @@ QPushButton[state="ok"] {
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pbBestSP">
|
<widget class="QPushButton" name="pbBestSP">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">QPushButton:checked {
|
||||||
|
background-color: red;
|
||||||
|
border-style: outset;
|
||||||
|
border-width: 1px;
|
||||||
|
border-radius: 5px;
|
||||||
|
border-color: black;
|
||||||
|
min-width: 5em;
|
||||||
|
padding: 3px;
|
||||||
|
}</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Best S+P</string>
|
<string>Best S+P</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user