Switch to unified view

a/GUI/prefs/confgui.h b/GUI/prefs/confgui.h
...
...
110
    ConfParamW *addParam(int tabindex, ParamType tp, 
110
    ConfParamW *addParam(int tabindex, ParamType tp, 
111
                         const QString& varname, const QString& label,
111
                         const QString& varname, const QString& label,
112
                         const QString& tooltip, int isdirorminval = 0, 
112
                         const QString& tooltip, int isdirorminval = 0, 
113
                         int maxval = 0, const QStringList* sl = 0);
113
                         int maxval = 0, const QStringList* sl = 0);
114
    bool enableLink(ConfParamW* boolw, ConfParamW* otherw, bool revert = false);
114
    bool enableLink(ConfParamW* boolw, ConfParamW* otherw, bool revert = false);
115
    void endOfList(int tabindex);
115
                                                
116
                                                
116
public slots:
117
public slots:
117
    void acceptChanges();
118
    void acceptChanges();
118
    void rejectChanges();
119
    void rejectChanges();
119
    void reloadPanels();
120
    void reloadPanels();
...
...
141
public:
142
public:
142
    ConfPanelW(QWidget *parent);
143
    ConfPanelW(QWidget *parent);
143
    void addWidget (QWidget *w);
144
    void addWidget (QWidget *w);
144
    void storeValues();
145
    void storeValues();
145
    void loadValues();
146
    void loadValues();
147
    void endOfList();
146
private:
148
private:
147
    QVBoxLayout *m_vboxlayout;
149
    QVBoxLayout *m_vboxlayout;
148
    std::vector<QWidget *> m_widgets;
150
    std::vector<QWidget *> m_widgets;
149
};
151
};
150
152