mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-28 11:42:28 -04:00
------------------------------------------------------------------------ r7997 | k1jt | 2017-08-03 19:18:34 +0100 (Thu, 03 Aug 2017) | 2 lines More User Guide updates. ------------------------------------------------------------------------ r7998 | bsomervi | 2017-08-04 19:03:54 +0100 (Fri, 04 Aug 2017) | 5 lines Optimize decoded text display to limit heap usage Decoded text line now use considerably less heap memory as they accumulate. This change also limits the maximum number of decode lines saved per session to 5000. ------------------------------------------------------------------------ r7999 | k1jt | 2017-08-04 19:07:23 +0100 (Fri, 04 Aug 2017) | 1 line Text and figs for User Guide on Frequency Calibration. Still need same for Reference Spectrum and Equalization. ------------------------------------------------------------------------ r8000 | bsomervi | 2017-08-04 23:00:20 +0100 (Fri, 04 Aug 2017) | 1 line Add missing MOC generated source include ------------------------------------------------------------------------ r8001 | bsomervi | 2017-08-04 23:00:35 +0100 (Fri, 04 Aug 2017) | 1 line Remove \r and \n from process stdout so Windows looks like everthing else ------------------------------------------------------------------------ git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.8@8002 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
// -*- Mode: C++ -*-
|
|
#ifndef DISPLAYTEXT_H
|
|
#define DISPLAYTEXT_H
|
|
|
|
#include <QTextEdit>
|
|
#include <QFont>
|
|
|
|
#include "logbook/logbook.h"
|
|
#include "decodedtext.h"
|
|
|
|
class DisplayText
|
|
: public QTextEdit
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DisplayText(QWidget *parent = 0);
|
|
|
|
void setContentFont (QFont const&);
|
|
void insertLineSpacer(QString const&);
|
|
void displayDecodedText(DecodedText decodedText, QString myCall, bool displayDXCCEntity,
|
|
LogBook logBook, QColor color_CQ, QColor color_MyCall,
|
|
QColor color_DXCC, QColor color_NewCall);
|
|
void displayTransmittedText(QString text, QString modeTx, qint32 txFreq,
|
|
QColor color_TxMsg, bool bFastMode);
|
|
void displayQSY(QString text);
|
|
|
|
Q_SIGNAL void selectCallsign (bool alt, bool ctrl);
|
|
|
|
Q_SLOT void appendText (QString const& text, QColor bg = Qt::white);
|
|
|
|
protected:
|
|
void mouseDoubleClickEvent(QMouseEvent *e);
|
|
|
|
private:
|
|
QString appendDXCCWorkedB4(QString message, QString const& callsign, QColor * bg, LogBook logBook,
|
|
QColor color_CQ, QColor color_DXCC, QColor color_NewCall);
|
|
|
|
QFont char_font_;
|
|
};
|
|
|
|
#endif // DISPLAYTEXT_H
|