23 #ifndef DISPLAY_FORM_H 24 #define DISPLAY_FORM_H 28 #include <QtGui/QtGui> 31 #include <qwt_plot_grid.h> 32 #include <qwt_plot_layout.h> 51 bool isClosed()
const;
53 void enableMenu(
bool en =
true);
56 void resizeEvent(QResizeEvent* e);
57 void mousePressEvent(QMouseEvent* e);
58 virtual void customEvent(QEvent* e) = 0;
60 void closeEvent(QCloseEvent* e);
62 void setUpdateTime(
double t);
64 void setTitle(
const QString& title);
65 void setLineLabel(
unsigned int which,
const QString& label);
66 void setLineColor(
unsigned int which,
const QString& color);
67 void setLineWidth(
unsigned int which,
unsigned int width);
68 void setLineStyle(
unsigned int which, Qt::PenStyle style);
69 void setLineMarker(
unsigned int which, QwtSymbol::Style style);
70 void setMarkerAlpha(
unsigned int which,
unsigned int alpha);
73 QString lineLabel(
unsigned int which);
74 QString lineColor(
unsigned int which);
75 int lineWidth(
unsigned int which);
76 Qt::PenStyle lineStyle(
unsigned int which);
77 QwtSymbol::Style lineMarker(
unsigned int which);
78 int markerAlpha(
unsigned int which);
80 virtual void setSampleRate(
const QString& rate);
82 void setStop(
bool on);
85 void setGrid(
bool on);
86 void setAxisLabels(
bool en);
93 virtual void newData(
const QEvent*) = 0;
94 virtual void autoScale(
bool) = 0;
95 void updateGuiTimer();
97 virtual void onPlotPointSelected(
const QPointF p);
100 void plotPointSelected(
const QPointF p,
int type);
101 void toggleGrid(
bool en);
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30