23#ifndef NUMBER_DISPLAY_FORM_H
24#define NUMBER_DISPLAY_FORM_H
29#include <qwt_thermo.h>
42 gr::qtgui::graph_t type = gr::qtgui::NUM_GRAPH_HORIZ,
49 std::string
label(
unsigned int which)
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);
73 void setScale(
unsigned int which,
int min,
int max);
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;
90 gr::qtgui::graph_t d_graph_type;
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;