Back to index

scribus-ng  1.3.4.dfsg+svn20071115
pluginmanagerprefsgui.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef PLUGINMANAGERPREFS_H
00008 #define PLUGINMANAGERPREFS_H
00009 
00010 #include "qwidget.h"
00011 #include "qmap.h"
00012 #include "prefspanel.h"
00013 #include "qpixmap.h"
00014 
00015 class QVBoxLayout;
00016 class QGroupBox;
00017 class QGridLayout;
00018 class QListView;
00019 class QLabel;
00020 class QListViewItem;
00021 
00022 class PluginManagerPrefsGui : public PrefsPanel
00023 {
00024        Q_OBJECT
00025 
00026        public:
00027               PluginManagerPrefsGui(QWidget * parent);
00028               ~PluginManagerPrefsGui();
00029 
00030        public slots:
00036               void updateSettings(QListViewItem *item, const QPoint &, int column);
00037 
00039               void apply();
00040 
00041        private:
00042               QPixmap checkOn;
00043               QPixmap checkOff;
00044 
00045        protected:
00046               QVBoxLayout* pluginMainLayout;
00047               QGroupBox* plugGroupBox;
00048               QGridLayout* plugGroupBoxLayout;
00049               QVBoxLayout* plugLayout1;
00050               QListView* pluginsList;
00051               QLabel* pluginWarning;
00052 
00056               struct PluginSettings
00057               {
00058                      bool enableOnStartup;
00059               };
00060 
00062               QMap<QCString,PluginSettings> pluginSettings;
00063 };
00064 
00065 #endif