![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Libs/Widgets/ctkExpandButton.h>
Public Types | |
typedef QToolButton | Superclass |
Superclass typedef. More... | |
Public Member Functions | |
ctkExpandButton (QWidget *_parent=0) | |
bool | mirrorOnExpand () const |
Qt::Orientation | orientation () const |
void | setMirrorOnExpand (bool newBehavior) |
void | setOrientation (Qt::Orientation newOrientation) |
virtual QSize | sizeHint () const |
virtual | ~ctkExpandButton () |
Protected Member Functions | |
virtual void | nextCheckState () |
Protected Attributes | |
QScopedPointer< ctkExpandButtonPrivate > | d_ptr |
Properties | |
bool | mirrorOnExpand |
Qt::Orientation | orientation |
QToolButton with a standard icon This button has the same behavior as the extension button which appear as the last item in the toolbar ctkButton's purpose is to show, if the button is checked or hide, some others widgets. we can set the orientation of the icon with setOrientation() the widget can also mirror the icon on click if mirrorOnExpand is true.
Definition at line 43 of file ctkExpandButton.h.
typedef QToolButton ctkExpandButton::Superclass |
Superclass typedef.
Definition at line 51 of file ctkExpandButton.h.
|
explicit |
|
virtual |
bool ctkExpandButton::mirrorOnExpand | ( | ) | const |
|
protectedvirtual |
Qt::Orientation ctkExpandButton::orientation | ( | ) | const |
void ctkExpandButton::setMirrorOnExpand | ( | bool | newBehavior | ) |
void ctkExpandButton::setOrientation | ( | Qt::Orientation | newOrientation | ) |
|
virtual |
|
protected |
Definition at line 71 of file ctkExpandButton.h.
|
readwrite |
Definition at line 1 of file ctkExpandButton.h.
|
readwrite |
Definition at line 1 of file ctkExpandButton.h.