MeasureGUI_BndBoxDlg Class Reference

#include <MeasureGUI_BndBoxDlg.h>

Inheritance diagram for MeasureGUI_BndBoxDlg:

Inheritance graph

Public Member Functions

 MeasureGUI_BndBoxDlg (GeometryGUI *GUI, QWidget *parent)
 ~MeasureGUI_BndBoxDlg ()

Data Fields

QGroupBox * GroupButtons
QPushButton * buttonClose
QPushButton * buttonHelp
QButtonGroup * GroupConstructors
QRadioButton * RadioButton1
QGroupBox * GroupMedium

Protected Slots

virtual void ClickOnCancel ()
virtual void ClickOnHelp ()
virtual void DeactivateActiveDialog ()
virtual void ActivateThisDialog ()
virtual void SelectionIntoArgument ()
virtual void LineEditReturnPressed ()
virtual void SetEditCurrentArgument ()
virtual void languageChange ()

Protected Member Functions

virtual void processObject ()
virtual SALOME_Prs * buildPrs ()
void enterEvent (QEvent *e)
void closeEvent (QCloseEvent *e)
void keyPressEvent (QKeyEvent *e)
void redisplayPreview ()
GEOM_DisplayergetDisplayer ()
virtual bool isValid (QString &msg)
virtual void activateSelection ()
virtual GEOM::GEOM_IOperations_ptr createOperation ()
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 bool execute (ObjectList &objects)
virtual GEOM::GEOM_Object_ptr getFather (GEOM::GEOM_Object_ptr theObj)
virtual const char * getNewObjectName () const
void SetIsPreview (const bool thePreview)
bool IsPreview ()
SUIT_Desktop * getDesktop () const

Static Protected Member Functions

static GEOM::GEOM_Gen_ptr getGeomEngine ()

Protected Attributes

QPushButton * mySelBtn
QLineEdit * mySelEdit
GEOM::GEOM_Object_var myObj
GeometryGUImyGeomGUI
GEOM_DisplayermyDisplayer
QString myHelpFileName
QGridLayout * MeasureGUI_Skeleton_QTDLayout
QGridLayout * Layout1
QGridLayout * GroupButtonsLayout
QGridLayout * Layout3
QSpacerItem * Spacer1
QGridLayout * GroupConstructorsLayout
QHBoxLayout * Layout2

Private Member Functions

void Init ()
bool getParameters (double &Xmin, double &Xmax, double &Ymin, double &Ymax, double &Zmin, double &Zmax)

Private Attributes

MeasureGUI_1Sel6LineEdit_QTDmyGrp

Constructor & Destructor Documentation

MeasureGUI_BndBoxDlg::MeasureGUI_BndBoxDlg GeometryGUI GUI,
QWidget parent
 

MeasureGUI_BndBoxDlg::~MeasureGUI_BndBoxDlg  ) 
 


Member Function Documentation

void MeasureGUI_BndBoxDlg::processObject  )  [protected, virtual]
 

Reimplemented from MeasureGUI_Skeleton.

SALOME_Prs * MeasureGUI_BndBoxDlg::buildPrs  )  [protected, virtual]
 

Reimplemented from MeasureGUI_Skeleton.

void MeasureGUI_BndBoxDlg::Init  )  [private]
 

Reimplemented from MeasureGUI_Skeleton.

bool MeasureGUI_BndBoxDlg::getParameters double &  Xmin,
double &  Xmax,
double &  Ymin,
double &  Ymax,
double &  Zmin,
double &  Zmax
[private]
 

void MeasureGUI_Skeleton::ClickOnCancel  )  [protected, virtual, slot, inherited]
 

void MeasureGUI_Skeleton::ClickOnHelp  )  [protected, virtual, slot, inherited]
 

void MeasureGUI_Skeleton::DeactivateActiveDialog  )  [protected, virtual, slot, inherited]
 

void MeasureGUI_Skeleton::ActivateThisDialog  )  [protected, virtual, slot, inherited]
 

void MeasureGUI_Skeleton::SelectionIntoArgument  )  [protected, virtual, slot, inherited]
 

Reimplemented in MeasureGUI_DistanceDlg, and MeasureGUI_PointDlg.

void MeasureGUI_Skeleton::LineEditReturnPressed  )  [protected, virtual, slot, inherited]
 

Reimplemented in MeasureGUI_DistanceDlg.

void MeasureGUI_Skeleton::SetEditCurrentArgument  )  [protected, virtual, slot, inherited]
 

Reimplemented in MeasureGUI_DistanceDlg.

void MeasureGUI_Skeleton::enterEvent QEvent *  e  )  [protected, inherited]
 

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

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

void MeasureGUI_Skeleton::redisplayPreview  )  [protected, inherited]
 

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

Reimplemented from GEOMBase_Helper.

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

Reimplemented from GEOMBase_Helper.

Reimplemented in MeasureGUI_DistanceDlg.

void MeasureGUI_Skeleton::activateSelection  )  [protected, virtual, inherited]
 

Reimplemented in MeasureGUI_PointDlg, and MeasureGUI_PropertiesDlg.

GEOM::GEOM_IOperations_ptr MeasureGUI_Skeleton::createOperation  )  [protected, virtual, inherited]
 

Reimplemented from GEOMBase_Helper.

void MeasureGUI_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]
 

bool GEOMBase_Helper::execute ObjectList objects  )  [protected, virtual, inherited]
 

Reimplemented in BasicGUI_ArcDlg, BasicGUI_CircleDlg, BasicGUI_CurveDlg, BasicGUI_EllipseDlg, BasicGUI_LineDlg, BasicGUI_MarkerDlg, BasicGUI_PlaneDlg, BasicGUI_PointDlg, BasicGUI_VectorDlg, BlocksGUI_BlockDlg, BlocksGUI_ExplodeDlg, BlocksGUI_PropagateDlg, BlocksGUI_QuadFaceDlg, BlocksGUI_TrsfDlg, BooleanGUI_Dialog, BuildGUI_CompoundDlg, BuildGUI_EdgeDlg, BuildGUI_FaceDlg, BuildGUI_ShellDlg, BuildGUI_SolidDlg, BuildGUI_WireDlg, EntityGUI_SketcherDlg, 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_FreeBoundDlg, RepairGUI_FreeFacesDlg, 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.

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.

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

Reimplemented in BlocksGUI_ExplodeDlg, EntityGUI_SubShapeDlg, and GEOMBase_Skeleton.

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

bool GEOMBase_Helper.IsPreview  )  [protected, inherited]
 

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


Field Documentation

MeasureGUI_1Sel6LineEdit_QTD* MeasureGUI_BndBoxDlg.myGrp [private]
 

QPushButton* MeasureGUI_Skeleton.mySelBtn [protected, inherited]
 

QLineEdit* MeasureGUI_Skeleton.mySelEdit [protected, inherited]
 

GEOM::GEOM_Object_var MeasureGUI_Skeleton.myObj [protected, inherited]
 

GeometryGUI* MeasureGUI_Skeleton.myGeomGUI [protected, inherited]
 

GEOM_Displayer* MeasureGUI_Skeleton.myDisplayer [protected, inherited]
 

Reimplemented from GEOMBase_Helper.

QString MeasureGUI_Skeleton.myHelpFileName [protected, inherited]
 

QGroupBox* MeasureGUI_Skeleton_QTD.GroupButtons [inherited]
 

QPushButton* MeasureGUI_Skeleton_QTD.buttonClose [inherited]
 

QPushButton* MeasureGUI_Skeleton_QTD.buttonHelp [inherited]
 

QButtonGroup* MeasureGUI_Skeleton_QTD.GroupConstructors [inherited]
 

QRadioButton* MeasureGUI_Skeleton_QTD.RadioButton1 [inherited]
 

QGroupBox* MeasureGUI_Skeleton_QTD.GroupMedium [inherited]
 

QGridLayout* MeasureGUI_Skeleton_QTD.MeasureGUI_Skeleton_QTDLayout [protected, inherited]
 

QGridLayout* MeasureGUI_Skeleton_QTD.Layout1 [protected, inherited]
 

QGridLayout* MeasureGUI_Skeleton_QTD.GroupButtonsLayout [protected, inherited]
 

QGridLayout* MeasureGUI_Skeleton_QTD.Layout3 [protected, inherited]
 

QSpacerItem* MeasureGUI_Skeleton_QTD.Spacer1 [protected, inherited]
 

QGridLayout* MeasureGUI_Skeleton_QTD.GroupConstructorsLayout [protected, inherited]
 

QHBoxLayout* MeasureGUI_Skeleton_QTD.Layout2 [protected, inherited]