diff options
| author | Christoph Berg <myon@debian.org> | 2022-12-04 22:15:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2022-12-04 22:15:32 +0100 |
| commit | fa73b3f50ec6ead52c3371a96f62bc6e666a9ee5 (patch) | |
| tree | 6971e745fdf2f4c6b81ded57e87d233840971d62 /widgets/displaytext.h | |
| parent | 4d2fac0dafe835b1ed479bebe136c3afe748ecf3 (diff) | |
New upstream version 2.6.0~rc5+repackupstream/2.6.0_rc5+repack
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_;
|
