From 8b0aca608140c72fb7d60f7b821f78a86848a70a Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 2 Mar 2012 20:57:55 +0100 Subject: Make add mapping item a context menu entry Remove the QLineEdit and QPushButtons from the bottom of MappingTreeWidget and make adding mapping items available in the context menu. --- mappingtreewidget.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mappingtreewidget.h') diff --git a/mappingtreewidget.h b/mappingtreewidget.h index 76e7585..f8c463b 100644 --- a/mappingtreewidget.h +++ b/mappingtreewidget.h @@ -55,11 +55,9 @@ class MappingTreeWidget : public QWidget { QSortFilterProxyModel *mProxy; QStringListModel *mTypesModel; QComboBox *mTypeBox; - QPushButton *mAddChild; - QPushButton *mDeleteChild; QPushButton *mAddType; QPushButton *mDeleteType; - QLineEdit *mEdit; + QAction *mAddChildA; QAction *mDeleteChildA; QAction *mEditChildA; QAction *mMoveChildA; -- cgit v1.2.3-70-g09d2