#ifndef OPTIONWIDGET_H #define OPTIONWIDGET_H #include "Glass_global.h" #include class QGroupBox; class QModelIndex; class QTreeWidget; class QRadioButton; class QHBoxLayout; class QVBoxLayout; class QDialogButtonBox; class GLASSSHARED_EXPORT OptionWidget : public QDialog { Q_OBJECT public: OptionWidget(QWidget *parent = 0); ~OptionWidget(); void setArbeitSelected(QList &arbeitSelected); QList arbeitSelected() const; void setWeatherAlignment(Qt::AlignmentFlag weatherAlignment); Qt::AlignmentFlag weatherAlignment(); private: QList pArbeitSelected; Qt::AlignmentFlag pWeatherAlignment; QVBoxLayout *mainLayout; QVBoxLayout *arbeitAlertLayout; QHBoxLayout *weatherAlignLayout; QGroupBox *arbeitAlertGroup; QTreeWidget *arbeitAlertTable; QGroupBox *weatherAlignGroup; QRadioButton *weatherAlignLeft; QRadioButton *weatherAlignRight; QDialogButtonBox *dialogButtonBox; private slots: void changeWeatherAlign(); void doubleClickedArbeit(const QModelIndex &index); }; #endif // OPTIONWIDGET_H