11 #ifndef NUMBER_DISPLAY_FORM_H
12 #define NUMBER_DISPLAY_FORM_H
16 #include <QtGui/QtGui>
17 #include <qwt_thermo.h>
37 std::string
label(
unsigned int which)
const;
43 std::string
unit(
unsigned int which)
const;
44 float factor(
unsigned int which)
const;
52 void setColor(
unsigned int which,
const QColor&
min,
const QColor& max);
70 void newData(
const QEvent*);
73 unsigned int d_nplots;
74 QGridLayout* d_layout;
75 std::vector<QLabel*> d_label;
76 std::vector<QLabel*> d_text_box;
77 std::vector<QwtThermo*> d_indicator;
79 float d_avg, d_update_time;
80 std::vector<float> d_max, d_min;
84 bool d_autoscale_state;
88 QList<QMenu*> d_label_menu;
89 std::vector<LineTitleAction*> d_label_act;
90 std::vector<ItemFloatAct*> d_factor_act;
93 std::vector<NumberColorMapMenu*> d_color_menu;
95 QAction* d_autoscale_act;
100 std::vector<std::string> d_unit;
101 std::vector<float> d_factor;
graph_t
Definition: qtgui_types.h:119
@ NUM_GRAPH_HORIZ
Definition: qtgui_types.h:121
float min(float a, float b)