mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
38 lines
723 B
Plaintext
38 lines
723 B
Plaintext
|
%Import QtWidgets/QtWidgetsmod.sip
|
||
|
|
||
|
%If (Qt_5_0_0 -)
|
||
|
|
||
|
namespace ads
|
||
|
{
|
||
|
|
||
|
class CFloatingDragPreview : QWidget, ads::IFloatingWidget
|
||
|
{
|
||
|
|
||
|
%TypeHeaderCode
|
||
|
#include <FloatingDragPreview.h>
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
|
CFloatingDragPreview(ads::CDockWidget* Content /TransferThis/ );
|
||
|
CFloatingDragPreview(ads::CDockAreaWidget* Content /TransferThis/ );
|
||
|
|
||
|
virtual ~CFloatingDragPreview();
|
||
|
|
||
|
virtual bool eventFilter(QObject* watched, QEvent* event);
|
||
|
|
||
|
virtual void startFloating(const QPoint& DragStartMousePos, const QSize& Size,
|
||
|
ads::eDragState DragState, QWidget* MouseEventHandler);
|
||
|
|
||
|
virtual void moveFloating();
|
||
|
|
||
|
virtual void finishDragging();
|
||
|
|
||
|
signals:
|
||
|
void draggingCanceled();
|
||
|
|
||
|
};
|
||
|
|
||
|
};
|
||
|
|
||
|
%End
|