BuildGUI_WireDlg Class Reference

#include <BuildGUI_WireDlg.h>

Inheritance diagram for BuildGUI_WireDlg:

Inheritance graph

Public Member Functions

 BuildGUI_WireDlg (GeometryGUI *theGeometryGUI, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
 ~BuildGUI_WireDlg ()

Data Fields

QGroupBox * GroupMedium
QGroupBox * GroupButtons
QPushButton * buttonOk
QPushButton * buttonApply
QPushButton * buttonCancel
QPushButton * buttonHelp
QButtonGroup * GroupConstructors
QRadioButton * RadioButton1
QRadioButton * RadioButton2
QRadioButton * RadioButton3
QRadioButton * RadioButton4
QGroupBox * GroupBoxName
QLineEdit * ResultName
QLabel * NameLabel

Protected Slots

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

Protected Member Functions

virtual GEOM::GEOM_IOperations_ptr createOperation ()
virtual bool isValid (QString &msg)
virtual bool execute (ObjectList &objects)
void closeEvent (QCloseEvent *e)
void keyPressEvent (QKeyEvent *e)
void initName (const char *thePrefix=0)
virtual const char * getNewObjectName () const
int getConstructorId () const
void setHelpFileName (const QString &)
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 activate=false, const bool update=true, const bool toRemoveFromEngine=true, const double lineWidth=-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)
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 updateViewer ()
void prepareSelection (const ObjectList &, const int)
void prepareSelection (GEOM::GEOM_Object_ptr, const int)
void 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
const SALOME_ListIO & selectedIO ()
int IObjectCount ()
 Handle (SALOME_InteractiveObject) firstIObject()
 Handle (SALOME_InteractiveObject) lastIObject()
virtual GEOM::GEOM_Object_ptr getFather (GEOM::GEOM_Object_ptr theObj)
void SetIsPreview (const bool thePreview)
bool IsPreview ()
GEOM_DisplayergetDisplayer ()
SUIT_Desktop * getDesktop () const

Static Protected Member Functions

static GEOM::GEOM_Gen_ptr getGeomEngine ()

Protected Attributes

QLineEdit * myEditCurrentArgument
 Current LineEdit.
GeometryGUImyGeomGUI
 reference GEOM GUI
QString myHelpFileName
QGridLayout * DlgRef_Skeleton_QTDLayout
QGridLayout * Layout1
QHBoxLayout * GroupButtonsLayout
QHBoxLayout * Layout3
QSpacerItem * Spacer1
QHBoxLayout * GroupConstructorsLayout
QHBoxLayout * Layout2
QGridLayout * GroupBoxNameLayout
QGridLayout * Layout66

Private Slots

void ClickOnOk ()
bool ClickOnApply ()
void ActivateThisDialog ()
void SelectionIntoArgument ()
void SetEditCurrentArgument ()

Private Member Functions

void Init ()
void enterEvent (QEvent *e)

Private Attributes

GEOM::ListOfGO myEdgesAndWires
bool myOkEdgesAndWires
DlgRef_1Sel_QTDGroupPoints

Constructor & Destructor Documentation

BuildGUI_WireDlg::BuildGUI_WireDlg GeometryGUI theGeometryGUI,
QWidget parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0
 

BuildGUI_WireDlg::~BuildGUI_WireDlg  ) 
 


Member Function Documentation

GEOM::GEOM_IOperations_ptr BuildGUI_WireDlg::createOperation  )  [protected, virtual]
 

Reimplemented from GEOMBase_Helper.

bool BuildGUI_WireDlg::isValid QString &  msg  )  [protected, virtual]
 

Reimplemented from GEOMBase_Helper.

bool BuildGUI_WireDlg::execute ObjectList objects  )  [protected, virtual]
 

Reimplemented from GEOMBase_Helper.

void BuildGUI_WireDlg::Init  )  [private]
 

Reimplemented from GEOMBase_Skeleton.

void BuildGUI_WireDlg::enterEvent QEvent *  e  )  [private]
 

void BuildGUI_WireDlg::ClickOnOk  )  [private, slot]
 

bool BuildGUI_WireDlg::ClickOnApply  )  [private, slot]
 

void BuildGUI_WireDlg::ActivateThisDialog  )  [private, slot]
 

Reimplemented from GEOMBase_Skeleton.

void BuildGUI_WireDlg::SelectionIntoArgument  )  [private, slot]
 

void BuildGUI_WireDlg::SetEditCurrentArgument  )  [private, slot]
 

void GEOMBase_Skeleton::closeEvent QCloseEvent *  e  )  [protected, inherited]
 

Reimplemented in BasicGUI_ArcDlg, BasicGUI_CircleDlg, BasicGUI_CurveDlg, BasicGUI_EllipseDlg, BasicGUI_LineDlg, BasicGUI_MarkerDlg, BasicGUI_PlaneDlg, BasicGUI_PointDlg, BasicGUI_WorkingPlaneDlg, BlocksGUI_PropagateDlg, OperationGUI_ClippingDlg, OperationGUI_PartitionDlg, PrimitiveGUI_BoxDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_TorusDlg, RepairGUI_ChangeOrientationDlg, RepairGUI_CloseContourDlg, RepairGUI_DivideEdgeDlg, RepairGUI_GlueDlg, RepairGUI_RemoveHolesDlg, RepairGUI_RemoveIntWiresDlg, RepairGUI_SewingDlg, RepairGUI_ShapeProcessDlg, RepairGUI_SuppressFacesDlg, TransformationGUI_MirrorDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_OffsetDlg, TransformationGUI_PositionDlg, TransformationGUI_RotationDlg, TransformationGUI_ScaleDlg, and TransformationGUI_TranslationDlg.

void GEOMBase_Skeleton::keyPressEvent QKeyEvent *  e  )  [protected, inherited]
 

void GEOMBase_Skeleton::initName const char *  thePrefix = 0  )  [protected, inherited]
 

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

const char * GEOMBase_Skeleton::getNewObjectName  )  const [protected, virtual, inherited]
 

returns contents of "Name" field

Reimplemented from GEOMBase_Helper.

Reimplemented in BlocksGUI_ExplodeDlg, and EntityGUI_SubShapeDlg.

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

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

Reimplemented in GroupGUI_GroupDlg, OperationGUI_ChamferDlg, and OperationGUI_FilletDlg.

void GEOMBase_Skeleton::setHelpFileName const QString &   )  [protected, inherited]
 

void GEOMBase_Skeleton::ClickOnCancel  )  [protected, slot, inherited]
 

Reimplemented in BasicGUI_ArcDlg, BasicGUI_CircleDlg, BasicGUI_CurveDlg, BasicGUI_EllipseDlg, BasicGUI_LineDlg, BasicGUI_PlaneDlg, BasicGUI_PointDlg, BasicGUI_VectorDlg, BasicGUI_WorkingPlaneDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_SphereDlg, and PrimitiveGUI_TorusDlg.

void GEOMBase_Skeleton::LineEditReturnPressed  )  [protected, slot, inherited]
 

Reimplemented in BasicGUI_ArcDlg, BasicGUI_CircleDlg, BasicGUI_CurveDlg, BasicGUI_EllipseDlg, BasicGUI_LineDlg, BasicGUI_MarkerDlg, BasicGUI_PlaneDlg, BasicGUI_PointDlg, BasicGUI_VectorDlg, BasicGUI_WorkingPlaneDlg, BlocksGUI_PropagateDlg, BooleanGUI_Dialog, BuildGUI_EdgeDlg, EntityGUI_SubShapeDlg, GenerationGUI_FillingDlg, GenerationGUI_PipeDlg, GenerationGUI_PrismDlg, GenerationGUI_RevolDlg, GroupGUI_GroupDlg, MeasureGUI_CenterMassDlg, MeasureGUI_CheckCompoundOfBlocksDlg, OperationGUI_ArchimedeDlg, OperationGUI_ChamferDlg, OperationGUI_FilletDlg, OperationGUI_PartitionDlg, PrimitiveGUI_BoxDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_TorusDlg, RepairGUI_ChangeOrientationDlg, RepairGUI_CloseContourDlg, RepairGUI_DivideEdgeDlg, RepairGUI_GlueDlg, RepairGUI_RemoveHolesDlg, RepairGUI_RemoveIntWiresDlg, RepairGUI_SewingDlg, RepairGUI_SuppressFacesDlg, TransformationGUI_MirrorDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_OffsetDlg, TransformationGUI_PositionDlg, TransformationGUI_RotationDlg, TransformationGUI_ScaleDlg, and TransformationGUI_TranslationDlg.

void GEOMBase_Skeleton::DeactivateActiveDialog  )  [protected, slot, inherited]
 

Reimplemented in BasicGUI_ArcDlg, BasicGUI_CircleDlg, BasicGUI_CurveDlg, BasicGUI_EllipseDlg, BasicGUI_LineDlg, BasicGUI_PlaneDlg, BasicGUI_PointDlg, BasicGUI_VectorDlg, BasicGUI_WorkingPlaneDlg, EntityGUI_SubShapeDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_SphereDlg, and PrimitiveGUI_TorusDlg.

void GEOMBase_Skeleton::ClickOnHelp  )  [protected, slot, inherited]
 

void DlgRef_Skeleton_QTD::languageChange  )  [protected, virtual, slot, inherited]
 

GEOM::GEOM_Gen_ptr GEOMBase_Helper::getGeomEngine  )  [static, protected, inherited]
 

void GEOMBase_Helper::display const ObjectList ,
const   bool = true
[protected, inherited]
 

void GEOMBase_Helper::display GEOM::GEOM_Object_ptr  ,
const   bool = true
[protected, inherited]
 

void GEOMBase_Helper::erase const ObjectList ,
const   bool = true
[protected, inherited]
 

void GEOMBase_Helper::erase GEOM::GEOM_Object_ptr  ,
const   bool = true
[protected, inherited]
 

void GEOMBase_Helper::redisplay const ObjectList ,
const   bool = true,
const   bool = true
[protected, inherited]
 

void GEOMBase_Helper::redisplay GEOM::GEOM_Object_ptr  ,
const   bool = true,
const   bool = true
[protected, inherited]
 

void GEOMBase_Helper::displayPreview const bool  activate = false,
const bool  update = true,
const bool  toRemoveFromEngine = true,
const double  lineWidth = -1
[protected, virtual, inherited]
 

Reimplemented in BasicGUI_MarkerDlg.

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
[protected, virtual, inherited]
 

Reimplemented in EntityGUI_SketcherDlg.

void GEOMBase_Helper::displayPreview const SALOME_Prs *  prs,
const bool  append = false,
const   bool = true
[protected, inherited]
 

void GEOMBase_Helper::erasePreview const   bool = true  )  [protected, inherited]
 

void GEOMBase_Helper::localSelection const ObjectList ,
const   int
[protected, inherited]
 

void GEOMBase_Helper::localSelection GEOM::GEOM_Object_ptr  ,
const   int
[protected, inherited]
 

void GEOMBase_Helper::activate const   int  )  [protected, inherited]
 

void GEOMBase_Helper::globalSelection const   int = GEOM_ALLOBJECTS,
const   bool = false
[protected, inherited]
 

void GEOMBase_Helper::globalSelection const TColStd_MapOfInteger &  ,
const   bool = 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]
 

void GEOMBase_Helper::addInStudy GEOM::GEOM_Object_ptr  ,
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  = GEOM::GEOM_Object::_nil()  )  const [protected, inherited]
 

const SALOME_ListIO & GEOMBase_Helper::selectedIO  )  [protected, inherited]
 

int GEOMBase_Helper::IObjectCount  )  [protected, inherited]
 

GEOMBase_Helper.Handle SALOME_InteractiveObject   )  [protected, inherited]
 

GEOMBase_Helper.Handle SALOME_InteractiveObject   )  [protected, inherited]
 

GEOM::GEOM_Object_ptr GEOMBase_Helper::getFather GEOM::GEOM_Object_ptr  theObj  )  [protected, virtual, inherited]
 

Reimplemented in BlocksGUI_ExplodeDlg, BlocksGUI_PropagateDlg, EntityGUI_SubShapeDlg, and GroupGUI_GroupDlg.

void GEOMBase_Helper.SetIsPreview const bool  thePreview  )  [protected, inherited]
 

bool GEOMBase_Helper.IsPreview  )  [protected, inherited]
 

GEOM_Displayer * GEOMBase_Helper::getDisplayer  )  [protected, inherited]
 

Reimplemented in MeasureGUI_Skeleton, and RepairGUI_FreeFacesDlg.

SUIT_Desktop * GEOMBase_Helper::getDesktop  )  const [protected, inherited]
 


Field Documentation

GEOM::ListOfGO BuildGUI_WireDlg.myEdgesAndWires [private]
 

bool BuildGUI_WireDlg.myOkEdgesAndWires [private]
 

DlgRef_1Sel_QTD* BuildGUI_WireDlg.GroupPoints [private]
 

QLineEdit* GEOMBase_Skeleton.myEditCurrentArgument [protected, inherited]
 

GeometryGUI* GEOMBase_Skeleton.myGeomGUI [protected, inherited]
 

QString GEOMBase_Skeleton.myHelpFileName [protected, inherited]
 

QGroupBox* DlgRef_Skeleton_QTD.GroupMedium [inherited]
 

QGroupBox* DlgRef_Skeleton_QTD.GroupButtons [inherited]
 

QPushButton* DlgRef_Skeleton_QTD.buttonOk [inherited]
 

QPushButton* DlgRef_Skeleton_QTD.buttonApply [inherited]
 

QPushButton* DlgRef_Skeleton_QTD.buttonCancel [inherited]
 

QPushButton* DlgRef_Skeleton_QTD.buttonHelp [inherited]
 

QButtonGroup* DlgRef_Skeleton_QTD.GroupConstructors [inherited]
 

QRadioButton* DlgRef_Skeleton_QTD.RadioButton1 [inherited]
 

QRadioButton* DlgRef_Skeleton_QTD.RadioButton2 [inherited]
 

QRadioButton* DlgRef_Skeleton_QTD.RadioButton3 [inherited]
 

QRadioButton* DlgRef_Skeleton_QTD.RadioButton4 [inherited]
 

QGroupBox* DlgRef_Skeleton_QTD.GroupBoxName [inherited]
 

QLineEdit* DlgRef_Skeleton_QTD.ResultName [inherited]
 

QLabel* DlgRef_Skeleton_QTD.NameLabel [inherited]
 

QGridLayout* DlgRef_Skeleton_QTD.DlgRef_Skeleton_QTDLayout [protected, inherited]
 

QGridLayout* DlgRef_Skeleton_QTD.Layout1 [protected, inherited]
 

QHBoxLayout* DlgRef_Skeleton_QTD.GroupButtonsLayout [protected, inherited]
 

QHBoxLayout* DlgRef_Skeleton_QTD.Layout3 [protected, inherited]
 

QSpacerItem* DlgRef_Skeleton_QTD.Spacer1 [protected, inherited]