summaryrefslogtreecommitdiff
path: root/UDPExamples/ClientWidget.hpp
diff options
context:
space:
mode:
authorEnrico Rossi <e.rossi@tecnobrain.com>2018-11-03 17:52:26 +0100
committerEnrico Rossi <e.rossi@tecnobrain.com>2018-11-03 17:52:26 +0100
commitb4aebf2d137b892f53503b13785ecae900062ff7 (patch)
tree3ba99b2baec2292f2e13bfe90a5e401a5f4c47a5 /UDPExamples/ClientWidget.hpp
parent37f727ac0746fd85504aa46c1f023c09b3eff33a (diff)
New upstream version 1.9.1+repackupstream/1.9.1+repack
* Drop local hamlib copy (commit d1b545be). * Drop local boost copy (1.63.0).
Diffstat (limited to 'UDPExamples/ClientWidget.hpp')
-rw-r--r--UDPExamples/ClientWidget.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/UDPExamples/ClientWidget.hpp b/UDPExamples/ClientWidget.hpp
index 1f5ae601..29059bfa 100644
--- a/UDPExamples/ClientWidget.hpp
+++ b/UDPExamples/ClientWidget.hpp
@@ -11,6 +11,7 @@
class QAbstractItemModel;
class QModelIndex;
+class QColor;
using Frequency = MessageServer::Frequency;
@@ -22,7 +23,8 @@ class ClientWidget
public:
explicit ClientWidget (QAbstractItemModel * decodes_model, QAbstractItemModel * beacons_model
, QString const& id, QString const& version, QString const& revision
- , QWidget * parent = nullptr);
+ , QListWidget const * calls_of_interest, QWidget * parent = nullptr);
+ ~ClientWidget ();
bool fast_mode () const {return fast_mode_;}
@@ -43,9 +45,14 @@ public:
Q_SIGNAL void do_reply (QModelIndex const&, quint8 modifier);
Q_SIGNAL void do_halt_tx (QString const& id, bool auto_only);
Q_SIGNAL void do_free_text (QString const& id, QString const& text, bool);
+ Q_SIGNAL void location (QString const& id, QString const& text);
+ Q_SIGNAL void highlight_callsign (QString const& id, QString const& call
+ , QColor const& bg = QColor {}, QColor const& fg = QColor {}
+ , bool last_only = false);
private:
QString id_;
+ QListWidget const * calls_of_interest_;
class IdFilterModel final
: public QSortFilterProxyModel
{
@@ -69,9 +76,11 @@ private:
QTableView * decodes_table_view_;
QTableView * beacons_table_view_;
QLineEdit * message_line_edit_;
+ QLineEdit * grid_line_edit_;
QStackedLayout * decodes_stack_;
QAbstractButton * auto_off_button_;
QAbstractButton * halt_tx_button_;
+ QLabel * de_label_;
QLabel * mode_label_;
bool fast_mode_;
QLabel * frequency_label_;