mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +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>
32 lines
474 B
Plaintext
32 lines
474 B
Plaintext
%Import QtWidgets/QtWidgetsmod.sip
|
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
namespace ads
|
|
{
|
|
|
|
|
|
class CPushButton : QPushButton
|
|
{
|
|
%TypeHeaderCode
|
|
#include <PushButton.h>
|
|
%End
|
|
|
|
public:
|
|
enum Orientation {
|
|
Horizontal,
|
|
VerticalTopToBottom,
|
|
VerticalBottomToTop
|
|
};
|
|
virtual QSize sizeHint() const;
|
|
|
|
ads::CPushButton::Orientation buttonOrientation() const;
|
|
void setButtonOrientation(ads::CPushButton::Orientation orientation);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
%End
|
|
|