mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 04:50:34 -04:00 
			
		
		
		
	Add an option to call CQ with an individual contest name.
This commit is contained in:
		
							parent
							
								
									ed4b3d1b5a
								
							
						
					
					
						commit
						8abdba46d3
					
				| @ -581,6 +581,7 @@ private: | ||||
|   Q_SLOT void on_cbAutoLog_clicked(bool); | ||||
|   Q_SLOT void on_Field_Day_Exchange_textEdited (QString const&); | ||||
|   Q_SLOT void on_RTTY_Exchange_textEdited (QString const&); | ||||
|   Q_SLOT void on_Contest_Name_textEdited (QString const&); | ||||
| 
 | ||||
|   // typenames used as arguments must match registered type names :(
 | ||||
|   Q_SIGNAL void start_transceiver (unsigned seqeunce_number) const; | ||||
| @ -676,6 +677,7 @@ private: | ||||
|   QString my_grid_; | ||||
|   QString FD_exchange_; | ||||
|   QString RTTY_exchange_; | ||||
|   QString Contest_Name_; | ||||
| 
 | ||||
|   qint32 id_interval_; | ||||
|   qint32 ntrials_; | ||||
| @ -709,6 +711,7 @@ private: | ||||
|   bool decode_at_52s_; | ||||
|   bool single_decode_; | ||||
|   bool twoPass_; | ||||
|   bool Individual_Contest_Name_; | ||||
|   bool bSpecialOp_; | ||||
|   int  SelectedActivity_; | ||||
|   bool x2ToneSpacing_; | ||||
| @ -816,6 +819,7 @@ bool Configuration::enable_VHF_features () const {return m_->enable_VHF_features | ||||
| bool Configuration::decode_at_52s () const {return m_->decode_at_52s_;} | ||||
| bool Configuration::single_decode () const {return m_->single_decode_;} | ||||
| bool Configuration::twoPass() const {return m_->twoPass_;} | ||||
| bool Configuration::Individual_Contest_Name() const {return m_->Individual_Contest_Name_;} | ||||
| bool Configuration::x2ToneSpacing() const {return m_->x2ToneSpacing_;} | ||||
| bool Configuration::x4ToneSpacing() const {return m_->x4ToneSpacing_;} | ||||
| bool Configuration::split_mode () const {return m_->split_mode ();} | ||||
| @ -976,6 +980,11 @@ QString Configuration::RTTY_Exchange() const | ||||
|   return m_->RTTY_exchange_; | ||||
| } | ||||
| 
 | ||||
| QString Configuration::Contest_Name() const | ||||
| { | ||||
|   return m_->Contest_Name_; | ||||
| } | ||||
| 
 | ||||
| auto Configuration::special_op_id () const -> SpecialOperatingActivity | ||||
| { | ||||
|   return m_->bSpecialOp_ ? static_cast<SpecialOperatingActivity> (m_->SelectedActivity_) : SpecialOperatingActivity::NONE; | ||||
| @ -1419,6 +1428,7 @@ void Configuration::impl::initialize_models () | ||||
|   ui_->decode_at_52s_check_box->setChecked(decode_at_52s_); | ||||
|   ui_->single_decode_check_box->setChecked(single_decode_); | ||||
|   ui_->cbTwoPass->setChecked(twoPass_); | ||||
|   ui_->cbContestName->setChecked(Individual_Contest_Name_); | ||||
|   ui_->gbSpecialOpActivity->setChecked(bSpecialOp_); | ||||
|   ui_->special_op_activity_button_group->button (SelectedActivity_)->setChecked (true); | ||||
|   ui_->cbx2ToneSpacing->setChecked(x2ToneSpacing_); | ||||
| @ -1529,6 +1539,7 @@ void Configuration::impl::read_settings () | ||||
|   my_grid_ = settings_->value ("MyGrid", QString {}).toString (); | ||||
|   FD_exchange_ = settings_->value ("Field_Day_Exchange",QString {}).toString (); | ||||
|   RTTY_exchange_ = settings_->value ("RTTY_Exchange",QString {}).toString (); | ||||
|   Contest_Name_ = settings_->value ("Contest_Name",QString {}).toString (); | ||||
|   ui_->Field_Day_Exchange->setText(FD_exchange_); | ||||
|   ui_->RTTY_Exchange->setText(RTTY_exchange_); | ||||
|   if (next_font_.fromString (settings_->value ("Font", QGuiApplication::font ().toString ()).toString ()) | ||||
| @ -1678,6 +1689,7 @@ void Configuration::impl::read_settings () | ||||
|   decode_at_52s_ = settings_->value("Decode52",false).toBool (); | ||||
|   single_decode_ = settings_->value("SingleDecode",false).toBool (); | ||||
|   twoPass_ = settings_->value("TwoPass",true).toBool (); | ||||
|   Individual_Contest_Name_ = settings_->value("Individual_Contest_Name",true).toBool (); | ||||
|   bSpecialOp_ = settings_->value("SpecialOpActivity",false).toBool (); | ||||
|   SelectedActivity_ = settings_->value("SelectedActivity",1).toInt ();  | ||||
|   x2ToneSpacing_ = settings_->value("x2ToneSpacing",false).toBool (); | ||||
| @ -1738,6 +1750,7 @@ void Configuration::impl::write_settings () | ||||
|   settings_->setValue ("MyGrid", my_grid_); | ||||
|   settings_->setValue ("Field_Day_Exchange", FD_exchange_); | ||||
|   settings_->setValue ("RTTY_Exchange", RTTY_exchange_); | ||||
|   settings_->setValue ("Contest_Name", Contest_Name_); | ||||
|   settings_->setValue ("Font", font_.toString ()); | ||||
|   settings_->setValue ("DecodedTextFont", decoded_text_font_.toString ()); | ||||
|   settings_->setValue ("IDint", id_interval_); | ||||
| @ -1812,6 +1825,7 @@ void Configuration::impl::write_settings () | ||||
|   settings_->setValue ("Decode52", decode_at_52s_); | ||||
|   settings_->setValue ("SingleDecode", single_decode_); | ||||
|   settings_->setValue ("TwoPass", twoPass_); | ||||
|   settings_->setValue ("Individual_Contest_Name", Individual_Contest_Name_); | ||||
|   settings_->setValue ("SelectedActivity", SelectedActivity_); | ||||
|   settings_->setValue ("SpecialOpActivity", bSpecialOp_); | ||||
|   settings_->setValue ("x2ToneSpacing", x2ToneSpacing_); | ||||
| @ -2202,6 +2216,7 @@ void Configuration::impl::accept () | ||||
|   my_grid_ = ui_->grid_line_edit->text (); | ||||
|   FD_exchange_= ui_->Field_Day_Exchange->text ().toUpper (); | ||||
|   RTTY_exchange_= ui_->RTTY_Exchange->text ().toUpper (); | ||||
|   Contest_Name_= ui_->Contest_Name->text ().toUpper (); | ||||
|   spot_to_psk_reporter_ = ui_->psk_reporter_check_box->isChecked (); | ||||
|   psk_reporter_tcpip_ = ui_->psk_reporter_tcpip_check_box->isChecked (); | ||||
|   id_interval_ = ui_->CW_id_interval_spin_box->value (); | ||||
| @ -2239,6 +2254,7 @@ void Configuration::impl::accept () | ||||
|   decode_at_52s_ = ui_->decode_at_52s_check_box->isChecked (); | ||||
|   single_decode_ = ui_->single_decode_check_box->isChecked (); | ||||
|   twoPass_ = ui_->cbTwoPass->isChecked (); | ||||
|   Individual_Contest_Name_ = ui_->cbContestName->isChecked (); | ||||
|   bSpecialOp_ = ui_->gbSpecialOpActivity->isChecked (); | ||||
|   SelectedActivity_ = ui_->special_op_activity_button_group->checkedId(); | ||||
|   x2ToneSpacing_ = ui_->cbx2ToneSpacing->isChecked (); | ||||
| @ -2324,6 +2340,8 @@ void Configuration::impl::accept () | ||||
|   use_dynamic_grid_ = ui_->use_dynamic_grid->isChecked(); | ||||
|   highlight_DXcall_ = ui_->cbHighlightDXcall->isChecked(); | ||||
|   highlight_DXgrid_ = ui_->cbHighlightDXgrid->isChecked(); | ||||
|   Individual_Contest_Name_ = ui_->cbContestName->isChecked(); | ||||
| 
 | ||||
|   write_settings ();		// make visible to all
 | ||||
| } | ||||
| 
 | ||||
| @ -2908,6 +2926,11 @@ void Configuration::impl::on_RTTY_Exchange_textEdited (QString const& exchange) | ||||
|   ui_->RTTY_Exchange->setText (exchange.toUpper ()); | ||||
| } | ||||
| 
 | ||||
| void Configuration::impl::on_Contest_Name_textEdited (QString const& exchange) | ||||
| { | ||||
|   ui_->Contest_Name->setText (exchange.toUpper ()); | ||||
| } | ||||
| 
 | ||||
| bool Configuration::impl::have_rig () | ||||
| { | ||||
|   if (!open_rig ()) | ||||
|  | ||||
| @ -100,6 +100,7 @@ public: | ||||
|   QString my_grid () const; | ||||
|   QString Field_Day_Exchange() const; | ||||
|   QString RTTY_Exchange() const; | ||||
|   QString Contest_Name() const; | ||||
|   void setEU_VHF_Contest(); | ||||
|   QFont text_font () const; | ||||
|   QFont decoded_text_font () const; | ||||
| @ -187,6 +188,7 @@ public: | ||||
|   void setSpecial_None(); | ||||
|   bool highlight_DXcall () const; | ||||
|   bool highlight_DXgrid () const; | ||||
|   bool Individual_Contest_Name() const; | ||||
| 
 | ||||
| //                                      0       1      2         3       4       5      6     7        8
 | ||||
|   enum class SpecialOperatingActivity {NONE, NA_VHF, EU_VHF, FIELD_DAY, RTTY, WW_DIGI, FOX, HOUND, ARRL_DIGI}; | ||||
|  | ||||
							
								
								
									
										636
									
								
								Configuration.ui
									
									
									
									
									
								
							
							
						
						
									
										636
									
								
								Configuration.ui
									
									
									
									
									
								
							| @ -2513,289 +2513,6 @@ Right click for insert and delete options.</string> | ||||
|        <string>Advanced</string> | ||||
|       </attribute> | ||||
|       <layout class="QGridLayout" name="gridLayout_9"> | ||||
|        <item row="1" column="0" colspan="2"> | ||||
|         <widget class="QGroupBox" name="gbSpecialOpActivity"> | ||||
|          <property name="title"> | ||||
|           <string>Special operating activity</string> | ||||
|          </property> | ||||
|          <property name="checkable"> | ||||
|           <bool>true</bool> | ||||
|          </property> | ||||
|          <property name="checked"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <layout class="QGridLayout" name="gridLayout_15" columnstretch="1,0,0,0"> | ||||
|           <item row="0" column="0"> | ||||
|            <widget class="QRadioButton" name="rbFox"> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>FT8 DXpedition mode:  Fox (DXpedition) operator.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>Fox</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>Fox</string> | ||||
|             </property> | ||||
|             <property name="checked"> | ||||
|              <bool>false</bool> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="2" column="0"> | ||||
|            <widget class="QRadioButton" name="rbEU_VHF_Contest"> | ||||
|             <property name="sizePolicy"> | ||||
|              <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> | ||||
|               <horstretch>0</horstretch> | ||||
|               <verstretch>0</verstretch> | ||||
|              </sizepolicy> | ||||
|             </property> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>European VHF+ contests requiring a signal report, serial number, and 6-character locator.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>EU VHF Contest</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>EU VHF Contest</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="1" column="0"> | ||||
|            <widget class="QRadioButton" name="rbNA_VHF_Contest"> | ||||
|             <property name="sizePolicy"> | ||||
|              <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> | ||||
|               <horstretch>0</horstretch> | ||||
|               <verstretch>0</verstretch> | ||||
|              </sizepolicy> | ||||
|             </property> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>North American VHF/UHF/Microwave contests and others in which a 4-character grid locator is the required exchange.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>NA VHF Contest</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>NA VHF</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="0" column="1" rowspan="3"> | ||||
|            <spacer name="horizontalSpacer_11"> | ||||
|             <property name="orientation"> | ||||
|              <enum>Qt::Horizontal</enum> | ||||
|             </property> | ||||
|             <property name="sizeHint" stdset="0"> | ||||
|              <size> | ||||
|               <width>40</width> | ||||
|               <height>20</height> | ||||
|              </size> | ||||
|             </property> | ||||
|            </spacer> | ||||
|           </item> | ||||
|           <item row="0" column="3"> | ||||
|            <widget class="QRadioButton" name="rbHound"> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>FT8 DXpedition mode:  Hound operator calling the DX.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>Hound</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>Hound</string> | ||||
|             </property> | ||||
|             <property name="checked"> | ||||
|              <bool>true</bool> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="1" column="3"> | ||||
|            <layout class="QHBoxLayout" name="horizontalLayout_17" stretch="2,1,1"> | ||||
|             <item> | ||||
|              <widget class="QRadioButton" name="rbField_Day"> | ||||
|               <property name="toolTip"> | ||||
|                <string><html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html></string> | ||||
|               </property> | ||||
|               <property name="accessibleName"> | ||||
|                <string>A R R L Field Day</string> | ||||
|               </property> | ||||
|               <property name="text"> | ||||
|                <string>ARRL Field Day</string> | ||||
|               </property> | ||||
|               <attribute name="buttonGroup"> | ||||
|                <string notr="true">special_op_activity_button_group</string> | ||||
|               </attribute> | ||||
|              </widget> | ||||
|             </item> | ||||
|             <item> | ||||
|              <spacer name="horizontalSpacer_9"> | ||||
|               <property name="orientation"> | ||||
|                <enum>Qt::Horizontal</enum> | ||||
|               </property> | ||||
|               <property name="sizeHint" stdset="0"> | ||||
|                <size> | ||||
|                 <width>40</width> | ||||
|                 <height>20</height> | ||||
|                </size> | ||||
|               </property> | ||||
|              </spacer> | ||||
|             </item> | ||||
|             <item> | ||||
|              <layout class="QFormLayout" name="formLayout_16"> | ||||
|               <item row="0" column="0"> | ||||
|                <widget class="QLabel" name="labFD"> | ||||
|                 <property name="accessibleName"> | ||||
|                  <string>Field Day exchange</string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>FD Exch:</string> | ||||
|                 </property> | ||||
|                 <property name="buddy"> | ||||
|                  <cstring>Field_Day_Exchange</cstring> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|               <item row="0" column="1"> | ||||
|                <widget class="QLineEdit" name="Field_Day_Exchange"> | ||||
|                 <property name="minimumSize"> | ||||
|                  <size> | ||||
|                   <width>70</width> | ||||
|                   <height>0</height> | ||||
|                  </size> | ||||
|                 </property> | ||||
|                 <property name="toolTip"> | ||||
|                  <string><html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html></string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>6A SNJ</string> | ||||
|                 </property> | ||||
|                 <property name="alignment"> | ||||
|                  <set>Qt::AlignCenter</set> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|              </layout> | ||||
|             </item> | ||||
|            </layout> | ||||
|           </item> | ||||
|           <item row="3" column="0"> | ||||
|            <widget class="QRadioButton" name="rbWW_DIGI"> | ||||
|             <property name="minimumSize"> | ||||
|              <size> | ||||
|               <width>0</width> | ||||
|               <height>18</height> | ||||
|              </size> | ||||
|             </property> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>World-Wide Digi-mode contest</p><p><br/></p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>WW Digital Contest</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>WW Digi Contest</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="2" column="3"> | ||||
|            <layout class="QHBoxLayout" name="horizontalLayout_18" stretch="2,1,1"> | ||||
|             <item> | ||||
|              <widget class="QRadioButton" name="rbRTTY_Roundup"> | ||||
|               <property name="toolTip"> | ||||
|                <string><html><head/><body><p>FT Roundup and similar contests. Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html></string> | ||||
|               </property> | ||||
|               <property name="accessibleName"> | ||||
|                <string>R T T Y Roundup</string> | ||||
|               </property> | ||||
|               <property name="text"> | ||||
|                <string>FT Roundup</string> | ||||
|               </property> | ||||
|               <attribute name="buttonGroup"> | ||||
|                <string notr="true">special_op_activity_button_group</string> | ||||
|               </attribute> | ||||
|              </widget> | ||||
|             </item> | ||||
|             <item> | ||||
|              <spacer name="horizontalSpacer_10"> | ||||
|               <property name="orientation"> | ||||
|                <enum>Qt::Horizontal</enum> | ||||
|               </property> | ||||
|               <property name="sizeHint" stdset="0"> | ||||
|                <size> | ||||
|                 <width>40</width> | ||||
|                 <height>20</height> | ||||
|                </size> | ||||
|               </property> | ||||
|              </spacer> | ||||
|             </item> | ||||
|             <item> | ||||
|              <layout class="QFormLayout" name="formLayout_17"> | ||||
|               <item row="0" column="0"> | ||||
|                <widget class="QLabel" name="labRTTY"> | ||||
|                 <property name="accessibleName"> | ||||
|                  <string>RTTY Roundup exchange</string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>FT RU Exch:</string> | ||||
|                 </property> | ||||
|                 <property name="buddy"> | ||||
|                  <cstring>RTTY_Exchange</cstring> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|               <item row="0" column="1"> | ||||
|                <widget class="QLineEdit" name="RTTY_Exchange"> | ||||
|                 <property name="minimumSize"> | ||||
|                  <size> | ||||
|                   <width>70</width> | ||||
|                   <height>0</height> | ||||
|                  </size> | ||||
|                 </property> | ||||
|                 <property name="toolTip"> | ||||
|                  <string><html><head/><body><p>FT Roundup and similar contests.  Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html></string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>NJ</string> | ||||
|                 </property> | ||||
|                 <property name="alignment"> | ||||
|                  <set>Qt::AlignCenter</set> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|              </layout> | ||||
|             </item> | ||||
|            </layout> | ||||
|           </item> | ||||
|           <item row="3" column="3"> | ||||
|            <widget class="QRadioButton" name="rbARRL_Digi"> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>ARRL International Digital Contest</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>ARRL Digi Contest</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|          </layout> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item row="0" column="1"> | ||||
|         <widget class="QGroupBox" name="groupBox_5"> | ||||
|          <property name="title"> | ||||
| @ -3036,6 +2753,349 @@ Right click for insert and delete options.</string> | ||||
|          </layout> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item row="1" column="0" colspan="2"> | ||||
|         <widget class="QGroupBox" name="gbSpecialOpActivity"> | ||||
|          <property name="title"> | ||||
|           <string>Special operating activity</string> | ||||
|          </property> | ||||
|          <property name="checkable"> | ||||
|           <bool>true</bool> | ||||
|          </property> | ||||
|          <property name="checked"> | ||||
|           <bool>false</bool> | ||||
|          </property> | ||||
|          <layout class="QGridLayout" name="gridLayout_15" columnstretch="1,0,0,0"> | ||||
|           <item row="0" column="3"> | ||||
|            <widget class="QRadioButton" name="rbHound"> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>FT8 DXpedition mode:  Hound operator calling the DX.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>Hound</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>Hound</string> | ||||
|             </property> | ||||
|             <property name="checked"> | ||||
|              <bool>true</bool> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="1" column="0"> | ||||
|            <widget class="QRadioButton" name="rbNA_VHF_Contest"> | ||||
|             <property name="sizePolicy"> | ||||
|              <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> | ||||
|               <horstretch>0</horstretch> | ||||
|               <verstretch>0</verstretch> | ||||
|              </sizepolicy> | ||||
|             </property> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>North American VHF/UHF/Microwave contests and others in which a 4-character grid locator is the required exchange.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>NA VHF Contest</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>NA VHF</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="1" column="3"> | ||||
|            <layout class="QHBoxLayout" name="horizontalLayout_17" stretch="2,1,1"> | ||||
|             <item> | ||||
|              <widget class="QRadioButton" name="rbField_Day"> | ||||
|               <property name="toolTip"> | ||||
|                <string><html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html></string> | ||||
|               </property> | ||||
|               <property name="accessibleName"> | ||||
|                <string>A R R L Field Day</string> | ||||
|               </property> | ||||
|               <property name="text"> | ||||
|                <string>ARRL Field Day</string> | ||||
|               </property> | ||||
|               <attribute name="buttonGroup"> | ||||
|                <string notr="true">special_op_activity_button_group</string> | ||||
|               </attribute> | ||||
|              </widget> | ||||
|             </item> | ||||
|             <item> | ||||
|              <spacer name="horizontalSpacer_9"> | ||||
|               <property name="orientation"> | ||||
|                <enum>Qt::Horizontal</enum> | ||||
|               </property> | ||||
|               <property name="sizeHint" stdset="0"> | ||||
|                <size> | ||||
|                 <width>40</width> | ||||
|                 <height>20</height> | ||||
|                </size> | ||||
|               </property> | ||||
|              </spacer> | ||||
|             </item> | ||||
|             <item> | ||||
|              <layout class="QFormLayout" name="formLayout_16"> | ||||
|               <item row="0" column="0"> | ||||
|                <widget class="QLabel" name="labFD"> | ||||
|                 <property name="accessibleName"> | ||||
|                  <string>Field Day exchange</string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>FD Exch:</string> | ||||
|                 </property> | ||||
|                 <property name="buddy"> | ||||
|                  <cstring>Field_Day_Exchange</cstring> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|               <item row="0" column="1"> | ||||
|                <widget class="QLineEdit" name="Field_Day_Exchange"> | ||||
|                 <property name="minimumSize"> | ||||
|                  <size> | ||||
|                   <width>70</width> | ||||
|                   <height>0</height> | ||||
|                  </size> | ||||
|                 </property> | ||||
|                 <property name="toolTip"> | ||||
|                  <string><html><head/><body><p>ARRL Field Day exchange: number of transmitters, Class, and ARRL/RAC section or &quot;DX&quot;.</p></body></html></string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>6A SNJ</string> | ||||
|                 </property> | ||||
|                 <property name="alignment"> | ||||
|                  <set>Qt::AlignCenter</set> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|              </layout> | ||||
|             </item> | ||||
|            </layout> | ||||
|           </item> | ||||
|           <item row="3" column="3"> | ||||
|            <widget class="QRadioButton" name="rbARRL_Digi"> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>ARRL International Digital Contest</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>ARRL Digi Contest</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="0" column="1" rowspan="3"> | ||||
|            <spacer name="horizontalSpacer_11"> | ||||
|             <property name="orientation"> | ||||
|              <enum>Qt::Horizontal</enum> | ||||
|             </property> | ||||
|             <property name="sizeHint" stdset="0"> | ||||
|              <size> | ||||
|               <width>40</width> | ||||
|               <height>20</height> | ||||
|              </size> | ||||
|             </property> | ||||
|            </spacer> | ||||
|           </item> | ||||
|           <item row="3" column="0"> | ||||
|            <widget class="QRadioButton" name="rbWW_DIGI"> | ||||
|             <property name="minimumSize"> | ||||
|              <size> | ||||
|               <width>0</width> | ||||
|               <height>18</height> | ||||
|              </size> | ||||
|             </property> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>World-Wide Digi-mode contest</p><p><br/></p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>WW Digital Contest</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>WW Digi Contest</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="2" column="3"> | ||||
|            <layout class="QHBoxLayout" name="horizontalLayout_18" stretch="2,1,1"> | ||||
|             <item> | ||||
|              <widget class="QRadioButton" name="rbRTTY_Roundup"> | ||||
|               <property name="toolTip"> | ||||
|                <string><html><head/><body><p>FT Roundup and similar contests. Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html></string> | ||||
|               </property> | ||||
|               <property name="accessibleName"> | ||||
|                <string>R T T Y Roundup</string> | ||||
|               </property> | ||||
|               <property name="text"> | ||||
|                <string>FT Roundup</string> | ||||
|               </property> | ||||
|               <attribute name="buttonGroup"> | ||||
|                <string notr="true">special_op_activity_button_group</string> | ||||
|               </attribute> | ||||
|              </widget> | ||||
|             </item> | ||||
|             <item> | ||||
|              <spacer name="horizontalSpacer_10"> | ||||
|               <property name="orientation"> | ||||
|                <enum>Qt::Horizontal</enum> | ||||
|               </property> | ||||
|               <property name="sizeHint" stdset="0"> | ||||
|                <size> | ||||
|                 <width>40</width> | ||||
|                 <height>20</height> | ||||
|                </size> | ||||
|               </property> | ||||
|              </spacer> | ||||
|             </item> | ||||
|             <item> | ||||
|              <layout class="QFormLayout" name="formLayout_17"> | ||||
|               <item row="0" column="0"> | ||||
|                <widget class="QLabel" name="labRTTY"> | ||||
|                 <property name="accessibleName"> | ||||
|                  <string>RTTY Roundup exchange</string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>FT RU Exch:</string> | ||||
|                 </property> | ||||
|                 <property name="buddy"> | ||||
|                  <cstring>RTTY_Exchange</cstring> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|               <item row="0" column="1"> | ||||
|                <widget class="QLineEdit" name="RTTY_Exchange"> | ||||
|                 <property name="minimumSize"> | ||||
|                  <size> | ||||
|                   <width>70</width> | ||||
|                   <height>0</height> | ||||
|                  </size> | ||||
|                 </property> | ||||
|                 <property name="toolTip"> | ||||
|                  <string><html><head/><body><p>FT Roundup and similar contests.  Exchange is US state, Canadian province, or &quot;DX&quot;.</p></body></html></string> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>NJ</string> | ||||
|                 </property> | ||||
|                 <property name="alignment"> | ||||
|                  <set>Qt::AlignCenter</set> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|              </layout> | ||||
|             </item> | ||||
|            </layout> | ||||
|           </item> | ||||
|           <item row="0" column="0"> | ||||
|            <widget class="QRadioButton" name="rbFox"> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>FT8 DXpedition mode:  Fox (DXpedition) operator.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>Fox</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>Fox</string> | ||||
|             </property> | ||||
|             <property name="checked"> | ||||
|              <bool>false</bool> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="2" column="0"> | ||||
|            <widget class="QRadioButton" name="rbEU_VHF_Contest"> | ||||
|             <property name="sizePolicy"> | ||||
|              <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> | ||||
|               <horstretch>0</horstretch> | ||||
|               <verstretch>0</verstretch> | ||||
|              </sizepolicy> | ||||
|             </property> | ||||
|             <property name="toolTip"> | ||||
|              <string><html><head/><body><p>European VHF+ contests requiring a signal report, serial number, and 6-character locator.</p></body></html></string> | ||||
|             </property> | ||||
|             <property name="accessibleName"> | ||||
|              <string>EU VHF Contest</string> | ||||
|             </property> | ||||
|             <property name="text"> | ||||
|              <string>EU VHF Contest</string> | ||||
|             </property> | ||||
|             <attribute name="buttonGroup"> | ||||
|              <string notr="true">special_op_activity_button_group</string> | ||||
|             </attribute> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item row="4" column="3"> | ||||
|            <layout class="QHBoxLayout" name="horizontalLayout_24"> | ||||
|             <item> | ||||
|              <widget class="QCheckBox" name="cbContestName"> | ||||
|               <property name="toolTip"> | ||||
|                <string><html><head/><body><p>Call CQ with an individual contest name instead of TEST, RU, or WW. </p></body></html></string> | ||||
|               </property> | ||||
|               <property name="text"> | ||||
|                <string>CQ with individual contest name</string> | ||||
|               </property> | ||||
|              </widget> | ||||
|             </item> | ||||
|             <item> | ||||
|              <spacer name="horizontalSpacer_12"> | ||||
|               <property name="orientation"> | ||||
|                <enum>Qt::Horizontal</enum> | ||||
|               </property> | ||||
|               <property name="sizeHint" stdset="0"> | ||||
|                <size> | ||||
|                 <width>40</width> | ||||
|                 <height>20</height> | ||||
|                </size> | ||||
|               </property> | ||||
|              </spacer> | ||||
|             </item> | ||||
|             <item> | ||||
|              <layout class="QHBoxLayout" name="horizontalLayout_25"> | ||||
|               <item> | ||||
|                <widget class="QLabel" name="labCN"> | ||||
|                 <property name="text"> | ||||
|                  <string>Contest name:</string> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|               <item> | ||||
|                <widget class="QLineEdit" name="Contest_Name"> | ||||
|                 <property name="maximumSize"> | ||||
|                  <size> | ||||
|                   <width>70</width> | ||||
|                   <height>16777215</height> | ||||
|                  </size> | ||||
|                 </property> | ||||
|                 <property name="text"> | ||||
|                  <string>PACC</string> | ||||
|                 </property> | ||||
|                 <property name="maxLength"> | ||||
|                  <number>4</number> | ||||
|                 </property> | ||||
|                 <property name="cursorPosition"> | ||||
|                  <number>2</number> | ||||
|                 </property> | ||||
|                 <property name="alignment"> | ||||
|                  <set>Qt::AlignCenter</set> | ||||
|                 </property> | ||||
|                </widget> | ||||
|               </item> | ||||
|              </layout> | ||||
|             </item> | ||||
|            </layout> | ||||
|           </item> | ||||
|          </layout> | ||||
|         </widget> | ||||
|        </item> | ||||
|        <item row="2" column="0" colspan="2"> | ||||
|         <spacer name="verticalSpacer_8"> | ||||
|          <property name="orientation"> | ||||
| @ -3276,13 +3336,13 @@ Right click for insert and delete options.</string> | ||||
|   </connection> | ||||
|  </connections> | ||||
|  <buttongroups> | ||||
|   <buttongroup name="TX_audio_source_button_group"/> | ||||
|   <buttongroup name="PTT_method_button_group"/> | ||||
|   <buttongroup name="special_op_activity_button_group"/> | ||||
|   <buttongroup name="CAT_stop_bits_button_group"/> | ||||
|   <buttongroup name="split_mode_button_group"/> | ||||
|   <buttongroup name="TX_mode_button_group"/> | ||||
|   <buttongroup name="CAT_handshake_button_group"/> | ||||
|   <buttongroup name="TX_mode_button_group"/> | ||||
|   <buttongroup name="CAT_data_bits_button_group"/> | ||||
|   <buttongroup name="PTT_method_button_group"/> | ||||
|   <buttongroup name="split_mode_button_group"/> | ||||
|   <buttongroup name="special_op_activity_button_group"/> | ||||
|   <buttongroup name="TX_audio_source_button_group"/> | ||||
|  </buttongroups> | ||||
| </ui> | ||||
|  | ||||
| @ -5760,12 +5760,16 @@ void MainWindow::genCQMsg () | ||||
|        ( tlist.at(1)==my_callsign or | ||||
|          tlist.at(2)==my_callsign ) and | ||||
|        stdCall(my_callsign)) { | ||||
|       if(m_config.Individual_Contest_Name())  { | ||||
|            m_cqStr = m_config.Contest_Name(); | ||||
|       } else { | ||||
|       if(SpecOp::NA_VHF == m_specOp)    m_cqStr="TEST"; | ||||
|       if(SpecOp::EU_VHF == m_specOp)    m_cqStr="TEST"; | ||||
|       if(SpecOp::FIELD_DAY == m_specOp) m_cqStr="FD"; | ||||
|       if(SpecOp::RTTY == m_specOp)      m_cqStr="RU"; | ||||
|       if(SpecOp::WW_DIGI == m_specOp)   m_cqStr="WW"; | ||||
|       if(SpecOp::ARRL_DIGI == m_specOp) m_cqStr="TEST"; | ||||
|       } | ||||
|       if( tlist.at(1)==my_callsign ) { | ||||
|          t="CQ " + m_cqStr + " " + tlist.at(1) + " " + tlist.at(2);  | ||||
|       } else { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user