23 #ifndef NUMBER_DISPLAY_FORM_H
24 #define NUMBER_DISPLAY_FORM_H
28 #include <QtGui/QtGui>
29 #include <qwt_thermo.h>
49 std::string
label(
int which)
const;
61 void setColor(
int which,
const QColor &
min,
const QColor &max);
64 void setLabel(
int which,
const std::string &label);
65 void setLabel(
int which, QString label);
70 void setScale(
int which,
int min,
int max);
76 void newData(
const QEvent*);
80 QGridLayout *d_layout;
81 std::vector<QLabel*> d_label;
82 std::vector<QLabel*> d_text_box;
83 std::vector<QwtThermo*> d_indicator;
85 float d_avg, d_update_time;
86 std::vector<float> d_max, d_min;
90 bool d_autoscale_state;
94 QList<QMenu*> d_label_menu;
95 std::vector<LineTitleAction*> d_label_act;
98 std::vector<NumberColorMapMenu*> d_color_menu;
100 QAction *d_autoscale_act;
Definition: qtgui_types.h:144
float min(float a, float b)
graph_t
Definition: qtgui_types.h:142