mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-08 08:54:41 -04:00
Improved DTR and RTS line control
Made the force control lines group box in the Configuration UI checkable which allows the DTR and RTS checkboxes to mean either force low or force high. Also improved UI control logic to only allow valid setting combintions. Disabled network port text edit for OmniRig. Cleared network port combo box list for network interfaces like HRD and DXLab Commander, was erroneously showing COM ports. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5222 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+15
-12
@@ -100,8 +100,8 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (QString const& name
|
||||
, DataBits cat_data_bits
|
||||
, StopBits cat_stop_bits
|
||||
, Handshake cat_handshake
|
||||
, bool cat_dtr_always_on
|
||||
, bool cat_rts_always_on
|
||||
, LineControl cat_dtr_control
|
||||
, LineControl cat_rts_control
|
||||
, PTTMethod ptt_type
|
||||
, TXAudioSource ptt_use_data_ptt
|
||||
, SplitMode split_mode
|
||||
@@ -124,8 +124,8 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (QString const& name
|
||||
, cat_data_bits
|
||||
, cat_stop_bits
|
||||
, cat_handshake
|
||||
, cat_dtr_always_on
|
||||
, cat_rts_always_on
|
||||
, force_low
|
||||
, force_low
|
||||
, ptt_type
|
||||
, ptt_use_data_ptt
|
||||
, "CAT" == ptt_port ? "" : ptt_port
|
||||
@@ -156,8 +156,8 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (QString const& name
|
||||
, cat_data_bits
|
||||
, cat_stop_bits
|
||||
, cat_handshake
|
||||
, cat_dtr_always_on
|
||||
, cat_rts_always_on
|
||||
, cat_dtr_control
|
||||
, cat_rts_control
|
||||
, ptt_type
|
||||
, ptt_use_data_ptt
|
||||
, "CAT" == ptt_port ? "" : ptt_port
|
||||
@@ -189,8 +189,8 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (QString const& name
|
||||
, cat_data_bits
|
||||
, cat_stop_bits
|
||||
, cat_handshake
|
||||
, cat_dtr_always_on
|
||||
, cat_rts_always_on
|
||||
, cat_dtr_control
|
||||
, cat_rts_control
|
||||
, ptt_type
|
||||
, ptt_use_data_ptt
|
||||
, "CAT" == ptt_port ? "" : ptt_port
|
||||
@@ -221,8 +221,8 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (QString const& name
|
||||
, cat_data_bits
|
||||
, cat_stop_bits
|
||||
, cat_handshake
|
||||
, cat_dtr_always_on
|
||||
, cat_rts_always_on
|
||||
, cat_dtr_control
|
||||
, cat_rts_control
|
||||
, ptt_type
|
||||
, ptt_use_data_ptt
|
||||
, "CAT" == ptt_port ? "" : ptt_port
|
||||
@@ -251,8 +251,8 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (QString const& name
|
||||
, cat_data_bits
|
||||
, cat_stop_bits
|
||||
, cat_handshake
|
||||
, cat_dtr_always_on
|
||||
, cat_rts_always_on
|
||||
, cat_dtr_control
|
||||
, cat_rts_control
|
||||
, ptt_type
|
||||
, ptt_use_data_ptt
|
||||
, "CAT" == ptt_port ? cat_port : ptt_port
|
||||
@@ -282,6 +282,7 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (QString const& name
|
||||
ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, DataBits);
|
||||
ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, StopBits);
|
||||
ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, Handshake);
|
||||
ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, LineControl);
|
||||
ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, PTTMethod);
|
||||
ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, TXAudioSource);
|
||||
ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, SplitMode);
|
||||
@@ -290,6 +291,7 @@ ENUM_QDEBUG_OPS_IMPL (TransceiverFactory, SplitMode);
|
||||
ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, DataBits);
|
||||
ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, StopBits);
|
||||
ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, Handshake);
|
||||
ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, LineControl);
|
||||
ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, PTTMethod);
|
||||
ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, TXAudioSource);
|
||||
ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, SplitMode);
|
||||
@@ -297,6 +299,7 @@ ENUM_QDATASTREAM_OPS_IMPL (TransceiverFactory, SplitMode);
|
||||
ENUM_CONVERSION_OPS_IMPL (TransceiverFactory, DataBits);
|
||||
ENUM_CONVERSION_OPS_IMPL (TransceiverFactory, StopBits);
|
||||
ENUM_CONVERSION_OPS_IMPL (TransceiverFactory, Handshake);
|
||||
ENUM_CONVERSION_OPS_IMPL (TransceiverFactory, LineControl);
|
||||
ENUM_CONVERSION_OPS_IMPL (TransceiverFactory, PTTMethod);
|
||||
ENUM_CONVERSION_OPS_IMPL (TransceiverFactory, TXAudioSource);
|
||||
ENUM_CONVERSION_OPS_IMPL (TransceiverFactory, SplitMode);
|
||||
|
||||
Reference in New Issue
Block a user