summaryrefslogtreecommitdiff
path: root/widgets/displaytext.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/displaytext.h')
-rw-r--r--widgets/displaytext.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/widgets/displaytext.h b/widgets/displaytext.h
index fb8bb613..3b577e61 100644
--- a/widgets/displaytext.h
+++ b/widgets/displaytext.h
@@ -30,8 +30,9 @@ public:
void insertLineSpacer(QString const&);
void displayDecodedText(DecodedText const& decodedText, QString const& myCall, QString const& mode,
bool displayDXCCEntity, LogBook const& logBook,
- QString const& currentBand=QString {}, bool ppfx=false, bool bCQonly=false);
- void displayTransmittedText(QString text, QString modeTx, qint32 txFreq, bool bFastMode);
+ QString const& currentBand=QString {}, bool ppfx=false, bool bCQonly=false,
+ bool haveFSpread = false, float fSpread = 0.);
+ 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 new_period ();
@@ -46,6 +47,7 @@ public:
Q_SLOT void highlight_callsign (QString const& callsign, QColor const& bg, QColor const& fg, bool last_period_only);
private:
+ QString leftJustifyAppendage (QString message, QString const& appendage) const;
void mouseDoubleClickEvent (QMouseEvent *) override;
void extend_vertical_scrollbar (int min, int max);
@@ -56,7 +58,7 @@ private:
QString appendWorkedB4(QString message, QString callsign
, QString const& grid, QColor * bg, QColor * fg
, LogBook const& logBook, QString const& currentBand
- , QString const& currentMode);
+ , QString const& currentMode, QString extra);
QFont char_font_;
QAction * erase_action_;
QHash<QString, QPair<QColor, QColor>> highlighted_calls_;