forked from qt-creator/qt-creator
Debugger: Better handling of the tabbed extra views
Closing with the [x] now resets the Display mode of the associated iname, and the view hides if there are no visible tabs left. Also, remove the long-unused DisplayProcess format. Change-Id: Ibd3308549af75e345c672c07f6714d26e7196e5a Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
#include <QPointer>
|
||||
#include <QVector>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QTabWidget)
|
||||
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
class SeparatedView;
|
||||
|
||||
// Special formats. Keep in sync with dumper.py.
|
||||
enum DisplayFormat
|
||||
{
|
||||
@@ -190,9 +190,6 @@ public:
|
||||
void resetValueCache();
|
||||
|
||||
private:
|
||||
void removeSeparateWidget(QObject *o);
|
||||
void showSeparateWidget(QWidget *w);
|
||||
|
||||
friend class WatchModel;
|
||||
|
||||
void saveWatchers();
|
||||
@@ -203,7 +200,7 @@ private:
|
||||
|
||||
WatchModel *m_model; // Owned.
|
||||
DebuggerEngine *m_engine; // Not owned.
|
||||
QPointer<QTabWidget> m_separateWindow; // Owned.
|
||||
SeparatedView *m_separatedView; // Owned.
|
||||
|
||||
int m_watcherCounter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user