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:
@@ -54,6 +54,8 @@ public:
|
||||
void rowActivated(const QModelIndex &index);
|
||||
void reset();
|
||||
|
||||
void fillFormatMenu(QMenu *, const QModelIndex &mi);
|
||||
|
||||
public slots:
|
||||
void watchExpression(const QString &exp);
|
||||
void watchExpression(const QString &exp, const QString &name);
|
||||
@@ -62,11 +64,19 @@ public slots:
|
||||
signals:
|
||||
void currentIndexChanged(const QModelIndex ¤tIndex);
|
||||
|
||||
private:
|
||||
Q_SLOT void resetHelper();
|
||||
Q_SLOT void expandNode(const QModelIndex &idx);
|
||||
Q_SLOT void collapseNode(const QModelIndex &idx);
|
||||
private slots:
|
||||
void resetHelper();
|
||||
void expandNode(const QModelIndex &idx);
|
||||
void collapseNode(const QModelIndex &idx);
|
||||
|
||||
void onClearIndividualFormat();
|
||||
void onClearTypeFormat();
|
||||
void onShowUnprintable();
|
||||
|
||||
void onTypeFormatChange();
|
||||
void onIndividualFormatChange();
|
||||
|
||||
private:
|
||||
void keyPressEvent(QKeyEvent *ev);
|
||||
void contextMenuEvent(QContextMenuEvent *ev);
|
||||
void dragEnterEvent(QDragEnterEvent *ev);
|
||||
|
||||
Reference in New Issue
Block a user