This is a subclass of LocationDialog using AbstractUi that implements the pure virtual methods of its base class. More...
#include <InputVector.h>
Public Member Functions | |
Base::Vector3d | getDirection () const |
Base::Vector3d | getPosition () const |
template<class T > | |
LocationDialogUiImp (T *t, QWidget *parent=0, Qt::WindowFlags fl=0) | |
virtual | ~LocationDialogUiImp () |
Public Member Functions inherited from Gui::LocationDialog | |
Base::Vector3d | getUserDirection (bool *ok=0) const |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Protected Member Functions inherited from Gui::LocationDialog | |
LocationDialog (QWidget *parent=0, Qt::WindowFlags fl=0) | |
virtual | ~LocationDialog () |
Protected Attributes | |
std::unique_ptr< AbstractUi > | ui |
Detailed Description
This is a subclass of LocationDialog using AbstractUi that implements the pure virtual methods of its base class.
Other dialog-based classes can directly inherit from this class if the location-interface is required. The advantage of this class compared to LocationDialogImp is that the ui_-header file doesn't need to be included in the header file of its sub-classes because it uses "type erasure with templates".
Constructor & Destructor Documentation
◆ LocationDialogUiImp()
Gui::LocationDialogUiImp::LocationDialogUiImp | ( | T * | t, |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | fl = 0 |
||
) |
◆ ~LocationDialogUiImp()
|
virtual |
Member Function Documentation
◆ changeEvent()
|
protectedvirtual |
Implements Gui::LocationDialog.
References ui.
◆ getDirection()
|
virtual |
Implements Gui::LocationDialog.
References ui.
◆ getPosition()
Base::Vector3d LocationDialogUiImp::getPosition | ( | ) | const |
References ui.
Member Data Documentation
◆ ui
|
protected |
Referenced by draftguitools.gui_splines.BSpline::action(), draftguitools.gui_beziers.BezCurve::action(), draftguitools.gui_lines.Line::action(), draftguitools.gui_texts.Text::action(), draftguitools.gui_mirror.Mirror::action(), draftguitools.gui_offset.Offset::action(), draftguitools.gui_ellipses.Ellipse::action(), draftguitools.gui_rectangles.Rectangle::action(), draftguitools.gui_shapestrings.ShapeString::action(), draftguitools.gui_labels.Label::action(), draftguitools.gui_dimensions.Dimension::action(), draftguitools.gui_styles.ApplyStyle::Activated(), draftguitools.gui_rectangles.Rectangle::Activated(), draftguitools.gui_ellipses.Ellipse::Activated(), draftguitools.gui_polygons.Polygon::Activated(), draftguitools.gui_facebinders.Facebinder::Activated(), draftguitools.gui_split.Split::Activated(), draftguitools.gui_texts.Text::Activated(), draftguitools.gui_downgrade.Downgrade::Activated(), draftguitools.gui_fillets.Fillet::Activated(), draftguitools.gui_draft2sketch.Draft2Sketch::Activated(), draftguitools.gui_upgrade.Upgrade::Activated(), draftguitools.gui_rotate.Rotate::Activated(), draftguitools.gui_shape2dview.Shape2DView::Activated(), draftguitools.gui_stretch.Stretch::Activated(), draftguitools.gui_arcs.Arc::Activated(), draftguitools.gui_join.Join::Activated(), draftguitools.gui_array_simple.Array::Activated(), draftguitools.gui_clone.Clone::Activated(), draftguitools.gui_circulararray.CircularArray::Activated(), draftguitools.gui_polararray.PolarArray::Activated(), draftguitools.gui_orthoarray.OrthoArray::Activated(), draftguitools.gui_stretch.Stretch::addPoint(), draftguitools.gui_ellipses.Ellipse::appendPoint(), draftguitools.gui_rectangles.Rectangle::appendPoint(), changeEvent(), DraftGui.DraftToolBar::changeEvent(), draftguitools.gui_orthoarray.OrthoArray::click(), draftguitools.gui_circulararray.CircularArray::click(), draftguitools.gui_polararray.PolarArray::click(), draftguitools.gui_dimensions.Dimension::createObject(), draftguitools.gui_polygons.Polygon::drawPolygon(), draftguitools.gui_edit.Edit::endEditing(), draftguitools.gui_rectangles.Rectangle::finish(), draftguitools.gui_ellipses.Ellipse::finish(), draftguitools.gui_texts.Text::finish(), draftguitools.gui_polygons.Polygon::finish(), draftguitools.gui_arcs.Arc::finish(), draftguitools.gui_mirror.Mirror::finish(), draftguitools.gui_move.Move::finish(), draftguitools.gui_lines.Line::finish(), draftguitools.gui_splines.BSpline::finish(), draftguitools.gui_points.Point::finish(), draftguitools.gui_base_original.DraftTool::finish(), draftguitools.gui_dimensions.Dimension::finish(), draftguitools.gui_beziers.BezCurve::finish(), draftguitools.gui_fillets.Fillet::finish(), draftguitools.gui_shapestrings.ShapeString::finish(), draftguitools.gui_rotate.Rotate::finish(), draftguitools.gui_edit.Edit::finish(), draftguitools.gui_beziers.CubicBezCurve::finish(), draftguitools.gui_trimex.Trimex::finish(), draftguitools.gui_rotate.Rotate::get_object_selection(), draftguitools.gui_move.Move::get_object_selection(), draftguitools.gui_scale.Scale::get_object_selection(), draftguitools.gui_subelements.SubelementHighlight::get_selection(), getDirection(), getPosition(), draftguitools.gui_base_original.DraftTool::getStrings(), draftguitools.gui_move.Move::handle_mouse_click_event(), draftguitools.gui_points.Point::move(), draftguitools.gui_circulararray.CircularArray::move(), draftguitools.gui_polararray.PolarArray::move(), draftguitools.gui_move.Move::move(), draftguitools.gui_move.Move::move_object(), draftguitools.gui_move.Move::move_subelements(), draftguitools.gui_shapestrings.ShapeString::numericInput(), draftguitools.gui_polygons.Polygon::numericInput(), draftguitools.gui_rotate.Rotate::numericInput(), draftguitools.gui_arcs.Arc::numericInput(), draftguitools.gui_offset.Offset::numericRadius(), draftguitools.gui_rotate.Rotate::numericRadius(), draftguitools.gui_arcs.Arc::numericRadius(), draftguitools.gui_groups.AddToGroup::proceed(), draftguitools.gui_edit.Edit::proceed(), draftguitools.gui_groups.SetAutoGroup::proceed(), draftguitools.gui_trimex.Trimex::redraw(), draftguitools.gui_rotate.Rotate::rotate(), draftguitools.gui_fillets.Fillet::set_chamfer(), draftguitools.gui_fillets.Fillet::set_delete(), draftguitools.gui_scale.Scale::set_ghosts(), draftguitools.gui_move.Move::set_ghosts(), draftguitools.gui_rotate.Rotate::set_ghosts(), draftguitools.gui_rotate.Rotate::set_start_point(), draftguitools.gui_edit.Edit::startEditing(), and draftguitools.gui_edit.Edit::updateTrackerAndGhost().
The documentation for this class was generated from the following files:
- src/Gui/InputVector.h
- src/Gui/InputVector.cpp