-
-private:
- QMap<int, QComboBox*> myHyp;
- QMap<int, QToolButton*> myCreateHyp;
- QMap<int, QToolButton*> myEditHyp;
-
- QMap<int, QStringList> myAvailableHyps;
- QMap<int, QStringList> myExistingHyps;
+ void onMoreAddHyp();
+ void onLessAddHyp();
+
+private:
+
+ void addItem( const QString& txt, const int type, const int index, const bool isGroup=false );
+ int getCurrentIndex( const int type, const bool curByType=false) const;
+
+ QMap<int, QStringList> myAvailableHypTypes;
+
+ QMap<int, QtxToolButton*> myHypCombo;
+ QMap<int, QToolButton*> myCreateHypBtn;
+ QMap<int, QToolButton*> myEditHypBtn;
+
+ QToolButton* myMoreAddHypBtn;
+ QToolButton* myLessAddHypBtn;
+ QListWidget* myAddHypList; // 2-nd, etc. additional hyps