From b4aebf2d137b892f53503b13785ecae900062ff7 Mon Sep 17 00:00:00 2001 From: Enrico Rossi Date: Sat, 3 Nov 2018 17:52:26 +0100 Subject: New upstream version 1.9.1+repack * Drop local hamlib copy (commit d1b545be). * Drop local boost copy (1.63.0). --- UDPExamples/ClientWidget.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'UDPExamples/ClientWidget.hpp') 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_; -- cgit v1.2.3