mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +08:00
4d2de7bb2a
* FIX: Update python bindings for 3.4.2.
* FIX: Try to fix windows build.
* FIX: Add const at nativeEvent argument.
* FIX: Adjusting sip bindings for changes from 8b6df4aaa5
.
38 lines
603 B
Plaintext
38 lines
603 B
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
|
|
class CTitleBarButton : QToolButton
|
|
{
|
|
%TypeHeaderCode
|
|
#include <DockAreaTitleBar_p.h>
|
|
%End
|
|
|
|
protected:
|
|
bool event(QEvent *ev);
|
|
|
|
public:
|
|
CTitleBarButton(bool visible = true, QWidget* parent /TransferThis/ = Q_NULLPTR );
|
|
virtual void setVisible(bool visible);
|
|
};
|
|
|
|
|
|
class CSpacerWidget : QWidget
|
|
{
|
|
%TypeHeaderCode
|
|
#include <DockAreaTitleBar_p.h>
|
|
%End
|
|
|
|
public:
|
|
CSpacerWidget(QWidget* Parent /TransferThis/ = 0 );
|
|
virtual QSize sizeHint() const;
|
|
virtual QSize minimumSizeHint() const;
|
|
};
|
|
|
|
};
|
|
|
|
%End
|