From f29300c556e541f2bf1b63ed8c6399a6c2044c8d Mon Sep 17 00:00:00 2001 From: Jan Darmochwal Date: Tue, 13 Jul 2010 17:55:06 +0200 Subject: qmake -> cmake; (mostly) cosmetic changes Switched to cmake: CMakeLists.txt in base directory use ./build.sh to build vmchooser (or mkdir -p build; cd build cmake .. && make) updated README removed fltk/ removed libxml2/ removed mesgdisp/ renamed vmchooser/ to src/ moved all header files (.h) from vmchooser/inc/ to src/ added files to repository that must have slipped the last time --- src/dialog.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/dialog.h (limited to 'src/dialog.h') diff --git a/src/dialog.h b/src/dialog.h new file mode 100644 index 0000000..033a69d --- /dev/null +++ b/src/dialog.h @@ -0,0 +1,33 @@ +#ifndef DIALOG_H +#define DIALOG_H + +#include +#include +#include "DataEntry.h" +#include + +namespace Ui { + class Dialog; +} + +class Dialog : public QDialog { + Q_OBJECT +public: + Dialog(QWidget *parent = 0); + ~Dialog(); + void addItems(const std::vector&); + +protected: + void changeEvent(QEvent *e); + +private: + Ui::Dialog *ui; + std::vector entries; + +private slots: + void on_pushButtonStart_clicked(); + void on_pushButtonAbort_clicked(); + void on_listView_activated(QModelIndex index); +}; + +#endif // DIALOG_H -- cgit v1.2.3-55-g7522