/* * Title: PhaseTableWin.h * Author: M.Thomas BEAM Ltd * Date: 2007-04-03 * * Contents: Pupe Simulation mode setup * * Mod Rec: * */ #ifndef PHASETABLEWIN_H #define PHASETABLEWIN_H #include #include #include #include #include #include #include #include #include #include #include #include /*! Configure System and setup user interface window. * */ class PhaseTableWin : public QWidget { Q_OBJECT public: PhaseTableWin(QWidget* w,Control& c); ~PhaseTableWin(); private slots: void readCycleParamsFile(); void saveCycleParamsFile(); void loadCycleParams(); private: void update(); BString uIntToStr(UInt32 v); void warningDialog(BString title, BError err); int confirmDialog(BString title, BString msg); Control& ocontrol; QLineEdit* ocycleType; QLineEdit* oinfo; QLineEdit* opllInitialFrequency; QLineEdit* opllInitialFrequencyDelay; QLineEdit* opllFrefGain; QLineEdit* opllGain; QPushButton* oreadCycleParamsFile; QPushButton* osaveCycleParamsFile; QPushButton* oloadCycleParams; QLineEdit* ocycleParamsFilename; Tms::CycleParam oparams; }; #endif