23 #ifndef NUMBER_DISPLAY_FORM_H 24 #define NUMBER_DISPLAY_FORM_H 28 #include <QtGui/QtGui> 29 #include <qwt_thermo.h> 47 QColor
colorMin(
unsigned int which)
const;
48 QColor
colorMax(
unsigned int which)
const;
49 std::string
label(
unsigned int which)
const;
54 std::string
title()
const;
55 std::string
unit(
unsigned int which)
const;
56 float factor(
unsigned int which)
const;
64 void setColor(
unsigned int which,
const QColor&
min,
const QColor& max);
67 void setLabel(
unsigned int which,
const std::string& label);
68 void setLabel(
unsigned int which, QString label);
73 void setScale(
unsigned int which,
int min,
int max);
77 void setTitle(
const std::string& title);
78 void setUnit(
unsigned int which,
const std::string& unit);
79 void setFactor(
unsigned int which,
float factor);
82 void newData(
const QEvent*);
85 unsigned int d_nplots;
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:132
float min(float a, float b)
graph_t
Definition: qtgui_types.h:130