#include <StdMeshersGUI_FixedPointsParamWdg.h>
Data Structures | |
class | LineDelegate |
Public Member Functions | |
StdMeshersGUI_FixedPointsParamWdg (QWidget *parent=0) | |
Constructor. More... | |
~StdMeshersGUI_FixedPointsParamWdg () | |
Destructor. More... | |
bool | eventFilter (QObject *, QEvent *) |
Event filter. More... | |
SMESH::double_array_var | GetListOfPoints () |
void | SetListOfPoints (SMESH::double_array_var) |
SMESH::long_array_var | GetListOfSegments () |
void | SetListOfSegments (SMESH::long_array_var) |
QString | GetValue () const |
Private Slots | |
void | onAdd () |
void | onRemove () |
void | onCheckBoxChanged () |
void | updateState () |
Private Member Functions | |
void | clear () |
Clear widget. More... | |
void | addPoint (double) |
void | removePoints () |
double | point (int) const |
void | setNbSegments (int, int) |
int | nbSegments (int) const |
Static Private Member Functions | |
static QTreeWidgetItem * | newTreeItem (double v1, double v2) |
static QListWidgetItem * | newListItem (double v1) |
static QString | treeItemText (double v1, double v2) |
Private Attributes | |
QListWidget * | myListWidget |
QTreeWidget * | myTreeWidget |
SMESHGUI_SpinBox * | mySpinBox |
QPushButton * | myAddButton |
QPushButton * | myRemoveButton |
QCheckBox * | mySameValues |
QString | myParamValue |
StdMeshersGUI_FixedPointsParamWdg::StdMeshersGUI_FixedPointsParamWdg | ( | QWidget * | parent = 0 | ) |
Constructor.
References clear(), MARGIN, myAddButton, myListWidget, myRemoveButton, mySameValues, mySpinBox, myTreeWidget, onAdd(), onCheckBoxChanged(), onRemove(), SMESHGUI_SpinBox::RangeStepAndValidator(), SPACING, and updateState().
StdMeshersGUI_FixedPointsParamWdg::~StdMeshersGUI_FixedPointsParamWdg | ( | ) |
Destructor.
|
private |
References EQUAL_DBL, GT_DBL, LT_DBL, myListWidget, myTreeWidget, newListItem(), newTreeItem(), onCheckBoxChanged(), point(), treeItemText(), and updateState().
Referenced by onAdd(), and SetListOfPoints().
|
private |
Clear widget.
References myListWidget, mySpinBox, myTreeWidget, newTreeItem(), onCheckBoxChanged(), and updateState().
Referenced by SetListOfPoints(), and StdMeshersGUI_FixedPointsParamWdg().
Event filter.
References myListWidget, and removePoints().
SMESH::double_array_var StdMeshersGUI_FixedPointsParamWdg::GetListOfPoints | ( | ) |
References myListWidget, and point().
Referenced by StdMeshersGUI_StdHypothesisCreator::storeParams().
SMESH::long_array_var StdMeshersGUI_FixedPointsParamWdg::GetListOfSegments | ( | ) |
References mySameValues, myTreeWidget, and nbSegments().
Referenced by StdMeshersGUI_StdHypothesisCreator::storeParams().
QString StdMeshersGUI_FixedPointsParamWdg::GetValue | ( | ) | const |
References myTreeWidget.
Referenced by GetListOfSegments(), and onCheckBoxChanged().
|
staticprivate |
Referenced by addPoint().
|
staticprivate |
References treeItemText().
Referenced by addPoint(), and clear().
|
privateslot |
References addPoint(), and mySpinBox.
Referenced by StdMeshersGUI_FixedPointsParamWdg().
|
privateslot |
References mySameValues, myTreeWidget, nbSegments(), and setNbSegments().
Referenced by addPoint(), clear(), removePoints(), and StdMeshersGUI_FixedPointsParamWdg().
|
privateslot |
References removePoints().
Referenced by StdMeshersGUI_FixedPointsParamWdg().
|
private |
References myListWidget.
Referenced by addPoint(), GetListOfPoints(), and removePoints().
|
private |
References myListWidget, myTreeWidget, onCheckBoxChanged(), point(), treeItemText(), and updateState().
Referenced by eventFilter(), and onRemove().
void StdMeshersGUI_FixedPointsParamWdg::SetListOfPoints | ( | SMESH::double_array_var | thePoints | ) |
References addPoint(), and clear().
Referenced by StdMeshersGUI_StdHypothesisCreator::stdParams().
void StdMeshersGUI_FixedPointsParamWdg::SetListOfSegments | ( | SMESH::long_array_var | theSegments | ) |
References myListWidget, mySameValues, and setNbSegments().
Referenced by StdMeshersGUI_StdHypothesisCreator::stdParams().
References mySameValues, myTreeWidget, and SAME_TEXT.
Referenced by onCheckBoxChanged(), and SetListOfSegments().
|
staticprivate |
Referenced by addPoint(), newTreeItem(), and removePoints().
|
privateslot |
References GT_DBL, LT_DBL, myAddButton, myListWidget, myRemoveButton, and mySpinBox.
Referenced by addPoint(), clear(), removePoints(), and StdMeshersGUI_FixedPointsParamWdg().
|
private |
Referenced by StdMeshersGUI_FixedPointsParamWdg(), and updateState().
|
private |
Referenced by addPoint(), clear(), eventFilter(), GetListOfPoints(), point(), removePoints(), SetListOfSegments(), StdMeshersGUI_FixedPointsParamWdg(), and updateState().
|
private |
|
private |
Referenced by StdMeshersGUI_FixedPointsParamWdg(), and updateState().
|
private |
Referenced by GetListOfSegments(), onCheckBoxChanged(), SetListOfSegments(), setNbSegments(), and StdMeshersGUI_FixedPointsParamWdg().
|
private |
Referenced by clear(), onAdd(), StdMeshersGUI_FixedPointsParamWdg(), and updateState().
|
private |
Referenced by addPoint(), clear(), GetListOfSegments(), nbSegments(), onCheckBoxChanged(), removePoints(), setNbSegments(), and StdMeshersGUI_FixedPointsParamWdg().