summaryrefslogtreecommitdiff
path: root/muse2/muse/plugin.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-12-21 17:54:10 +0000
committerFlorian Jung <flo@windfisch.org>2011-12-21 17:54:10 +0000
commit1fe51e45eebbfc2ac198ed4778c9afdb9eaf2ed0 (patch)
tree3d976c7966bec1f4d534a6281713ff36ec9cd3e8 /muse2/muse/plugin.h
parentc36a5508aa42e596b005425208054af9a60734b4 (diff)
merged again
Diffstat (limited to 'muse2/muse/plugin.h')
-rw-r--r--muse2/muse/plugin.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h
index 044fd863..717dc281 100644
--- a/muse2/muse/plugin.h
+++ b/muse2/muse/plugin.h
@@ -60,6 +60,8 @@ class QScrollArea;
class QToolButton;
class QToolButton;
class QTreeWidget;
+class QRect;
+class QByteArray;
namespace MusEGui {
class PluginGui;
@@ -578,25 +580,28 @@ class PluginGui : public QMainWindow {
enum { SEL_SM, SEL_S, SEL_M, SEL_ALL };
class PluginDialog : public QDialog {
+ Q_OBJECT
+
QTreeWidget* pList;
QRadioButton* allPlug;
QRadioButton* onlyM;
QRadioButton* onlyS;
QRadioButton* onlySM;
QPushButton *okB;
-
- Q_OBJECT
+ void saveSettings();
public:
PluginDialog(QWidget* parent=0);
static MusECore::Plugin* getPlugin(QWidget* parent);
MusECore::Plugin* value();
- void accept();
public slots:
+ void accept();
+ void reject();
void fillPlugs(QAbstractButton*);
- void fillPlugs(int i);
- void fillPlugs(const QString& sortValue);
+ //void fillPlugs(int i);
+ //void fillPlugs(const QString& sortValue);
+ void fillPlugs();
private slots:
void enableOkB();
@@ -605,6 +610,10 @@ class PluginDialog : public QDialog {
QComboBox *sortBox;
static int selectedPlugType;
static QStringList sortItems;
+ //static int sortColumn;
+ //static Qt::SortOrder sortOrder;
+ static QRect geometrySave;
+ static QByteArray listSave;
};
}