mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-03 13:47:51 -04:00
Option to skip using grid reply message
Enable and disable by double-clicking the Tx1 button or the adjacent radio button. Tx1 message shows grayed out when the Tx1 message is elided. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7949 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4a94fb59e9
commit
3cefca20b6
@ -3454,6 +3454,11 @@ void MainWindow::on_txrb1_toggled(bool status)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_txrb1_doubleClicked()
|
||||||
|
{
|
||||||
|
ui->tx1->setEnabled (!ui->tx1->isEnabled ());
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::on_txrb2_toggled(bool status)
|
void MainWindow::on_txrb2_toggled(bool status)
|
||||||
{
|
{
|
||||||
// Tx 2 means we already have CQ'd so good reference
|
// Tx 2 means we already have CQ'd so good reference
|
||||||
@ -3501,10 +3506,20 @@ void MainWindow::on_txrb6_toggled(bool status)
|
|||||||
|
|
||||||
void MainWindow::on_txb1_clicked()
|
void MainWindow::on_txb1_clicked()
|
||||||
{
|
{
|
||||||
|
if (ui->tx1->isEnabled ()) {
|
||||||
m_ntx=1;
|
m_ntx=1;
|
||||||
m_QSOProgress = REPLYING;
|
m_QSOProgress = REPLYING;
|
||||||
ui->txrb1->setChecked(true);
|
ui->txrb1->setChecked(true);
|
||||||
if (m_transmitting) m_restart=true;
|
if (m_transmitting) m_restart=true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
on_txb2_clicked ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_txb1_doubleClicked()
|
||||||
|
{
|
||||||
|
ui->tx1->setEnabled (!ui->tx1->isEnabled ());
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_txb2_clicked()
|
void MainWindow::on_txb2_clicked()
|
||||||
@ -3825,9 +3840,16 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// treat like a CQ/QRZ
|
// treat like a CQ/QRZ
|
||||||
m_ntx=1;
|
if (ui->tx1->isEnabled ()) {
|
||||||
m_QSOProgress = REPLYING;
|
m_ntx = 1;
|
||||||
ui->txrb1->setChecked(true);
|
m_QSOProgress = REPLYING;
|
||||||
|
ui->txrb1->setChecked (true);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
m_ntx = 2;
|
||||||
|
m_QSOProgress = REPORT;
|
||||||
|
ui->txrb2->setChecked (true);
|
||||||
|
}
|
||||||
if(ui->tabWidget->currentIndex()==1) {
|
if(ui->tabWidget->currentIndex()==1) {
|
||||||
gen_msg = 1;
|
gen_msg = 1;
|
||||||
m_ntx=7;
|
m_ntx=7;
|
||||||
@ -3849,11 +3871,18 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
|
|||||||
}
|
}
|
||||||
else // just work them
|
else // just work them
|
||||||
{
|
{
|
||||||
m_ntx=1;
|
if (ui->tx1->isEnabled ()) {
|
||||||
m_QSOProgress = REPLYING;
|
m_ntx = 1;
|
||||||
ui->txrb1->setChecked(true);
|
m_QSOProgress = REPLYING;
|
||||||
if(ui->tabWidget->currentIndex()==1) {
|
ui->txrb1->setChecked (true);
|
||||||
gen_msg = 1;
|
}
|
||||||
|
else {
|
||||||
|
m_ntx = 2;
|
||||||
|
m_QSOProgress = REPORT;
|
||||||
|
ui->txrb2->setChecked (true);
|
||||||
|
}
|
||||||
|
if (1 == ui->tabWidget->currentIndex ()) {
|
||||||
|
gen_msg = m_ntx;
|
||||||
m_ntx=7;
|
m_ntx=7;
|
||||||
m_gen_message_is_cq = false;
|
m_gen_message_is_cq = false;
|
||||||
}
|
}
|
||||||
|
@ -156,6 +156,7 @@ private slots:
|
|||||||
void set_dateTimeQSO(int m_ntx);
|
void set_dateTimeQSO(int m_ntx);
|
||||||
void set_ntx(int n);
|
void set_ntx(int n);
|
||||||
void on_txrb1_toggled(bool status);
|
void on_txrb1_toggled(bool status);
|
||||||
|
void on_txrb1_doubleClicked ();
|
||||||
void on_txrb2_toggled(bool status);
|
void on_txrb2_toggled(bool status);
|
||||||
void on_txrb3_toggled(bool status);
|
void on_txrb3_toggled(bool status);
|
||||||
void on_txrb4_toggled(bool status);
|
void on_txrb4_toggled(bool status);
|
||||||
@ -163,6 +164,7 @@ private slots:
|
|||||||
void on_txrb5_doubleClicked ();
|
void on_txrb5_doubleClicked ();
|
||||||
void on_txrb6_toggled(bool status);
|
void on_txrb6_toggled(bool status);
|
||||||
void on_txb1_clicked();
|
void on_txb1_clicked();
|
||||||
|
void on_txb1_doubleClicked ();
|
||||||
void on_txb2_clicked();
|
void on_txb2_clicked();
|
||||||
void on_txb3_clicked();
|
void on_txb3_clicked();
|
||||||
void on_txb4_clicked();
|
void on_txb4_clicked();
|
||||||
|
@ -1097,7 +1097,7 @@ QLabel[oob="true"] {
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter">
|
<item row="1" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter">
|
||||||
<widget class="QRadioButton" name="txrb1">
|
<widget class="DoubleClickableRadioButton" name="txrb1">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Send this message in next Tx interval</string>
|
<string>Send this message in next Tx interval</string>
|
||||||
</property>
|
</property>
|
||||||
@ -1113,7 +1113,7 @@ QLabel[oob="true"] {
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="2">
|
<item row="1" column="2">
|
||||||
<widget class="QPushButton" name="txb1">
|
<widget class="DoubleClickablePushButton" name="txb1">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>30</width>
|
<width>30</width>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user