Version: 6.3.1
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes

BuildGUI_EdgeDlg Class Reference

#include <BuildGUI_EdgeDlg.h>

Inheritance diagram for BuildGUI_EdgeDlg:
Inheritance graph

Signals

void constructorsClicked (int)

Public Member Functions

 BuildGUI_EdgeDlg (GeometryGUI *, QWidget *=0)
 ~BuildGUI_EdgeDlg ()

Protected Slots

virtual void ClickOnCancel ()
virtual void processPreview ()
void LineEditReturnPressed ()
void DeactivateActiveDialog ()
void ClickOnHelp ()

Protected Member Functions

virtual GEOM::GEOM_IOperations_ptr createOperation ()
virtual bool isValid (QString &)
virtual bool execute (ObjectList &)
virtual void addSubshapesToStudy ()
void initSpinBox (QSpinBox *, int, int, int=1)
void initSpinBox (SalomeApp_DoubleSpinBox *, double, double, double=0.1, const char *="length_precision")
void updateAttributes (GEOM::GEOM_Object_ptr, const QStringList &)
void closeEvent (QCloseEvent *)
void keyPressEvent (QKeyEvent *)
void initName (const QString &=QString())
virtual QString getNewObjectName () const
int getConstructorId () const
void setConstructorId (const int)
void unsetConstructorId ()
void showOnlyPreviewControl ()
void setHelpFileName (const QString &)
DlgRef_SkeletonmainFrame ()
QWidgetcentralWidget ()
QPushButton * buttonCancel () const
QPushButton * buttonOk () const
QPushButton * buttonApply () const
QPushButton * buttonHelp () const
void display (const ObjectList &, const bool=true)
void display (GEOM::GEOM_Object_ptr, const bool=true)
void erase (const ObjectList &, const bool=true)
void erase (GEOM::GEOM_Object_ptr, const bool=true)
void redisplay (const ObjectList &, const bool=true, const bool=true)
void redisplay (GEOM::GEOM_Object_ptr, const bool=true, const bool=true)
virtual void displayPreview (const bool display, const bool activate=false, const bool update=true, const bool toRemoveFromEngine=true, const double lineWidth=-1, const int displayMode=-1, const int color=-1)
virtual void displayPreview (GEOM::GEOM_Object_ptr obj, const bool append=false, const bool activate=false, const bool update=true, const double lineWidth=-1, const int displayMode=-1, const int color=-1)
void displayPreview (const SALOME_Prs *prs, const bool append=false, const bool=true)
void erasePreview (const bool=true)
void localSelection (const ObjectList &, const int)
void localSelection (GEOM::GEOM_Object_ptr, const int)
void activate (const int)
void globalSelection (const int=GEOM_ALLOBJECTS, const bool=false)
void globalSelection (const TColStd_MapOfInteger &, const bool=false)
void globalSelection (const TColStd_MapOfInteger &, const QList< int > &, const bool=false)
void updateViewer ()
void prepareSelection (const ObjectList &, const int)
void prepareSelection (GEOM::GEOM_Object_ptr, const int)
QString addInStudy (GEOM::GEOM_Object_ptr, const char *theName)
bool openCommand ()
bool abortCommand ()
bool commitCommand (const char *=0)
bool hasCommand () const
void updateObjBrowser () const
int getStudyId () const
SalomeApp_Study * getStudy () const
bool checkViewWindow ()
bool onAccept (const bool publish=true, const bool useTransaction=true)
void showError ()
void showError (const QString &msg)
GEOM::GEOM_IOperations_ptr getOperation ()
void setPrefix (const QString &prefix)
QString getPrefix (GEOM::GEOM_Object_ptr=GEOM::GEOM_Object::_nil()) const
bool selectObjects (ObjectList &objects)
virtual void restoreSubShapes (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject)
virtual GEOM::GEOM_Object_ptr getFather (GEOM::GEOM_Object_ptr theObj)
virtual bool extractPrefix () const
GEOM::GEOM_Object_ptr findObjectInFather (GEOM::GEOM_Object_ptr theFather, const QString &theName)
GEOM::GEOM_Object_ptr findObjectInFather (GEOM::GEOM_Object_ptr theFather, int theIndex)
GEOM::GeomObjPtr getSelected (TopAbs_ShapeEnum type)
GEOM::GeomObjPtr getSelected (const QList< TopAbs_ShapeEnum > &types)
QList< GEOM::GeomObjPtrgetSelected (TopAbs_ShapeEnum type, int count, bool strict=true)
QList< GEOM::GeomObjPtrgetSelected (const QList< TopAbs_ShapeEnum > &types, int count, bool strict=true)
void SetIsPreview (const bool thePreview)
bool IsPreview ()
GEOM_DisplayergetDisplayer ()
SUIT_Desktop * getDesktop () const
virtual void setIsApplyAndClose (const bool theFlag)
virtual bool isApplyAndClose () const
virtual void setIsOptimizedBrowsing (const bool theFlag)
virtual bool isOptimizedBrowsing () const

Static Protected Member Functions

static GEOM::GEOM_Gen_ptr getGeomEngine ()

Protected Attributes

QLineEdit * myEditCurrentArgument
 Current LineEdit.
GeometryGUImyGeomGUI
 reference GEOM GUI
QString myHelpFileName
 Associated HTML help file name.
QButtonGroup * myRBGroup
 radio button group
DlgRef_SkeletonmyMainFrame
 dialog box's mainframe widgetx

Private Slots

void ConstructorsClicked (int)
void ClickOnOk ()
bool ClickOnApply ()
void ActivateThisDialog ()
void SelectionIntoArgument ()
void SetEditCurrentArgument ()
void ValueChangedInSpinBox (double)

Private Member Functions

void Init ()
void enterEvent (QEvent *)

Private Attributes

GEOM::GeomObjPtr myPoint1
GEOM::GeomObjPtr myPoint2
GEOM::GeomObjPtr myWire
GEOM::GeomObjPtr myCurve
GEOM::GeomObjPtr myStartPoint
DlgRef_2SelGroupPoints
DlgRef_1Sel2SpinGroupWire
DlgRef_2Sel1SpinGroupOnCurve

Constructor & Destructor Documentation

BuildGUI_EdgeDlg::BuildGUI_EdgeDlg ( GeometryGUI theGeometryGUI,
QWidget parent = 0 
)
BuildGUI_EdgeDlg::~BuildGUI_EdgeDlg ( )

Member Function Documentation

GEOM::GEOM_IOperations_ptr BuildGUI_EdgeDlg::createOperation ( ) [protected, virtual]
bool BuildGUI_EdgeDlg::isValid ( QString &  msg) [protected, virtual]
bool BuildGUI_EdgeDlg::execute ( ObjectList objects) [protected, virtual]
void BuildGUI_EdgeDlg::addSubshapesToStudy ( ) [protected, virtual]
void BuildGUI_EdgeDlg::Init ( ) [private]
void BuildGUI_EdgeDlg::enterEvent ( QEvent *  ) [private]
void BuildGUI_EdgeDlg::ConstructorsClicked ( int  constructorId) [private, slot]
void BuildGUI_EdgeDlg::ClickOnOk ( ) [private, slot]
bool BuildGUI_EdgeDlg::ClickOnApply ( ) [private, slot]
void BuildGUI_EdgeDlg::ActivateThisDialog ( ) [private, slot]
void BuildGUI_EdgeDlg::SelectionIntoArgument ( ) [private, slot]
void BuildGUI_EdgeDlg::SetEditCurrentArgument ( ) [private, slot]
void BuildGUI_EdgeDlg::ValueChangedInSpinBox ( double  newValue) [private, slot]
void GEOMBase_Skeleton::initSpinBox ( QSpinBox *  spinBox,
int  min,
int  max,
int  step = 1 
) [protected, inherited]
void GEOMBase_Skeleton::initSpinBox ( SalomeApp_DoubleSpinBox *  spinBox,
double  min,
double  max,
double  step = 0.1,
const char *  quantity = "length_precision" 
) [protected, inherited]
void GEOMBase_Skeleton::updateAttributes ( GEOM::GEOM_Object_ptr  theObj,
const QStringList &  theParameters 
) [protected, inherited]
void GEOMBase_Skeleton::closeEvent ( QCloseEvent *  e) [protected, inherited]
void GEOMBase_Skeleton::keyPressEvent ( QKeyEvent *  e) [protected, inherited]
void GEOMBase_Skeleton::initName ( const QString &  thePrefix = QString()) [protected, inherited]

initialize "Name" field with a string "thePrefix_X" (Vertex_3)

References GEOMBase.GetDefaultName(), GEOMBase_Helper.getPrefix(), GEOMBase_Skeleton.myMainFrame, and GEOMBase_Helper.setPrefix().

QString GEOMBase_Skeleton::getNewObjectName ( ) const [protected, virtual, inherited]

returns contents of "Name" field

Reimplemented from GEOMBase_Helper.

Reimplemented in BlocksGUI_ExplodeDlg, and EntityGUI_SubShapeDlg.

References GEOMBase_Skeleton.myMainFrame.

int GEOMBase_Skeleton::getConstructorId ( ) const [protected, inherited]

returns id of a selected "constructor" radio button or '-1' in case of error

References GEOMBase_Skeleton.myRBGroup.

void GEOMBase_Skeleton::setConstructorId ( const int  id) [protected, inherited]

set selected "constructor" radio button id

References GEOMBase_Skeleton.myRBGroup.

void GEOMBase_Skeleton::unsetConstructorId ( ) [protected, inherited]

unset selection on all "constructor" radio buttons

References GEOMBase_Skeleton.myRBGroup.

void GEOMBase_Skeleton::showOnlyPreviewControl ( ) [protected, inherited]
void GEOMBase_Skeleton::setHelpFileName ( const QString &  theName) [protected, inherited]
DlgRef_Skeleton * GEOMBase_Skeleton::mainFrame ( ) [protected, inherited]
QWidget * GEOMBase_Skeleton::centralWidget ( ) [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonCancel ( ) const [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonOk ( ) const [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonApply ( ) const [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonHelp ( ) const [protected, inherited]
void GEOMBase_Skeleton::ClickOnCancel ( ) [protected, virtual, slot, inherited]

Reimplemented in RepairGUI_GlueDlg.

void GEOMBase_Skeleton::processPreview ( ) [protected, virtual, slot, inherited]
void GEOMBase_Skeleton::LineEditReturnPressed ( ) [protected, slot, inherited]
void GEOMBase_Skeleton::DeactivateActiveDialog ( ) [protected, slot, inherited]
void GEOMBase_Skeleton::ClickOnHelp ( ) [protected, slot, inherited]
void GEOMBase_Skeleton.constructorsClicked ( int  ) [signal, inherited]
GEOM::GEOM_Gen_ptr GEOMBase_Helper::getGeomEngine ( ) [static, protected, inherited]
void GEOMBase_Helper::display ( const ObjectList objList,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::display ( GEOM::GEOM_Object_ptr  object,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::erase ( const ObjectList objList,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::erase ( GEOM::GEOM_Object_ptr  object,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::redisplay ( const ObjectList objList,
const bool  withChildren = true,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::redisplay ( GEOM::GEOM_Object_ptr  object,
const bool  withChildren = true,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::displayPreview ( const bool  display,
const bool  activate = false,
const bool  update = true,
const bool  toRemoveFromEngine = true,
const double  lineWidth = -1,
const int  displayMode = -1,
const int  color = -1 
) [protected, virtual, inherited]
void GEOMBase_Helper::displayPreview ( GEOM::GEOM_Object_ptr  obj,
const bool  append = false,
const bool  activate = false,
const bool  update = true,
const double  lineWidth = -1,
const int  displayMode = -1,
const int  color = -1 
) [protected, virtual, inherited]
void GEOMBase_Helper::displayPreview ( const SALOME_Prs *  prs,
const bool  append = false,
const bool  update = true 
) [protected, inherited]
void GEOMBase_Helper::erasePreview ( const bool  update = true) [protected, inherited]
void GEOMBase_Helper::localSelection ( const ObjectList theObjs,
const int  theMode 
) [protected, inherited]
void GEOMBase_Helper::localSelection ( GEOM::GEOM_Object_ptr  obj,
const int  mode 
) [protected, inherited]
void GEOMBase_Helper::activate ( const int  theType) [protected, inherited]
void GEOMBase_Helper::globalSelection ( const int  theMode = GEOM_ALLOBJECTS,
const bool  update = false 
) [protected, inherited]
void GEOMBase_Helper::globalSelection ( const TColStd_MapOfInteger &  theModes,
const bool  update = false 
) [protected, inherited]
void GEOMBase_Helper::globalSelection ( const TColStd_MapOfInteger &  theModes,
const QList< int > &  subShapes,
const bool  update = false 
) [protected, inherited]
void GEOMBase_Helper::updateViewer ( ) [protected, inherited]
void GEOMBase_Helper.prepareSelection ( const ObjectList ,
const int   
) [protected, inherited]
void GEOMBase_Helper.prepareSelection ( GEOM::GEOM_Object_ptr  ,
const int   
) [protected, inherited]
QString GEOMBase_Helper::addInStudy ( GEOM::GEOM_Object_ptr  theObj,
const char *  theName 
) [protected, inherited]
bool GEOMBase_Helper::openCommand ( ) [protected, inherited]
bool GEOMBase_Helper::abortCommand ( ) [protected, inherited]
bool GEOMBase_Helper::commitCommand ( const char *  = 0) [protected, inherited]
bool GEOMBase_Helper::hasCommand ( ) const [protected, inherited]
void GEOMBase_Helper::updateObjBrowser ( ) const [protected, inherited]
int GEOMBase_Helper::getStudyId ( ) const [protected, inherited]
SalomeApp_Study * GEOMBase_Helper::getStudy ( ) const [protected, inherited]
bool GEOMBase_Helper::checkViewWindow ( ) [protected, inherited]
bool GEOMBase_Helper::onAccept ( const bool  publish = true,
const bool  useTransaction = true 
) [protected, inherited]
void GEOMBase_Helper::showError ( ) [protected, inherited]
void GEOMBase_Helper::showError ( const QString &  msg) [protected, inherited]
GEOM::GEOM_IOperations_ptr GEOMBase_Helper::getOperation ( ) [protected, inherited]
void GEOMBase_Helper.setPrefix ( const QString &  prefix) [protected, inherited]
QString GEOMBase_Helper::getPrefix ( GEOM::GEOM_Object_ptr  theObj = GEOM::GEOM_Object::_nil()) const [protected, inherited]
bool GEOMBase_Helper::selectObjects ( ObjectList objects) [protected, inherited]
void GEOMBase_Helper::restoreSubShapes ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theSObject 
) [protected, virtual, inherited]
GEOM::GEOM_Object_ptr GEOMBase_Helper::getFather ( GEOM::GEOM_Object_ptr  theObj) [protected, virtual, inherited]
bool GEOMBase_Helper::extractPrefix ( ) const [protected, virtual, inherited]
GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather ( GEOM::GEOM_Object_ptr  theFather,
const QString &  theName 
) [protected, inherited]
GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather ( GEOM::GEOM_Object_ptr  theFather,
int  theIndex 
) [protected, inherited]
GEOM::GeomObjPtr GEOMBase_Helper::getSelected ( TopAbs_ShapeEnum  type) [protected, inherited]
GEOM::GeomObjPtr GEOMBase_Helper::getSelected ( const QList< TopAbs_ShapeEnum > &  types) [protected, inherited]
QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected ( TopAbs_ShapeEnum  type,
int  count,
bool  strict = true 
) [protected, inherited]
QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected ( const QList< TopAbs_ShapeEnum > &  types,
int  count,
bool  strict = true 
) [protected, inherited]
void GEOMBase_Helper.SetIsPreview ( const bool  thePreview) [protected, inherited]
bool GEOMBase_Helper.IsPreview ( ) [protected, inherited]
GEOM_Displayer * GEOMBase_Helper::getDisplayer ( ) [protected, inherited]
SUIT_Desktop * GEOMBase_Helper::getDesktop ( ) const [protected, inherited]
void GEOMBase_Helper::setIsApplyAndClose ( const bool  theFlag) [protected, virtual, inherited]
bool GEOMBase_Helper::isApplyAndClose ( ) const [protected, virtual, inherited]
void GEOMBase_Helper::setIsOptimizedBrowsing ( const bool  theFlag) [protected, virtual, inherited]
bool GEOMBase_Helper::isOptimizedBrowsing ( ) const [protected, virtual, inherited]

Field Documentation

QLineEdit* GEOMBase_Skeleton.myEditCurrentArgument [protected, inherited]
GeometryGUI* GEOMBase_Skeleton.myGeomGUI [protected, inherited]
QString GEOMBase_Skeleton.myHelpFileName [protected, inherited]
QButtonGroup* GEOMBase_Skeleton.myRBGroup [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS