summaryrefslogtreecommitdiffstats
path: root/src/Dialog.h
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-11-02 17:01:15 +0100
committerSebastian Schmelzer2011-11-02 17:01:15 +0100
commitec9a8dfe2de934f38e75bab8ed48ae7b42c31d9b (patch)
treea8ba70ee50db2a22f713b681b3e6b9b0fee7dfad /src/Dialog.h
downloademuchooser-ec9a8dfe2de934f38e75bab8ed48ae7b42c31d9b.tar.gz
emuchooser-ec9a8dfe2de934f38e75bab8ed48ae7b42c31d9b.tar.xz
emuchooser-ec9a8dfe2de934f38e75bab8ed48ae7b42c31d9b.zip
initial commit
Diffstat (limited to 'src/Dialog.h')
-rw-r--r--src/Dialog.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/Dialog.h b/src/Dialog.h
new file mode 100644
index 0000000..e547fca
--- /dev/null
+++ b/src/Dialog.h
@@ -0,0 +1,60 @@
+/*
+ * Copyright (c) 2010,2011 - RZ Uni Freiburg
+ * Copyright (c) 2010,2011 - OpenSLX Project
+ *
+ * This program/file is free software distributed under the GPL version 2.
+ * See http://gpl.openslx.org/
+ *
+ * If you have any feedback please consult http://feedback.openslx.org/ and
+ * send your feedback to feedback@openslx.org
+ *
+ * General information about OpenSLX - libChooser can be found under
+ * http://openslx.org
+ *
+ */
+
+#ifndef DIALOG_H_
+#define DIALOG_H_
+
+#include <QDialog>
+#include <Session.h>
+#include <SessionTreeModel.h>
+
+class QTextEdit;
+class QTextBrowser;
+class QTreeView;
+class QChooserTreeView;
+class QPushButton;
+class QSplitter;
+class QHBoxLayout;
+class QVBoxLayout;
+class QGroupBox;
+class QSettings;
+class QSizeGrip;
+
+class JavaScriptInterface;
+
+class Dialog : public QDialog
+{
+ Q_OBJECT
+
+ public:
+ explicit Dialog(QWidget *parent = 0);
+ void setTheme();
+ void showSettingsPVS();
+ void center();
+
+ void addItems(const QList<Session *> entries);
+
+ private:
+//void createHeader();
+
+ void createLayout();
+ QString readStyle(const QString &filename);
+ QVBoxLayout *layout;
+ JavaScriptInterface* jsi;
+
+
+};
+
+#endif /* DIALOG_H_ */