Subversion Repositories Scribus

Rev

Rev 693 | Rev 735 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef PREFSDIALOGBASE_H
#define PREFSDIALOGBASE_H

#include <qvariant.h>
#include <qdialog.h>
#include <qiconview.h>
#include <qmap.h>
#include <qwidgetstack.h>
#include <qwidget.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QPushButton;

class PrefsDialogBase : public QDialog
{
        Q_OBJECT

public:
        PrefsDialogBase( QWidget* parent = 0 );
        ~PrefsDialogBase() {};
        void addItem(QString name, QPixmap icon, QWidget *tab);
        QWidgetStack* prefsWidgets;
        QPushButton* buttonOk;
        QPushButton* buttonCancel;

private:
        QIconView* prefsSelection;
        QMap<QIconViewItem*, int> itemMap;
        int counter;

private slots:
        void itemSelected(QIconViewItem* ic);

protected:
        QVBoxLayout* prefsLayout;
        QHBoxLayout* layout3;
        QHBoxLayout* layout4;

protected slots:
        virtual void languageChange();

};

#endif