2018-08-25 11:19:43 -04:00
|
|
|
#ifndef COLORHIGHLIGHTING_H
|
|
|
|
#define COLORHIGHLIGHTING_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2018-08-25 15:37:30 -04:00
|
|
|
#include <QSettings>
|
2018-08-25 11:19:43 -04:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ColorHighlighting;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ColorHighlighting : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-08-25 15:37:30 -04:00
|
|
|
explicit ColorHighlighting(QSettings *, QWidget *parent = 0);
|
2018-08-25 11:19:43 -04:00
|
|
|
~ColorHighlighting();
|
2018-08-25 15:37:30 -04:00
|
|
|
void colorHighlightlingSetup(QColor color_CQ,QColor color_MyCall,
|
|
|
|
QColor color_DXCC,QColor color_DXCCband,QColor color_NewCall,
|
|
|
|
QColor color_NewCallBand,QColor color_NewGrid,QColor color_NewGridBand,
|
|
|
|
QColor color_TxMsg);
|
2018-08-25 11:19:43 -04:00
|
|
|
|
|
|
|
private:
|
2018-08-25 15:37:30 -04:00
|
|
|
QSettings * settings_;
|
|
|
|
void read_settings ();
|
|
|
|
void write_settings ();
|
2018-08-25 11:19:43 -04:00
|
|
|
Ui::ColorHighlighting *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // COLORHIGHLIGHTING_H
|