Added QTC, QTH, and Saved messages to the 'immediately transmit' setting
This commit is contained in:
parent
55810e63a6
commit
7e903349ae
@ -269,6 +269,19 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="monitor_off_check_box">
|
||||
<property name="toolTip">
|
||||
<string>Don't start decoding until the monitor button is clicked.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Mon&itor (RX) off at startup</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="autoreply_off_check_box">
|
||||
<property name="text">
|
||||
@ -283,19 +296,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="monitor_off_check_box">
|
||||
<property name="toolTip">
|
||||
<string>Don't start decoding until the monitor button is clicked.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Mon&itor (RX) off at startup</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="monitor_last_used_check_box">
|
||||
<property name="visible">
|
||||
@ -309,13 +309,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="transmit_directed_check_box">
|
||||
<property name="text">
|
||||
<string>Immediately transmit CQ, Reply, and Directed messages from the menu</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="tx_qsy_check_box">
|
||||
<property name="enabled">
|
||||
@ -349,6 +342,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="transmit_directed_check_box">
|
||||
<property name="text">
|
||||
<string>Immediately transmit CQ, Reply, QTC, QTH, Saved, and Directed messages from the menu</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_155">
|
||||
<item>
|
||||
@ -3482,7 +3482,6 @@ soundcard changes</string>
|
||||
<tabstop>use_dynamic_grid</tabstop>
|
||||
<tabstop>region_combo_box</tabstop>
|
||||
<tabstop>type_2_msg_gen_combo_box</tabstop>
|
||||
<tabstop>monitor_off_check_box</tabstop>
|
||||
<tabstop>monitor_last_used_check_box</tabstop>
|
||||
<tabstop>quick_call_check_box</tabstop>
|
||||
<tabstop>tx_watchdog_spin_box</tabstop>
|
||||
|
@ -6292,6 +6292,7 @@ void MainWindow::on_cqMacroButton_clicked(){
|
||||
}
|
||||
|
||||
clearCallsignSelected();
|
||||
|
||||
addMessageText(message);
|
||||
|
||||
if(m_config.transmit_directed()) toggleTx(true);
|
||||
@ -6313,7 +6314,10 @@ void MainWindow::on_qthMacroButton_clicked(){
|
||||
if(qth.isEmpty()){
|
||||
return;
|
||||
}
|
||||
|
||||
addMessageText(QString("QTH %1").arg(qth));
|
||||
|
||||
if(m_config.transmit_directed()) toggleTx(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_qtcMacroButton_clicked(){
|
||||
@ -6321,7 +6325,10 @@ void MainWindow::on_qtcMacroButton_clicked(){
|
||||
if(qtc.isEmpty()){
|
||||
return;
|
||||
}
|
||||
|
||||
addMessageText(QString("QTC %1").arg(qtc));
|
||||
|
||||
if(m_config.transmit_directed()) toggleTx(true);
|
||||
}
|
||||
|
||||
void MainWindow::setShowColumn(QString tableKey, QString columnKey, bool value){
|
||||
@ -6835,7 +6842,11 @@ void MainWindow::buildEditMenu(QMenu *menu, QTextEdit *edit){
|
||||
void MainWindow::buildSavedMessagesMenu(QMenu *menu){
|
||||
foreach(QString macro, m_config.macros()->stringList()){
|
||||
QAction *action = menu->addAction(macro);
|
||||
connect(action, &QAction::triggered, this, [this, macro](){ addMessageText(macro); });
|
||||
connect(action, &QAction::triggered, this, [this, macro](){
|
||||
addMessageText(macro);
|
||||
|
||||
if(m_config.transmit_directed()) toggleTx(true);
|
||||
});
|
||||
}
|
||||
|
||||
menu->addSeparator();
|
||||
|
Loading…
Reference in New Issue
Block a user