mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 08:31:57 -05: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();
|
||||
abortQSO();
|
||||
return;
|
||||
case Qt::Key_X:
|
||||
if(e->modifiers() & Qt::AltModifier) {
|
||||
// foxTest();
|
||||
return;
|
||||
}
|
||||
case Qt::Key_E:
|
||||
if((e->modifiers() & Qt::ShiftModifier) and SpecOp::FOX > m_config.special_op_id()) {
|
||||
ui->txFirstCheckBox->setChecked(false);
|
||||
@ -8702,8 +8697,8 @@ void MainWindow::chkFT4()
|
||||
|
||||
void MainWindow::on_pbBestSP_clicked()
|
||||
{
|
||||
if(!m_transmitting) {
|
||||
ui->pbBestSP->setStyleSheet ("QPushButton{color:red}");
|
||||
m_bBestSPArmed=true;
|
||||
}
|
||||
m_bBestSPArmed = !m_bBestSPArmed;
|
||||
ui->pbBestSP->setChecked(m_bBestSPArmed);
|
||||
// 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>
|
||||
<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">
|
||||
<string>Best S+P</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
Loading…
Reference in New Issue
Block a user