aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerdialogs.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-07 20:07:14 +0100
committerhjk <qthjk@ovi.com>2011-11-08 11:51:49 +0100
commit4f522b92efa14ef995b4b4d8257e91bdda97e31c (patch)
tree82ee9c8044e234b717feb96f42b6702def3173f3 /src/plugins/debugger/debuggerdialogs.h
parent9e13fa077e2dbf71d8fe25c441ae0e23e998ed42 (diff)
debugger: add dialog to edit display types
Change-Id: If1ea8cdab359bcad80e37dd4a932e4b586527264 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/debuggerdialogs.h')
-rw-r--r--src/plugins/debugger/debuggerdialogs.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerdialogs.h b/src/plugins/debugger/debuggerdialogs.h
index 4e09e35f3e..5d5e265316 100644
--- a/src/plugins/debugger/debuggerdialogs.h
+++ b/src/plugins/debugger/debuggerdialogs.h
@@ -33,7 +33,10 @@
#ifndef DEBUGGER_DIALOGS_H
#define DEBUGGER_DIALOGS_H
+#include <QtCore/QHash>
+#include <QtCore/QStringList>
#include <QtGui/QDialog>
+#include <QtGui/QVBoxLayout>
QT_BEGIN_NAMESPACE
@@ -278,6 +281,8 @@ private:
QDialogButtonBox *m_box;
};
+typedef QHash<QString, QStringList> TypeFormats;
+
class StartRemoteEngineDialog : public QDialog
{
Q_OBJECT
@@ -295,6 +300,24 @@ private:
Ui::StartRemoteEngineDialog *m_ui;
};
+class TypeFormatsDialogUi;
+
+class TypeFormatsDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit TypeFormatsDialog(QWidget *parent);
+ ~TypeFormatsDialog();
+
+ void addTypeFormats(const QString &type, const QStringList &formats,
+ int currentFormat);
+ TypeFormats typeFormats() const;
+
+private:
+ TypeFormatsDialogUi *m_ui;
+};
+
} // namespace Debugger
} // namespace Internal