mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-18 17:45:23 -04:00
Better behavior and tool tips for Txn buttons and radio buttons
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7952 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
074f6866bd
commit
54ec5b8413
@ -3450,14 +3450,23 @@ void MainWindow::set_ntx(int n) //set_ntx()
|
|||||||
void MainWindow::on_txrb1_toggled (bool status)
|
void MainWindow::on_txrb1_toggled (bool status)
|
||||||
{
|
{
|
||||||
if (status) {
|
if (status) {
|
||||||
|
if (ui->tx1->isEnabled ()) {
|
||||||
m_ntx = 1;
|
m_ntx = 1;
|
||||||
set_dateTimeQSO (-1); // we reset here as tx2/tx3 is used for start times
|
set_dateTimeQSO (-1); // we reset here as tx2/tx3 is used for start times
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QTimer::singleShot (0, ui->txrb2, SLOT (click ()));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_txrb1_doubleClicked ()
|
void MainWindow::on_txrb1_doubleClicked ()
|
||||||
{
|
{
|
||||||
ui->tx1->setEnabled (!ui->tx1->isEnabled ());
|
ui->tx1->setEnabled (!ui->tx1->isEnabled ());
|
||||||
|
if (!ui->tx1->isEnabled ()) {
|
||||||
|
// leave time for clicks to complete before setting txrb2
|
||||||
|
QTimer::singleShot (500, ui->txrb2, SLOT (click ()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_txrb2_toggled (bool status)
|
void MainWindow::on_txrb2_toggled (bool status)
|
||||||
|
@ -1099,7 +1099,7 @@ QLabel[oob="true"] {
|
|||||||
<item row="1" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter">
|
<item row="1" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter">
|
||||||
<widget class="DoubleClickableRadioButton" name="txrb1">
|
<widget class="DoubleClickableRadioButton" name="txrb1">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Send this message in next Tx interval</string>
|
<string><html><head/><body><p>Send this message in next Tx interval</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
@ -1121,7 +1121,7 @@ QLabel[oob="true"] {
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Switch to this Tx message NOW</string>
|
<string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="layoutDirection">
|
<property name="layoutDirection">
|
||||||
<enum>Qt::LeftToRight</enum>
|
<enum>Qt::LeftToRight</enum>
|
||||||
@ -1237,7 +1237,7 @@ QLabel[oob="true"] {
|
|||||||
<item row="4" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter">
|
<item row="4" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter">
|
||||||
<widget class="DoubleClickableRadioButton" name="txrb4">
|
<widget class="DoubleClickableRadioButton" name="txrb4">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Send this message in next Tx interval</string>
|
<string><html><head/><body><p>Send this message in next Tx interval</p><p>Double-click to toggle between RRR and RR73 messages in Tx4</p><p>RR73 messages should only be used when you are reasonably confident that no message repititions will be required</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
@ -1259,7 +1259,7 @@ QLabel[oob="true"] {
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Switch to this Tx message NOW</string>
|
<string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double-click to toggle between RRR and RR73 messages in Tx4</p><p>RR73 messages should only be used when you are reasonably confident that no message repititions will be required</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Tx &4</string>
|
<string>Tx &4</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user