summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmpluginsettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmpluginsettings.h')
-rw-r--r--kpovmodeler/pmpluginsettings.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/kpovmodeler/pmpluginsettings.h b/kpovmodeler/pmpluginsettings.h
new file mode 100644
index 00000000..1ee9191a
--- /dev/null
+++ b/kpovmodeler/pmpluginsettings.h
@@ -0,0 +1,62 @@
+/*
+**************************************************************************
+ description
+ --------------------
+ copyright : (C) 2003 by Andreas Zehender
+**************************************************************************
+
+**************************************************************************
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+* *
+**************************************************************************/
+
+#ifndef PMPLUGINSETTINGS_H
+#define PMPLUGINSETTINGS_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "pmsettingsdialog.h"
+
+class QFrame;
+class QListView;
+class QPushButton;
+
+/**
+ * Plugins configuration dialog page
+ */
+class PMPluginSettings : public PMSettingsDialogPage
+{
+ Q_OBJECT
+public:
+ /**
+ * Default constructor
+ */
+ PMPluginSettings( QWidget* parent, const char* name = 0 );
+ /** */
+ virtual void displaySettings( );
+ /** */
+ virtual void applySettings( );
+ /** */
+ virtual bool validateData( );
+ /** */
+ virtual void displayDefaults( );
+
+protected slots:
+ void slotToggle( );
+ void slotSelectionChanged( );
+
+private:
+ QFrame* m_pPluginOptions;
+ QListView* m_pPluginsList;
+ QPushButton* m_pToggle;
+};
+
+
+#endif