/* * Title: PupeDiagnosticsWin.h * Author: M.Thomas BEAM Ltd * Date: 2007-02-13 * * Contents: Pupe Diagnostics window * * Mod Rec: * */ #ifndef PUPEDIAGNOSTICSWIN_H #define PUPEDIAGNOSTICSWIN_H #include #include #include #include #include #include #include #include #include #include #include #include /*! Configure System and setup user interface window. * */ class PupeDiagnosticsWin : public QHBox { Q_OBJECT public: PupeDiagnosticsWin(QWidget* w,Control& c); ~PupeDiagnosticsWin(); public slots: void show(); ///< Update and make the widget visible private slots: void slotPlotEvent(QWheelEvent* e); void update(); ///< Update window to reflect user selection void refresh(); void plot(); void setPlotData(); void saveFile(); private: void warningDialog(BString title, BError err); Control& ocontrol; BArray< UInt64 > odata; BQwtPlot* oplotA; BQwtPlot* oplotB; BQwtPlot* oplotC; BQwtPlot* oplotD; CurveInfo ox; BList ocurves; QSpinBox* ochannel; BQComboBox* osource; BQComboBox* oclock; QCheckBox* otriggerSourceData; QCheckBox* otriggerAnd; QCheckBox* otriggerStore; QLineEdit* ostartTime; QLineEdit* opostTriggerDelay; QLineEdit* otriggerMask; }; #endif