summaryrefslogtreecommitdiffstats
path: root/src/Dialog.h
diff options
context:
space:
mode:
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_ */