mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
81afe2d3cb
* Update Python bindings * Add X11Extras to setup.py for Linux builds * Update Python Bindings
32 lines
683 B
Plaintext
32 lines
683 B
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
|
|
/**
|
|
* Manages focus styling of dock widgets and handling of focus changes
|
|
*/
|
|
class CDockFocusController : QObject
|
|
{
|
|
%TypeHeaderCode
|
|
#include <DockFocusController.h>
|
|
%End
|
|
|
|
public:
|
|
CDockFocusController(ads::CDockManager* DockManager);
|
|
virtual ~CDockFocusController();
|
|
|
|
void notifyWidgetOrAreaRelocation(QWidget* RelocatedWidget);
|
|
void notifyFloatingWidgetDrop(ads::CFloatingDockContainer* FloatingWidget);
|
|
ads::CDockWidget* focusedDockWidget() const;
|
|
|
|
public slots:
|
|
void setDockWidgetFocused(ads::CDockWidget* focusedNow);
|
|
|
|
}; // class DockFocusController
|
|
};
|
|
// namespace ads
|
|
|
|
%End |