#include <Libs/Widgets/ctkAxesWidget.h>
|
| QScopedPointer< ctkAxesWidgetPrivate > | d_ptr |
| |
Definition at line 34 of file ctkAxesWidget.h.
◆ Axis
| Enumerator |
|---|
| None | |
| Right | |
| Left | |
| Superior | |
| Inferior | |
| Anterior | |
| Posterior | |
Definition at line 43 of file ctkAxesWidget.h.
◆ ctkAxesWidget()
| ctkAxesWidget::ctkAxesWidget |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~ctkAxesWidget()
| virtual ctkAxesWidget::~ctkAxesWidget |
( |
| ) |
|
|
virtual |
◆ autoReset()
| bool ctkAxesWidget::autoReset |
( |
| ) |
const |
If autoReset is true, anytime the current axis is changed, the current axis is automatically reset to None. False by default.
◆ axesLabels
| QStringList ctkAxesWidget::axesLabels |
( |
| ) |
const |
|
slot |
◆ currentAxis()
| Axis ctkAxesWidget::currentAxis |
( |
| ) |
const |
Current selected axis. None by default.
◆ currentAxisChanged
◆ hasHeightForWidth
| virtual bool ctkAxesWidget::hasHeightForWidth |
( |
| ) |
const |
|
virtualslot |
◆ heightForWidth
| virtual int ctkAxesWidget::heightForWidth |
( |
int |
width | ) |
const |
|
virtualslot |
◆ minimumSizeHint
| virtual QSize ctkAxesWidget::minimumSizeHint |
( |
| ) |
const |
|
virtualslot |
◆ mouseMoveEvent()
| void ctkAxesWidget::mouseMoveEvent |
( |
QMouseEvent * |
mouseEvent | ) |
|
|
protected |
◆ mousePressEvent()
| void ctkAxesWidget::mousePressEvent |
( |
QMouseEvent * |
mouseEvent | ) |
|
|
protected |
◆ mouseReleaseEvent()
| void ctkAxesWidget::mouseReleaseEvent |
( |
QMouseEvent * |
mouseEvent | ) |
|
|
protected |
◆ paintEvent()
| void ctkAxesWidget::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
protected |
◆ setAutoReset
| void ctkAxesWidget::setAutoReset |
( |
bool |
reset | ) |
|
|
slot |
Set the autoReset property to None anytime the currentAxis is changed.
◆ setAxesLabels
| bool ctkAxesWidget::setAxesLabels |
( |
const QStringList & |
labels | ) |
|
|
slot |
Set the axes labels.
At least 6 labels are required. If more than 6 labels are given, the additional strings will be ignored.
Returns True if the given labels are either successfully set or if the current values match the provided ones.
- See also
- axesLabels()
◆ setCurrentAxis
| void ctkAxesWidget::setCurrentAxis |
( |
Axis |
axis | ) |
|
|
slot |
Select the current axis and emit the currentAxisChanged signal if it is a new one. Warning, if autoReset is true, the currentAxis will automatically be reset to None.
◆ setCurrentAxisToNone
| void ctkAxesWidget::setCurrentAxisToNone |
( |
| ) |
|
|
slot |
Utility slot that set the current axis to none.
◆ sizeHint
| virtual QSize ctkAxesWidget::sizeHint |
( |
| ) |
const |
|
virtualslot |
◆ d_ptr
| QScopedPointer<ctkAxesWidgetPrivate> ctkAxesWidget::d_ptr |
|
protected |
◆ autoReset
| bool ctkAxesWidget::autoReset |
|
readwrite |
◆ axesLabels
| QStringList ctkAxesWidget::axesLabels |
|
readwrite |
◆ currentAxis
| Axis ctkAxesWidget::currentAxis |
|
readwrite |
The documentation for this class was generated from the following file: