1 /** \file calendarprofilesdialog.h
2 \brief contain class for show dialog
3 \author Jakub Šplíchal <jakub.bzouk@gmail.com>
5 #ifndef CALENDARPROFILESDIALOG_H
6 #define CALENDARPROFILESDIALOG_H
9 class QStandardItemModel;
11 class QItemSelectionModel;
14 class CalendarProfilesDialog;
17 /** \class CalendarProfilesDialog
18 \brief class for calendar dialog
19 class show dialog for calendar rules
21 class CalendarProfilesDialog : public QDialog {
24 CalendarProfilesDialog(QWidget *parent = 0);
25 ~CalendarProfilesDialog();
27 void SetSettings(QSettings *sett);
28 void SetViews(QStandardItemModel *model_of_profiles ,
29 QItemSelectionModel *selModel_profiles,
30 QStandardItemModel *model_of_calendars ,
31 QItemSelectionModel *selModel_calendars);
34 void s_change_calendars();
35 void s_change_profiles();
38 void changeEvent(QEvent *e);
41 Ui::CalendarProfilesDialog *ui;
45 void on_Profile_tableView_clicked(QModelIndex index);
46 void on_CalendartableView_clicked(QModelIndex index);
49 #endif // CALENDARPROFILESDIALOG_H