OGS
|
Small dialog for setting a name for an object.
Definition at line 31 of file SelectMeshDialog.h.
#include <SelectMeshDialog.h>
Public Member Functions | |
SelectMeshDialog (const GeoLib::GeoObject *geo_object, const std::list< std::string > &msh_names, QDialog *parent=nullptr) | |
Constructor. | |
~SelectMeshDialog () override | |
Public Attributes | |
QDialogButtonBox * | _buttonBox |
Private Slots | |
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 | |
void | setupDialog (const std::list< std::string > &msh_names) |
The buttons used in this dialog. | |
Private Attributes | |
QLabel * | _txt_label |
QComboBox * | _msh_names |
QVBoxLayout * | _layout |
const GeoLib::GeoObject * | _geo_object |
SelectMeshDialog::SelectMeshDialog | ( | const GeoLib::GeoObject * | geo_object, |
const std::list< std::string > & | msh_names, | ||
QDialog * | parent = nullptr ) |
Constructor.
Definition at line 24 of file SelectMeshDialog.cpp.
References setupDialog().
|
override |
Definition at line 33 of file SelectMeshDialog.cpp.
References _buttonBox, _layout, _msh_names, and _txt_label.
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 66 of file SelectMeshDialog.cpp.
Referenced by setupDialog().
|
overrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 74 of file SelectMeshDialog.cpp.
Referenced by setupDialog().
|
private |
The buttons used in this dialog.
Constructs a dialog window
Definition at line 41 of file SelectMeshDialog.cpp.
References _buttonBox, _layout, _msh_names, _txt_label, accept(), and reject().
Referenced by SelectMeshDialog().
QDialogButtonBox* SelectMeshDialog::_buttonBox |
Definition at line 42 of file SelectMeshDialog.h.
Referenced by ~SelectMeshDialog(), and setupDialog().
|
private |
Definition at line 51 of file SelectMeshDialog.h.
|
private |
Definition at line 50 of file SelectMeshDialog.h.
Referenced by ~SelectMeshDialog(), and setupDialog().
|
private |
Definition at line 49 of file SelectMeshDialog.h.
Referenced by ~SelectMeshDialog(), and setupDialog().
|
private |
Definition at line 48 of file SelectMeshDialog.h.
Referenced by ~SelectMeshDialog(), and setupDialog().