2012-05-22 13:09:48 -04:00
|
|
|
#ifndef MESSAGES_H
|
|
|
|
#define MESSAGES_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class Messages;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Messages : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit Messages(QWidget *parent = 0);
|
2014-11-30 11:46:23 -05:00
|
|
|
void setText(QString t, QString t2);
|
2012-05-22 13:09:48 -04:00
|
|
|
void setColors(QString t);
|
|
|
|
|
|
|
|
~Messages();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void click2OnCallsign(QString hiscall, QString t2);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void selectCallsign2(bool ctrl);
|
2014-11-30 11:46:23 -05:00
|
|
|
void on_cbCQ_toggled(bool checked);
|
|
|
|
void on_cbCQstar_toggled(bool checked);
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::Messages *ui;
|
|
|
|
QString m_t;
|
2014-11-30 11:46:23 -05:00
|
|
|
QString m_t2;
|
2012-05-22 13:09:48 -04:00
|
|
|
QString m_colorBackground;
|
|
|
|
QString m_color0;
|
|
|
|
QString m_color1;
|
|
|
|
QString m_color2;
|
|
|
|
QString m_color3;
|
|
|
|
|
|
|
|
bool m_cqOnly;
|
2014-11-30 11:46:23 -05:00
|
|
|
bool m_cqStarOnly;
|
2012-05-22 13:09:48 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MESSAGES_H
|