Line options dialog.
More...
#include <LineDialog.h>
§ Unit
Enumerator |
---|
ScaleCoordinates | |
Pixels | |
§ LineDialog()
LineDialog::LineDialog |
( |
ArrowMarker * |
line, |
|
|
QWidget * |
parent = 0 , |
|
|
Qt::WFlags |
fl = 0 |
|
) |
| |
References accept(), apply(), boxHeadAngle, boxHeadLength, btnApply, btnOk, buttonDefault, ArrowMarker::color(), colorBox, enableButtonDefault(), enableHeadTab(), endBox, ArrowMarker::filledArrowHead(), filledBox, ArrowMarker::hasEndArrow(), ArrowMarker::hasStartArrow(), head, ArrowMarker::headAngle(), ArrowMarker::headLength(), initGeometryTab(), lm, options, ColorButton::setColor(), setDefaultValues(), DoubleSpinBox::setRange(), DoubleSpinBox::setSingleStep(), PenStyleBox::setStyle(), DoubleSpinBox::setValue(), startBox, ArrowMarker::style(), styleBox, tw, ArrowMarker::width(), and widthBox.
§ accept
void LineDialog::accept |
( |
| ) |
|
|
slot |
§ apply
void LineDialog::apply |
( |
| ) |
|
|
slot |
References attachToBox, boxHeadAngle, boxHeadLength, ColorButton::color(), colorBox, ArrowMarker::drawEndArrow(), ArrowMarker::drawStartArrow(), enableHeadTab(), endBox, ArrowMarker::fillArrowHead(), ArrowMarker::filledArrowHead(), filledBox, geometry, head, ArrowMarker::headAngle(), ArrowMarker::headLength(), lm, options, ArrowMarker::setAttachPolicy(), ArrowMarker::setColor(), setCoordinates(), ArrowMarker::setHeadAngle(), ArrowMarker::setHeadLength(), ArrowMarker::setStyle(), ArrowMarker::setWidth(), startBox, PenStyleBox::style(), styleBox, tw, unitBox, DoubleSpinBox::value(), and widthBox.
Referenced by accept(), and LineDialog().
§ displayCoordinates
void LineDialog::displayCoordinates |
( |
int |
unit | ) |
|
|
slot |
References ArrowMarker::endPoint(), ArrowMarker::endPointCoord(), lm, ScaleCoordinates, DoubleSpinBox::setValue(), ArrowMarker::startPoint(), ArrowMarker::startPointCoord(), xEndBox, xEndPixelBox, xStartBox, xStartPixelBox, yEndBox, yEndPixelBox, yStartBox, and yStartPixelBox.
Referenced by initGeometryTab().
§ enableButtonDefault
void LineDialog::enableButtonDefault |
( |
QWidget * |
w | ) |
|
|
slot |
§ enableHeadTab()
void LineDialog::enableHeadTab |
( |
| ) |
|
§ initGeometryTab()
void LineDialog::initGeometryTab |
( |
| ) |
|
References ArrowMarker::attachPolicy(), attachToBox, displayCoordinates(), geometry, lm, DoubleSpinBox::setDecimals(), tw, unitBox, xEndBox, xEndPixelBox, xStartBox, xStartPixelBox, yEndBox, yEndPixelBox, yStartBox, and yStartPixelBox.
Referenced by LineDialog().
§ setCoordinates()
void LineDialog::setCoordinates |
( |
int |
unit | ) |
|
References lm, ScaleCoordinates, ArrowMarker::setEndPoint(), ArrowMarker::setStartPoint(), DoubleSpinBox::value(), xEndBox, xEndPixelBox, xStartBox, xStartPixelBox, yEndBox, yEndPixelBox, yStartBox, and yStartPixelBox.
Referenced by apply().
§ setDefaultValues
void LineDialog::setDefaultValues |
( |
| ) |
|
|
slot |
§ attachToBox
QComboBox* LineDialog::attachToBox |
|
private |
§ boxHeadAngle
QSpinBox* LineDialog::boxHeadAngle |
|
private |
§ boxHeadLength
QSpinBox * LineDialog::boxHeadLength |
|
private |
§ btnApply
QPushButton* LineDialog::btnApply |
|
private |
§ btnOk
QPushButton* LineDialog::btnOk |
|
private |
§ buttonDefault
QPushButton* LineDialog::buttonDefault |
|
private |
§ colorBox
§ endBox
QCheckBox* LineDialog::endBox |
|
private |
§ filledBox
QCheckBox * LineDialog::filledBox |
|
private |
§ geometry
QWidget * LineDialog::geometry |
|
private |
§ head
QWidget * LineDialog::head |
|
private |
§ lm
§ options
QWidget* LineDialog::options |
|
private |
§ startBox
QCheckBox* LineDialog::startBox |
|
private |
§ styleBox
§ tw
QTabWidget* LineDialog::tw |
|
private |
§ unitBox
QComboBox* LineDialog::unitBox |
|
private |
§ widthBox
§ xEndBox
§ xEndPixelBox
QSpinBox * LineDialog::xEndPixelBox |
|
private |
§ xStartBox
§ xStartPixelBox
QSpinBox* LineDialog::xStartPixelBox |
|
private |
§ yEndBox
§ yEndPixelBox
QSpinBox * LineDialog::yEndPixelBox |
|
private |
§ yStartBox
§ yStartPixelBox
QSpinBox * LineDialog::yStartPixelBox |
|
private |
The documentation for this class was generated from the following files: