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;
54 std::string
title()
const;
55 std::string
unit(
int which)
const;
56 float factor(
int which)
const;
64 void setColor(
int which,
const QColor &
min,
const QColor &max);
67 void setLabel(
int which,
const std::string &label);
68 void setLabel(
int which, QString label);
73 void setScale(
int which,
int min,
int max);
77 void setTitle(
const std::string &title);
78 void setUnit(
int which,
const std::string &unit);
82 void newData(
const QEvent*);
86 QGridLayout *d_layout;
87 std::vector<QLabel*> d_label;
88 std::vector<QLabel*> d_text_box;
89 std::vector<QwtThermo*> d_indicator;
91 float d_avg, d_update_time;
92 std::vector<float> d_max, d_min;
96 bool d_autoscale_state;
100 QList<QMenu*> d_label_menu;
101 std::vector<LineTitleAction*> d_label_act;
102 std::vector<ItemFloatAct*> d_factor_act;
105 std::vector<NumberColorMapMenu*> d_color_menu;
107 QAction *d_autoscale_act;
112 std::vector<std::string> d_unit;
113 std::vector<float> d_factor;
Definition: qtgui_types.h:144
float min(float a, float b)
graph_t
Definition: qtgui_types.h:142