2017-02-25 05:44:02 +08:00
|
|
|
#ifndef DockManagerH
|
|
|
|
#define DockManagerH
|
|
|
|
//============================================================================
|
|
|
|
/// \file DockManager.h
|
|
|
|
/// \author Uwe Kindler
|
2017-02-27 01:13:56 +08:00
|
|
|
/// \date 26.02.2017
|
|
|
|
/// \brief Declaration of CDockManager class
|
2017-02-25 05:44:02 +08:00
|
|
|
//============================================================================
|
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
// INCLUDES
|
|
|
|
//============================================================================
|
|
|
|
#include "DockContainerWidget.h"
|
|
|
|
|
|
|
|
namespace ads
|
|
|
|
{
|
2017-02-27 01:13:56 +08:00
|
|
|
struct DockManagerPrivate;
|
2017-02-25 05:44:02 +08:00
|
|
|
|
|
|
|
/**
|
2017-02-27 01:13:56 +08:00
|
|
|
* The central dock manager that maintains the complete docking system
|
|
|
|
**/
|
2017-02-25 05:44:02 +08:00
|
|
|
class CDockManager : public CDockContainerWidget
|
|
|
|
{
|
2017-02-27 01:13:56 +08:00
|
|
|
Q_OBJECT
|
|
|
|
private:
|
|
|
|
DockManagerPrivate* d; ///< private data (pimpl)
|
|
|
|
friend class DockManagerPrivate;
|
|
|
|
protected:
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Default Constructor.
|
|
|
|
* If the given parent is a QMainWindow, the dck manager sets itself as the
|
|
|
|
* central widget
|
|
|
|
*/
|
|
|
|
CDockManager(QWidget* parent = 0);
|
2017-02-25 05:44:02 +08:00
|
|
|
|
2017-02-27 01:13:56 +08:00
|
|
|
/**
|
|
|
|
* Virtual Destructor
|
|
|
|
*/
|
|
|
|
virtual ~CDockManager();
|
|
|
|
}; // class DockManager
|
2017-02-25 05:44:02 +08:00
|
|
|
} // namespace ads
|
2017-02-27 01:13:56 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
2017-02-25 05:44:02 +08:00
|
|
|
#endif // DockManagerH
|