WSJT-X/displaytext.h
Murray Curtis 4bade4865d 1. Only the left 'band activity' display has DXCC and worked B4 status
2. Moved some of the text handling code from MainWindow to Displaytext


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3550 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-15 12:24:12 +00:00

36 lines
727 B
C++

#ifndef DISPLAYTEXT_H
#define DISPLAYTEXT_H
#include <QTextBrowser>
#include "logbook/logbook.h"
class DisplayText : public QTextBrowser
{
Q_OBJECT
public:
explicit DisplayText(QWidget *parent = 0);
void setFont(QFont font);
void insertLineSpacer();
void displayDecodedText(QString decodedText, QString myCall, bool displayDXCCEntity, LogBook logBook);
signals:
void selectCallsign(bool shift, bool ctrl);
public slots:
protected:
void mouseDoubleClickEvent(QMouseEvent *e);
void resizeEvent(QResizeEvent * event);
private:
int _fontWidth;
int _maxDisplayedCharacters;
void _appendDXCCWorkedB4(/*mod*/QString& t1, QString &bg, LogBook logBook);
};
#endif // DISPLAYTEXT_H