summaryrefslogblamecommitdiffstats
path: root/src/Dialog.h
blob: 2df92404f7f78bd07f2b7119362a4d96b279628b (plain) (tree)



















                                                                           





















                                          




                                                   


                                                
                                        
                                     




                      
/*
 * 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>

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 center();

     void addItems(const QList<Session *> entries);

 private:

     void createLayout();
     QString readStyle(const QString &filename);
     QVBoxLayout		*layout;
     JavaScriptInterface	*jsi;


};

#endif /* DIALOG_H_ */