mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 16:01:36 +08:00
db16c5f1b5
* start adaption of PyQt5 bindings to Qt-ADS 4.0 * Update PyQt bindings * Fix Python bindings build on Linux --------- Co-authored-by: Mira Weller <mweller@seemoo.tu-darmstadt.de>
37 lines
734 B
Plaintext
37 lines
734 B
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
|
|
class CResizeHandle : QFrame
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include <ResizeHandle.h>
|
|
%End
|
|
|
|
protected:
|
|
void mouseMoveEvent(QMouseEvent *);
|
|
void mousePressEvent(QMouseEvent *);
|
|
void mouseReleaseEvent(QMouseEvent *);
|
|
|
|
public:
|
|
CResizeHandle(Qt::Edge HandlePosition, QWidget* parent /TransferThis/);
|
|
virtual ~CResizeHandle();
|
|
void setHandlePosition(Qt::Edge HandlePosition);
|
|
Qt::Edge handlePostion() const;
|
|
Qt::Orientation orientation() const;
|
|
QSize sizeHint() const;
|
|
bool isResizing() const;
|
|
void setMinResizeSize(int MinSize);
|
|
void setMaxResizeSize(int MaxSize);
|
|
void setOpaqueResize(bool opaque = true);
|
|
bool opaqueResize() const;
|
|
};
|
|
|
|
};
|
|
|
|
%End
|