! * enables/disables the "fixed label"-mode, used when displaying * the properties of axis' title label. * In this mode, in the "geometry"-part only the offset (offset to the axis) * and the rotation of the label are available. */
| 374 | * and the rotation of the label are available. |
| 375 | */ |
| 376 | void LabelWidget::setFixedLabelMode(const bool b) { |
| 377 | ui.lPositionX->setVisible(!b); |
| 378 | ui.cbPositionX->setVisible(!b); |
| 379 | ui.sbPositionX->setVisible(!b); |
| 380 | ui.lPositionY->setVisible(!b); |
| 381 | ui.cbPositionY->setVisible(!b); |
| 382 | ui.sbPositionY->setVisible(!b); |
| 383 | ui.lHorizontalAlignment->setVisible(!b); |
| 384 | ui.cbHorizontalAlignment->setVisible(!b); |
| 385 | ui.lVerticalAlignment->setVisible(!b); |
| 386 | ui.cbVerticalAlignment->setVisible(!b); |
| 387 | ui.lOffsetX->setVisible(b); |
| 388 | ui.lOffsetY->setVisible(b); |
| 389 | ui.sbOffsetX->setVisible(b); |
| 390 | ui.sbOffsetY->setVisible(b); |
| 391 | } |
| 392 | |
| 393 | /*! |
| 394 | * enables/disables all geometry relevant widgets. |