forked from qt-creator/qt-creator
Debugger: Rework display type selection
The previous index based way was getting too brittle, use enums instead. Also add a switch between exponential and flat display for floating point types. Task-number: QTCREATORBUG-12050 Change-Id: I86addbac5a80e8b79b176c6107b251b466503fe7 Reviewed-by: David Schulz <david.schulz@digia.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -159,7 +159,7 @@ private:
|
||||
QDialogButtonBox *m_box;
|
||||
};
|
||||
|
||||
typedef QHash<QString, QStringList> TypeFormats;
|
||||
typedef QHash<QString, QStringList> DumperTypeFormats;
|
||||
|
||||
class StartRemoteEngineDialog : public QDialog
|
||||
{
|
||||
@@ -190,7 +190,7 @@ public:
|
||||
|
||||
void addTypeFormats(const QString &type, const QStringList &formats,
|
||||
int currentFormat);
|
||||
TypeFormats typeFormats() const;
|
||||
DumperTypeFormats typeFormats() const;
|
||||
|
||||
private:
|
||||
TypeFormatsDialogUi *m_ui;
|
||||
|
||||
Reference in New Issue
Block a user