QPushButton

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Constructors

this
this(QWidget parent)
Undocumented in source.
this
this(const(QString) text, QWidget parent)
Undocumented in source.
this
this(const(QIcon) icon, const(QString) text, QWidget parent)
Undocumented in source.
this
this(QPushButtonPrivate dd, QWidget parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

autoDefault
bool autoDefault()
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
focusInEvent
void focusInEvent(QFocusEvent )
Undocumented in source.
focusOutEvent
void focusOutEvent(QFocusEvent )
Undocumented in source.
hitButton
bool hitButton(const(QPoint) pos)
Undocumented in source.
initStyleOption
void initStyleOption(QStyleOptionButton* option)
Undocumented in source.
isDefault
bool isDefault()
Undocumented in source.
isFlat
bool isFlat()
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent )
Undocumented in source.
menu
QMenu menu()
Undocumented in source.
minimumSizeHint
QSize minimumSizeHint()
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent )
Undocumented in source.
setAutoDefault
void setAutoDefault(bool )
Undocumented in source.
setDefault
void setDefault(bool )
Undocumented in source.
setFlat
void setFlat(bool )
Undocumented in source.
setMenu
void setMenu(QMenu menu)
Undocumented in source.
showMenu
void showMenu()
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source.

Inherited Members

From QAbstractButton

~this
~this()
Undocumented in source.
setText
void setText(const(QString) text)
Undocumented in source.
setText
void setText(QString s)
Undocumented in source. Be warned that the author may not have intended to support it.
text
QString text()
Undocumented in source.
setIcon
void setIcon(const(QIcon) icon)
Undocumented in source.
icon
QIcon icon()
Undocumented in source.
iconSize
QSize iconSize()
Undocumented in source.
setShortcut
void setShortcut(const(QKeySequence) key)
Undocumented in source.
shortcut
QKeySequence shortcut()
Undocumented in source.
setCheckable
void setCheckable(bool )
Undocumented in source.
isCheckable
bool isCheckable()
Undocumented in source.
isChecked
bool isChecked()
Undocumented in source.
setDown
void setDown(bool )
Undocumented in source.
isDown
bool isDown()
Undocumented in source.
setAutoRepeat
void setAutoRepeat(bool )
Undocumented in source.
autoRepeat
bool autoRepeat()
Undocumented in source.
setAutoRepeatDelay
void setAutoRepeatDelay(int )
Undocumented in source.
autoRepeatDelay
int autoRepeatDelay()
Undocumented in source.
setAutoRepeatInterval
void setAutoRepeatInterval(int )
Undocumented in source.
autoRepeatInterval
int autoRepeatInterval()
Undocumented in source.
setAutoExclusive
void setAutoExclusive(bool )
Undocumented in source.
autoExclusive
bool autoExclusive()
Undocumented in source.
group
QButtonGroup group()
Undocumented in source.
setIconSize
void setIconSize(const(QSize) size)
Undocumented in source.
animateClick
void animateClick(int msec)
Undocumented in source.
click
void click()
Undocumented in source.
toggle
void toggle()
Undocumented in source.
setChecked
void setChecked(bool )
Undocumented in source.
pressed
void pressed()
Undocumented in source.
released
void released()
Undocumented in source.
clicked
void clicked(bool checked)
Undocumented in source.
toggled
void toggled(bool checked)
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent e)
Undocumented in source.
hitButton
bool hitButton(const(QPoint) pos)
Undocumented in source.
checkStateSet
void checkStateSet()
Undocumented in source.
nextCheckState
void nextCheckState()
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent e)
Undocumented in source.
keyReleaseEvent
void keyReleaseEvent(QKeyEvent e)
Undocumented in source.
mousePressEvent
void mousePressEvent(QMouseEvent e)
Undocumented in source.
mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent e)
Undocumented in source.
mouseMoveEvent
void mouseMoveEvent(QMouseEvent e)
Undocumented in source.
focusInEvent
void focusInEvent(QFocusEvent e)
Undocumented in source.
focusOutEvent
void focusOutEvent(QFocusEvent e)
Undocumented in source.
changeEvent
void changeEvent(QEvent e)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent e)
Undocumented in source.

Meta