Makes project mostly compatible with Qt 4.5
This commit is contained in:
@@ -37,15 +37,6 @@ enum DropArea
|
||||
};
|
||||
Q_DECLARE_FLAGS(DropAreas, DropArea)
|
||||
|
||||
class InternalContentData
|
||||
{
|
||||
public:
|
||||
InternalContentData() : titleWidget(0), contentWidget(0) {}
|
||||
QSharedPointer<class SectionContent> content;
|
||||
class SectionTitleWidget* titleWidget;
|
||||
class SectionContentWidget* contentWidget;
|
||||
};
|
||||
|
||||
void deleteEmptySplitter(class ContainerWidget* container);
|
||||
class ContainerWidget* findParentContainerWidget(class QWidget* w);
|
||||
class SectionWidget* findParentSectionWidget(class QWidget* w);
|
||||
|
||||
@@ -16,6 +16,8 @@ class QMenu;
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
||||
class InternalContentData;
|
||||
|
||||
// ContainerWidget is the main container to provide the docking
|
||||
// functionality. It manages mulitple Sections and all possible areas.
|
||||
class ContainerWidget : public QFrame
|
||||
|
||||
@@ -14,6 +14,7 @@ ADS_NAMESPACE_BEGIN
|
||||
class ContainerWidget;
|
||||
class SectionTitleWidget;
|
||||
class SectionContentWidget;
|
||||
class InternalContentData;
|
||||
|
||||
// FloatingWidget holds and displays SectionContent as a floating window.
|
||||
// It can be resized, moved and dropped back into a SectionWidget.
|
||||
|
||||
26
AdvancedDockingSystem/include/ads/Internal.h
Normal file
26
AdvancedDockingSystem/include/ads/Internal.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef ADS_INTERNAL_HEADER
|
||||
#define ADS_INTERNAL_HEADER
|
||||
|
||||
#include "ads/API.h"
|
||||
#include "ads/SectionContent.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
class SectionContent;
|
||||
class SectionTitleWidget;
|
||||
class SectionContentWidget;
|
||||
|
||||
|
||||
class InternalContentData
|
||||
{
|
||||
public:
|
||||
InternalContentData();
|
||||
~InternalContentData();
|
||||
|
||||
SectionContent::RefPtr content;
|
||||
SectionTitleWidget* titleWidget;
|
||||
SectionContentWidget* contentWidget;
|
||||
};
|
||||
|
||||
|
||||
ADS_NAMESPACE_END
|
||||
#endif
|
||||
@@ -17,6 +17,7 @@ ADS_NAMESPACE_BEGIN
|
||||
class ContainerWidget;
|
||||
class SectionTitleWidget;
|
||||
class SectionContentWidget;
|
||||
class InternalContentData;
|
||||
|
||||
// SectionWidget manages multiple instances of SectionContent.
|
||||
// It displays a title TAB, which is clickable and will switch to
|
||||
|
||||
Reference in New Issue
Block a user