File: FloatingDragPreview.sip

package info (click to toggle)
qt-advanced-docking-system 3.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 13,600 kB
  • sloc: cpp: 11,678; python: 2,623; makefile: 12
file content (42 lines) | stat: -rw-r--r-- 903 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
%Import QtWidgets/QtWidgetsmod.sip

%If (Qt_5_0_0 -)

namespace ads
{

class CFloatingDragPreview : QWidget, ads::IFloatingWidget
{

    %TypeHeaderCode
    #include <FloatingDragPreview.h>
    %End

protected:
	virtual void paintEvent(QPaintEvent *e);
	CFloatingDragPreview(QWidget* Content /TransferThis/, QWidget* parent /TransferThis/);

public:
    CFloatingDragPreview(ads::CDockWidget* Content /TransferThis/ );
    CFloatingDragPreview(ads::CDockAreaWidget* Content /TransferThis/ );

    virtual ~CFloatingDragPreview();

    virtual bool eventFilter(QObject* watched, QEvent* event);

public: // implements IFloatingWidget
    virtual void startFloating(const QPoint& DragStartMousePos, const QSize& Size,
        ads::eDragState DragState, QWidget* MouseEventHandler);

    virtual void moveFloating();

    virtual void finishDragging();

signals:
    void draggingCanceled();

};

};

%End