Subversion Repositories Scribus

Rev

Rev 1828 | Rev 1877 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
693 fschmid 1
#ifndef PREFSDIALOGBASE_H
2
#define PREFSDIALOGBASE_H
3
 
4
#include <qvariant.h>
5
#include <qdialog.h>
715 fschmid 6
#include <qiconview.h>
7
#include <qmap.h>
693 fschmid 8
#include <qwidgetstack.h>
9
#include <qwidget.h>
10
 
11
class QVBoxLayout;
12
class QHBoxLayout;
13
class QGridLayout;
14
class QSpacerItem;
15
class QPushButton;
1834 fschmid 16
class QLabel;
693 fschmid 17
 
18
class PrefsDialogBase : public QDialog
19
{
20
        Q_OBJECT
21
 
22
public:
23
        PrefsDialogBase( QWidget* parent = 0 );
24
        ~PrefsDialogBase() {};
800 fschmid 25
        int addItem(QString name, QPixmap icon, QWidget *tab);
735 fschmid 26
        void arrangeIcons();
1834 fschmid 27
        QLabel* textLabel1;
693 fschmid 28
        QWidgetStack* prefsWidgets;
1828 fschmid 29
        QPushButton* backToDefaults;
693 fschmid 30
        QPushButton* buttonOk;
31
        QPushButton* buttonCancel;
715 fschmid 32
        QIconView* prefsSelection;
33
        QMap<QIconViewItem*, int> itemMap;
34
        int counter;
35
 
1834 fschmid 36
public slots:
715 fschmid 37
        void itemSelected(QIconViewItem* ic);
38
 
693 fschmid 39
protected:
40
        QVBoxLayout* prefsLayout;
41
        QHBoxLayout* layout3;
42
        QHBoxLayout* layout4;
1834 fschmid 43
        QVBoxLayout* layout5;
693 fschmid 44
 
45
protected slots:
46
        virtual void languageChange();
47
 
48
};
49
 
50
#endif