BasicGUI_ArcDlg Class Reference

#include <BasicGUI_ArcDlg.h>

Inheritance diagram for BasicGUI_ArcDlg:

Inheritance graph

Public Member Functions

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

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 ClickOnHelp ()
virtual void languageChange ()

Protected Member Functions

virtual GEOM::GEOM_IOperations_ptr createOperation ()
virtual bool isValid (QString &)
virtual bool execute (ObjectList &objects)
virtual 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 ()
void ClickOnCancel ()
bool ClickOnApply ()
void ActivateThisDialog ()
void DeactivateActiveDialog ()
void LineEditReturnPressed ()
void SelectionIntoArgument ()
void SetEditCurrentArgument ()

Private Member Functions

void Init ()
void enterEvent (QEvent *e)

Private Attributes

GEOM::GEOM_Object_var myPoint1
GEOM::GEOM_Object_var myPoint2
GEOM::GEOM_Object_var myPoint3
DlgRef_3Sel_QTDGroup3Pnts

Constructor & Destructor Documentation

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

BasicGUI_ArcDlg::~BasicGUI_ArcDlg  ) 
 


Member Function Documentation

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

Reimplemented from GEOMBase_Helper.

bool BasicGUI_ArcDlg::isValid QString &   )  [protected, virtual]
 

Reimplemented from GEOMBase_Helper.

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

Reimplemented from GEOMBase_Helper.

void BasicGUI_ArcDlg::closeEvent QCloseEvent *  e  )  [protected, virtual]
 

Reimplemented from GEOMBase_Skeleton.

void BasicGUI_ArcDlg::Init  )  [private]
 

Reimplemented from GEOMBase_Skeleton.

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

void BasicGUI_ArcDlg::ClickOnOk  )  [private, slot]
 

void BasicGUI_ArcDlg::ClickOnCancel  )  [private, slot]
 

Reimplemented from GEOMBase_Skeleton.

bool BasicGUI_ArcDlg::ClickOnApply  )  [private, slot]
 

void BasicGUI_ArcDlg::ActivateThisDialog  )  [private, slot]
 

Reimplemented from GEOMBase_Skeleton.

void BasicGUI_ArcDlg::DeactivateActiveDialog  )  [private, slot]
 

Reimplemented from GEOMBase_Skeleton.

void BasicGUI_ArcDlg::LineEditReturnPressed  )  [private, slot]
 

Reimplemented from GEOMBase_Skeleton.

void BasicGUI_ArcDlg::SelectionIntoArgument  )  [private, slot]
 

void BasicGUI_ArcDlg::SetEditCurrentArgument  )  [private, slot]
 

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::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::GEOM_Object_var BasicGUI_ArcDlg.myPoint1 [private]
 

GEOM::GEOM_Object_var BasicGUI_ArcDlg.myPoint2 [private]
 

GEOM::GEOM_Object_var BasicGUI_ArcDlg.myPoint3 [private]
 

DlgRef_3Sel_QTD* BasicGUI_ArcDlg.Group3Pnts [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]
 

QHBoxLayout* DlgRef_Skeleton_QTD.GroupConstructorsLayout [protected, inherited]
 

QHBoxLayout* DlgRef_Skeleton_QTD.Layout2 [protected, inherited]
 

QGridLayout* DlgRef_Skeleton_QTD.GroupBoxNameLayout [protected, inherited]
 

QGridLayout* DlgRef_Skeleton_QTD.Layout66 [protected, inherited]