mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +08:00
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
|
||
|
|