diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h | |
| download | Studium-master.tar.gz Studium-master.tar.bz2 | |
Diffstat (limited to 'Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h')
| -rw-r--r-- | Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h new file mode 100644 index 0000000..0b2f22e --- /dev/null +++ b/Master/Modellbildung_und_Simulation/Aufgabenblatt1/DFTApp/src/DFTAppController.h @@ -0,0 +1,40 @@ +/* + * DFTAppController.h + * + * Created on: 29.04.2011 + * Author: sven + */ + +#ifndef DFTAPPCONTROLLER_H_ +#define DFTAPPCONTROLLER_H_ + +#ifndef _GTKMM_H + #include <gtkmm.h> +#endif + +#ifndef DFTAPP_PARAMETERS_H_ + #include "DFTAppParameters.h" +#endif + +class DFTAppController { +public: + DFTAppController(); + virtual ~DFTAppController(); + void startApp(Gtk::Main&); +private: + static const char* UI_FILENAME; + DFTAppParameters mParams; + Gtk::Window* mPtrMainWin; + Gtk::Button* mPtrStartBtn; + Gtk::Button* mPtrOpenBtn; + Gtk::Entry* mPtrInputFileEntry; + Gtk::Entry* mPtrNumSamplesEntry; + Gtk::TextView* mPtrTextView; + Glib::RefPtr<Gtk::TextBuffer> mRefPtrTextBuffer; + + void on_button_start(); + void on_button_open(); + void on_numsamples_changed(); +}; + +#endif /* DFTAPPCONTROLLER_H_ */ |
