-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "Qtx.h"
-#include <QWorkspace>
+#include <QMdiArea>
#ifdef WIN32
#pragma warning( disable:4251 )
#endif
-class QTX_EXPORT QtxWorkspace : public QWorkspace
+class QTX_EXPORT QtxWorkspace : public QMdiArea
{
Q_OBJECT
QtxWorkspace( QWidget* = 0 );
virtual ~QtxWorkspace();
+signals:
+ void windowActivated( QWidget* );
+
public slots:
void tileVertical();
void tileHorizontal();
+
+private slots:
+ void onSubWindowActivated( QMdiSubWindow* );
};
#ifdef WIN32