summaryrefslogtreecommitdiffstats
path: root/mappingtreewidget.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-03-02 20:57:55 +0100
committerArno <am@disconnect.de>2012-03-02 20:57:55 +0100
commit8b0aca608140c72fb7d60f7b821f78a86848a70a (patch)
treea6bf1ccef9f4b2021e92695c7459ae72859a86b7 /mappingtreewidget.h
parent6e03469151a2a3eae6e54dd1e138a2628d51eab3 (diff)
downloadSheMov-8b0aca608140c72fb7d60f7b821f78a86848a70a.tar.gz
SheMov-8b0aca608140c72fb7d60f7b821f78a86848a70a.tar.bz2
SheMov-8b0aca608140c72fb7d60f7b821f78a86848a70a.zip
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.
Diffstat (limited to 'mappingtreewidget.h')
-rw-r--r--mappingtreewidget.h4
1 files changed, 1 insertions, 3 deletions
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;