Debugger: Fix switch from and to sub-perspectives

Change-Id: I17d3b7eb6416843b7a330da14528f0670cd88452
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-08-22 13:08:49 +02:00
parent 763a1cfc06
commit 0303b84fff
5 changed files with 118 additions and 105 deletions

View File

@@ -63,7 +63,8 @@ public:
class DEBUGGER_EXPORT Perspective
{
public:
explicit Perspective(const QString &id, const QString &name);
Perspective(const QString &id, const QString &name,
const QString &parentPerspectiveId = QString());
~Perspective();
enum OperationType { SplitVertical, SplitHorizontal, AddToTab, Raise };
@@ -89,7 +90,6 @@ public:
void setAboutToActivateCallback(const Callback &cb);
void aboutToActivate() const;
void setParentPerspective(const QString &parentPerspectiveId);
void setEnabled(bool enabled);
void select();