~klimczak-k/beaver-feeds/client

« back to all changes in this revision

Viewing changes to ui/configdialog.h

  • Committer: Krzysztof Klimczak
  • Date: 2011-01-13 01:53:48 UTC
  • Revision ID: klimczak.k@gmail.com-20110113015348-fdqe451p1f0es5k1
moved from server ui code part

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CONFIGDIALOG_H
 
2
#define CONFIGDIALOG_H
 
3
 
 
4
#include <QDialog>
 
5
#include <QShowEvent>
 
6
#include <QModelIndex>
 
7
 
 
8
namespace Ui {
 
9
    class ConfigDialog;
 
10
}
 
11
 
 
12
class ConfigDialog : public QDialog
 
13
{
 
14
    Q_OBJECT
 
15
private:
 
16
        class ConfigDialogPrivate;
 
17
        ConfigDialogPrivate *d;
 
18
 
 
19
        class Category;
 
20
        class CategoryModel;
 
21
        class CategoryDelegate;
 
22
 
 
23
        CategoryModel *m_pModel;
 
24
        CategoryDelegate *m_pDelegate;
 
25
public:
 
26
    explicit ConfigDialog(QWidget *parent = 0);
 
27
    ~ConfigDialog();
 
28
 
 
29
private:
 
30
    Ui::ConfigDialog *ui;
 
31
 
 
32
private slots:
 
33
        void saveSettings();
 
34
        void resetSettings();
 
35
 
 
36
        void changeCategory(QModelIndex index);
 
37
 
 
38
signals:
 
39
        void closed();
 
40
};
 
41
 
 
42
#endif // CONFIGDIALOG_H