OGS
|
A dialog window for manipulation of polylines. Currently included functionality is the concatenation of polylines as well as creating polygons or surfaces from polylines.
Definition at line 29 of file LineEditDialog.h.
#include <LineEditDialog.h>
Signals | |
void | connectPolylines (const std::string &, std::vector< std::size_t >, double, std::string, bool, bool) |
void | triangulateSurface (const GeoLib::Polyline) |
Public Member Functions | |
LineEditDialog (const GeoLib::PolylineVec &ply_vec, QDialog *parent=nullptr) | |
~LineEditDialog () override | |
Private Slots | |
void | on_selectPlyButton_pressed () |
Instructions when polylines are selected. | |
void | on_deselectPlyButton_pressed () |
Instructions when polylines are deselected. | |
void | accept () override |
Instructions if the OK-Button has been pressed. | |
void | reject () override |
Instructions if the Cancel-Button has been pressed. | |
Private Member Functions | |
std::vector< std::size_t > | getSelectedIndeces (QStringList list) |
Private Attributes | |
QStringListModel * | _allPly |
QStringListModel * | _selPly |
std::string | _geoName |
|
explicit |
Definition at line 22 of file LineEditDialog.cpp.
References _allPly, _selPly, GeoLib::TemplateVec< T >::getNameOfElementByID(), and GeoLib::TemplateVec< T >::size().
|
override |
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 84 of file LineEditDialog.cpp.
References _geoName, _selPly, OGSError::box(), connectPolylines(), and getSelectedIndeces().
|
signal |
Referenced by accept().
|
private |
Definition at line 116 of file LineEditDialog.cpp.
Referenced by accept().
|
privateslot |
Instructions when polylines are deselected.
Definition at line 69 of file LineEditDialog.cpp.
|
privateslot |
Instructions when polylines are selected.
Definition at line 54 of file LineEditDialog.cpp.
|
overrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 111 of file LineEditDialog.cpp.
|
signal |
|
private |
Definition at line 41 of file LineEditDialog.h.
Referenced by LineEditDialog(), ~LineEditDialog(), on_deselectPlyButton_pressed(), and on_selectPlyButton_pressed().
|
private |
Definition at line 43 of file LineEditDialog.h.
Referenced by accept().
|
private |
Definition at line 42 of file LineEditDialog.h.
Referenced by LineEditDialog(), ~LineEditDialog(), accept(), on_deselectPlyButton_pressed(), and on_selectPlyButton_pressed().