summaryrefslogtreecommitdiffstats
path: root/mappingtreewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'mappingtreewidget.h')
-rw-r--r--mappingtreewidget.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/mappingtreewidget.h b/mappingtreewidget.h
index 60bbecc..600c6d5 100644
--- a/mappingtreewidget.h
+++ b/mappingtreewidget.h
@@ -17,6 +17,7 @@ class MappingTreeModel;
class QComboBox;
class QPushButton;
class QLabel;
+class QCheckBox;
class QSortFilterProxyModel;
class QStringListModel;
class QAction;
@@ -98,6 +99,21 @@ class MappingEditWidget : public QWidget {
QPushButton *mRemoveMapping;
};
+class MappingInputDialog : public QDialog {
+ Q_OBJECT
+ public:
+ explicit MappingInputDialog(QWidget *parent, Qt::WindowFlags f = 0);
+ QString mappingName() const;
+ bool createRoot() const;
+
+ private:
+ QPushButton *mOk;
+ QPushButton *mCancel;
+ QLineEdit *mEditor;
+ QCheckBox *mIsRoot;
+
+};
+
class MappingEditDialog : public QDialog {
Q_OBJECT
public: