/* * Title: PupeSimulateWin.h * Author: M.Thomas BEAM Ltd * Date: 2007-04-03 * * Contents: Pupe Simulation mode setup * * Mod Rec: * */ #ifndef PUPESIMULATE_H #define PUPESIMULATE_H #include #include #include #include #include #include #include /*! Configure System and setup user interface window. * */ class PupeSimulateWin : public QWidget { Q_OBJECT public: PupeSimulateWin(QWidget* w,Control& c); ~PupeSimulateWin(); public slots: void show(); ///< Update and make the widget visible void loadRam(); ///< Load Pupe channel with simulation data from file void clearRam(); ///< Clear simulation data void initialiseFPGA(); void applyInternalTimings(); void applyCycleType(); private slots: void selectFile(); private: void warningDialog(BString title, BError err); Control& ocontrol; QSpinBox* ochannel; QPushButton* oloadSimulationRam; QPushButton* oclearSimulationRam; QLineEdit* osimulationRamFilename; QLineEdit* ocycleType; QPushButton* oapplyCycleType; QCheckBox* oiAdcClk; QCheckBox* oiTiming; QCheckBox* oiCycleStop; QPushButton* oiApply; QPushButton* oInitialise; }; #endif