Version: 8.3.0
SMESHGUI_SpinBox Class Reference

#include <SMESHGUI_SpinBox.h>

Inheritance diagram for SMESHGUI_SpinBox:

Public Slots

void SetStep (double)
 

Public Member Functions

 SMESHGUI_SpinBox (QWidget *)
 
 ~SMESHGUI_SpinBox ()
 
void RangeStepAndValidator (double=-1000000.0, double=+1000000.0, double=100.0, const char *="length_precision")
 
void SetValue (double)
 
double GetValue () const
 
QString GetString () const
 
QLineEdit * editor () const
 

Constructor & Destructor Documentation

SMESHGUI_SpinBox::SMESHGUI_SpinBox ( QWidget parent)
SMESHGUI_SpinBox::~SMESHGUI_SpinBox ( )

Member Function Documentation

QString SMESHGUI_SpinBox::GetString ( ) const
double SMESHGUI_SpinBox::GetValue ( ) const

Referenced by SMESHGUI_NodesDlg::ClickOnApply(), SMESHGUI_BuildCompoundDlg::ClickOnApply(), SMESHGUI_AddMeshElementDlg::ClickOnApply(), SMESHGUI_SmoothingDlg::ClickOnApply(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_SewingDlg::ClickOnApply(), SMESHGUI_AddMeshElementDlg::displaySimulation(), SMESHGUI_ExtrusionDlg::getExtrusionVector(), SMESHGUI_SymmetryDlg::getMirror(), StdMeshersGUI_StdHypothesisCreator::getParamFromCustomWidget(), SMESHGUI_ScaleDlg::getScale(), SMESHGUI_ExtrusionDlg::getScaleParams(), SMESHGUI_RotationDlg::IsAxisOk(), SMESHGUI_RevolutionDlg::IsAxisOk(), SMESHGUI_SymmetryDlg::IsMirrorOk(), SMESHGUI_ReorientFacesOp::isValid(), SMESHGUI_ExtrusionDlg::isValuesValid(), SMESHGUI_ExtrusionAlongPathDlg::OnAngleAdded(), SMESHGUI_ReorientFacesOp::onApply(), SMESHGUI_MakeNodeAtPointOp::onApply(), SMESHGUI_MergeDlg::onDetect(), SMESHGUI_SewingDlg::onDetectClicked(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), SMESHGUI_TranslationDlg::onDisplaySimulation(), SMESHGUI_RotationDlg::onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_FindElemByPointOp::onFind(), SMESHGUI_ExtrusionDlg::OnScaleAdded(), SMESHGUI_MakeNodeAtPointOp::onSelectionDone(), StdMeshersGUI::GridAxisTab::onStepChange(), SMESHGUI_UnionOfTrianglesDlg::process(), SMESHGUI_SplitVolumesDlg::process(), SMESHGUI_FindElemByPointOp::redisplayPreview(), SMESHGUI_MakeNodeAtPointOp::redisplayPreview(), SMESHGUI_NodesDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), StdMeshersGUI::LineDelegate::setModelData(), SMESHGUI_FilterTable::AdditionalWidget::SetPrecision(), SMESHGUI_FindElemByPointOp::SMESHGUI_FindElemByPointOp(), StdMeshersGUI_CartesianParamCreator::storeParams(), and SMESHGUI_NodesDlg::ValueChangedInSpinBox().

void SMESHGUI_SpinBox::RangeStepAndValidator ( double  min = -1000000.0,
double  max = +1000000.0,
double  step = 100.0,
const char *  quantity = "length_precision" 
)

Referenced by SMESHGUI_FilterTable::AdditionalWidget::AdditionalWidget(), StdMeshersGUI_StdHypothesisCreator::attuneStdWidget(), StdMeshersGUI_NbSegmentsCreator::buildFrame(), StdMeshersGUI_CartesianParamCreator::buildFrame(), StdMeshersGUI_DistrTableFrame::SpinBoxDelegate::createEditor(), StdMeshersGUI::LineDelegate::createEditor(), StdMeshersGUI_QuadrangleParamCreator::ItemDelegate::createEditor(), SMESHGUI_ReorientFacesDlg::createMainFrame(), SMESHGUI_FindElemByPointDlg::createMainFrame(), SMESHGUI_MakeNodeAtPointDlg::createMainFrame(), StdMeshersGUI::GridAxisTab::GridAxisTab(), SMESHGUI_NodesDlg::Init(), SMESHGUI_MergeDlg::Init(), StdMeshersGUI::LineDelegate::setEditorData(), SMESHGUI_FilterTable::AdditionalWidget::SetPrecision(), SMESHGUI_AddMeshElementDlg::SMESHGUI_AddMeshElementDlg(), SMESHGUI_BuildCompoundDlg::SMESHGUI_BuildCompoundDlg(), SMESHGUI_CtrlInfo::SMESHGUI_CtrlInfo(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg(), SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SewingDlg::SMESHGUI_SewingDlg(), SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg(), SMESHGUI_SplitVolumesDlg::SMESHGUI_SplitVolumesDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg(), StdMeshersGUI_FixedPointsParamWdg::StdMeshersGUI_FixedPointsParamWdg(), and StdMeshersGUI_StdHypothesisCreator::stdParams().

void SMESHGUI_SpinBox::SetValue ( double  v)

References editor().

Referenced by StdMeshersGUI_CartesianParamCreator::buildFrame(), SMESHGUI_MakeNodeAtPointDlg::ConstructorsClicked(), SMESHGUI_ReorientFacesDlg::createMainFrame(), SMESHGUI_FindElemByPointDlg::createMainFrame(), StdMeshersGUI::GridAxisTab::GridAxisTab(), SMESHGUI_ScaleDlg::Init(), SMESHGUI_TranslationDlg::Init(), SMESHGUI_SymmetryDlg::Init(), SMESHGUI_RotationDlg::Init(), SMESHGUI_BuildCompoundDlg::Init(), SMESHGUI_ExtrusionAlongPathDlg::Init(), SMESHGUI_NodesDlg::Init(), SMESHGUI_RevolutionDlg::Init(), SMESHGUI_MergeDlg::Init(), SMESHGUI_ExtrusionDlg::Init(), SMESHGUI_MakeNodeAtPointOp::onApply(), StdMeshersGUI_CartesianParamCreator::onOptimalAxes(), StdMeshersGUI_CartesianParamCreator::onOrthogonalAxes(), StdMeshersGUI_CartesianParamCreator::onResetAxes(), StdMeshersGUI_CartesianParamCreator::onSelectionChange(), SMESHGUI_MakeNodeAtPointOp::onSelectionDone(), SMESHGUI_BuildCompoundDlg::onSelectMerge(), SMESHGUI_SplitVolumesDlg::onSetDir(), StdMeshersGUI::GridAxisTab::onStepChange(), SMESHGUI_MakeNodeAtPointOp::redisplayPreview(), StdMeshersGUI_CartesianParamCreator::retrieveParams(), SMESHGUI_ReorientFacesOp::selectionDone(), SMESHGUI_NodesDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), StdMeshersGUI::LineDelegate::setEditorData(), SMESHGUI_FilterTable::AdditionalWidget::SetPrecision(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), SMESHGUI_AddMeshElementDlg::SMESHGUI_AddMeshElementDlg(), SMESHGUI_CtrlInfo::SMESHGUI_CtrlInfo(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_SewingDlg::SMESHGUI_SewingDlg(), SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg(), SMESHGUI_SplitVolumesDlg::SMESHGUI_SplitVolumesDlg(), SMESHGUI_MakeNodeAtPointOp::startOperation(), and StdMeshersGUI_StdHypothesisCreator::stdParams().