mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
This commit is contained in:
commit
dceaa155c4
@ -23,7 +23,7 @@ protected:
|
|||||||
QSplitter* rootSplitter() const;
|
QSplitter* rootSplitter() const;
|
||||||
void createRootSplitter();
|
void createRootSplitter();
|
||||||
void dropFloatingWidget(ads::CFloatingDockContainer* FloatingWidget, const QPoint& TargetPos);
|
void dropFloatingWidget(ads::CFloatingDockContainer* FloatingWidget, const QPoint& TargetPos);
|
||||||
void dropWidget(QWidget* widget, const QPoint& TargetPos);
|
void dropWidget(QWidget* Widget, DockWidgetArea DropArea, CDockAreaWidget* TargetAreaWidget);
|
||||||
void addDockArea(ads::CDockAreaWidget* DockAreaWidget /Transfer/, ads::DockWidgetArea area = ads::CenterDockWidgetArea);
|
void addDockArea(ads::CDockAreaWidget* DockAreaWidget /Transfer/, ads::DockWidgetArea area = ads::CenterDockWidgetArea);
|
||||||
void removeDockArea(ads::CDockAreaWidget* area /TransferBack/);
|
void removeDockArea(ads::CDockAreaWidget* area /TransferBack/);
|
||||||
void saveState(QXmlStreamWriter& Stream) const;
|
void saveState(QXmlStreamWriter& Stream) const;
|
||||||
|
@ -24,6 +24,7 @@ public:
|
|||||||
void setAllowedAreas(ads::DockWidgetAreas areas);
|
void setAllowedAreas(ads::DockWidgetAreas areas);
|
||||||
ads::DockWidgetAreas allowedAreas() const;
|
ads::DockWidgetAreas allowedAreas() const;
|
||||||
ads::DockWidgetArea dropAreaUnderCursor() const;
|
ads::DockWidgetArea dropAreaUnderCursor() const;
|
||||||
|
ads::DockWidgetArea visibleDropAreaUnderCursor() const;
|
||||||
ads::DockWidgetArea showOverlay(QWidget* target);
|
ads::DockWidgetArea showOverlay(QWidget* target);
|
||||||
void hideOverlay();
|
void hideOverlay();
|
||||||
void enableDropPreview(bool Enable);
|
void enableDropPreview(bool Enable);
|
||||||
|
@ -16,6 +16,9 @@ public:
|
|||||||
CDockSplitter(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0);
|
CDockSplitter(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0);
|
||||||
virtual ~CDockSplitter();
|
virtual ~CDockSplitter();
|
||||||
bool hasVisibleContent() const;
|
bool hasVisibleContent() const;
|
||||||
|
QWidget* firstWidget() const;
|
||||||
|
QWidget* lastWidget() const;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user