2012-05-22 13:09:48 -04:00
|
|
|
#ifndef BANDMAP_H
|
|
|
|
#define BANDMAP_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class BandMap;
|
|
|
|
}
|
|
|
|
|
|
|
|
class BandMap : public QWidget
|
|
|
|
{
|
2021-05-17 14:30:51 -04:00
|
|
|
Q_OBJECT
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
public:
|
2021-05-17 14:30:51 -04:00
|
|
|
explicit BandMap (QString const& settings_filename, QWidget *parent = 0);
|
2012-05-22 13:09:48 -04:00
|
|
|
void setText(QString t);
|
|
|
|
void setColors(QString t);
|
|
|
|
|
|
|
|
~BandMap();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void resizeEvent(QResizeEvent* event);
|
|
|
|
|
|
|
|
private:
|
2021-05-17 14:30:51 -04:00
|
|
|
Ui::BandMap *ui;
|
|
|
|
QString m_settings_filename;
|
|
|
|
QString m_bandMapText;
|
|
|
|
QString m_colorBackground;
|
|
|
|
QString m_color0;
|
|
|
|
QString m_color1;
|
|
|
|
QString m_color2;
|
|
|
|
QString m_color3;
|
2012-05-22 13:09:48 -04:00
|
|
|
};
|
|
|
|
|
2021-05-17 14:30:51 -04:00
|
|
|
#endif
|