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(
int which,
const QString &label);
66 void setLineColor(
int which,
const QString &color);
67 void setLineWidth(
int which,
int width);
68 void setLineStyle(
int which, Qt::PenStyle style);
69 void setLineMarker(
int which, QwtSymbol::Style style);
70 void setMarkerAlpha(
int which,
int alpha);
73 QString lineLabel(
int which);
74 QString lineColor(
int which);
75 int lineWidth(
int which);
76 Qt::PenStyle lineStyle(
int which);
77 QwtSymbol::Style lineMarker(
int which);
78 int markerAlpha(
int which);
80 virtual void setSampleRate(
const QString &rate);
82 void setStop(
bool on);
85 void setGrid(
bool on);
92 virtual void newData(
const QEvent*) = 0;
93 virtual void autoScale(
bool) = 0;
94 void updateGuiTimer();
96 virtual void onPlotPointSelected(
const QPointF p);
99 void plotPointSelected(
const QPointF p,
int type);
100 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