diff options
Diffstat (limited to 'widgets/displaytext.h')
| -rwxr-xr-x | widgets/displaytext.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/widgets/displaytext.h b/widgets/displaytext.h index 06f9bec8..1d385534 100755 --- a/widgets/displaytext.h +++ b/widgets/displaytext.h @@ -33,7 +33,7 @@ public: bool haveFSpread = false, float fSpread = 0.0, bool bDisplayPoints=false, int points=-99);
void displayTransmittedText(QString text, QString modeTx, qint32 txFreq, bool bFastMode, double TRperiod);
void displayQSY(QString text);
- void displayFoxToBeCalled(QString t, QColor bg = QColor {}, QColor fg = QColor {});
+ void displayHoundToBeCalled(QString t, bool bAtTop=false, QColor bg = QColor {}, QColor fg = QColor {});
void new_period ();
QString CQPriority(){return m_CQPriority;};
qint32 m_points;
@@ -42,8 +42,8 @@ public: Q_SIGNAL void selectCallsign (Qt::KeyboardModifiers);
Q_SIGNAL void erased ();
- Q_SLOT void appendText (QString const& text, QColor bg = QColor {}, QColor fg = QColor {}
- , QString const& call1 = QString {}, QString const& call2 = QString {});
+ Q_SLOT void insertText (QString const& text, QColor bg = QColor {}, QColor fg = QColor {}
+ , QString const& call1 = QString {}, QString const& call2 = QString {}, QTextCursor::MoveOperation location=QTextCursor::End);
Q_SLOT void erase ();
Q_SLOT void highlight_callsign (QString const& callsign, QColor const& bg, QColor const& fg, bool last_period_only);
@@ -62,6 +62,7 @@ private: , QString const& currentMode, QString extra);
QFont char_font_;
QAction * erase_action_;
+
QHash<QString, QPair<QColor, QColor>> highlighted_calls_;
bool high_volume_;
QMetaObject::Connection vertical_scroll_connection_;
|
