26 #ifndef MeasureGUI_AnnotationDlg_H
27 #define MeasureGUI_AnnotationDlg_H
35 #include <TopAbs_ShapeEnum.hxx>
50 class SalomeApp_IntSpinBox;
63 const bool theIsCreate,
65 bool modal=
false, Qt::WindowFlags fl=0 );
71 virtual bool isValid ( QString& );
90 void onDragged( Handle_GEOM_Annotation theAnnotation );
99 bool getPickedPoint( gp_Pnt& thePnt,
const TopoDS_Shape& theShape );
100 gp_Pnt
getAttachPoint(
const TopoDS_Shape& theShape,
bool& theIsOk );
Definition: GEOMBase_Skeleton.h:53
Definition: GeometryGUI.h:74
Definition: MeasureGUI_AnnotationDlg.h:58
void onTypeChange()
Definition: MeasureGUI_AnnotationDlg.cxx:619
bool myShapeNameModified
Definition: MeasureGUI_AnnotationDlg.h:117
bool ClickOnApply()
Definition: MeasureGUI_AnnotationDlg.cxx:378
void activateSelectionArgument(QPushButton *theSelectionButton)
Definition: MeasureGUI_AnnotationDlg.cxx:446
QCheckBox * myIsScreenFixed
Definition: MeasureGUI_AnnotationDlg.h:119
TopAbs_ShapeEnum getShapeType() const
Definition: MeasureGUI_AnnotationDlg.cxx:356
gp_Pnt getDefaultPosition(const gp_Pnt &theAttach)
Definition: MeasureGUI_AnnotationDlg.cxx:978
~MeasureGUI_AnnotationDlg()
Definition: MeasureGUI_AnnotationDlg.cxx:209
void onDragged(Handle_GEOM_Annotation theAnnotation)
Definition: MeasureGUI_AnnotationDlg.cxx:694
QLineEdit * myShapeName
Definition: MeasureGUI_AnnotationDlg.h:118
bool getPickedPoint(gp_Pnt &thePnt, const TopoDS_Shape &theShape)
Definition: MeasureGUI_AnnotationDlg.cxx:888
QLineEdit * mySubShapeName
Definition: MeasureGUI_AnnotationDlg.h:124
QComboBox * mySubShapeTypeCombo
Definition: MeasureGUI_AnnotationDlg.h:121
int myEditAnnotationIndex
Definition: MeasureGUI_AnnotationDlg.h:106
MeasureGUI_AnnotationDlg(GeometryGUI *theGeometryGUI, const bool theIsCreate, QWidget *parent=0, bool modal=false, Qt::WindowFlags fl=0)
Definition: MeasureGUI_AnnotationDlg.cxx:112
MeasureGUI_AnnotationInteractor * myInteractor
Definition: MeasureGUI_AnnotationDlg.h:126
virtual bool execute()
Definition: MeasureGUI_AnnotationDlg.cxx:765
void SelectionIntoArgument()
Definition: MeasureGUI_AnnotationDlg.cxx:482
void closeEvent(QCloseEvent *theEv)
Definition: MeasureGUI_AnnotationDlg.cxx:595
void activateSelection()
Definition: MeasureGUI_AnnotationDlg.cxx:344
SALOME_Prs * buildPrs()
Definition: MeasureGUI_AnnotationDlg.cxx:802
void SetEditCurrentArgument()
Definition: MeasureGUI_AnnotationDlg.cxx:431
QLineEdit * myTextEdit
Definition: MeasureGUI_AnnotationDlg.h:113
void redisplayPreview()
Definition: MeasureGUI_AnnotationDlg.cxx:845
void ClickOnOk()
Definition: MeasureGUI_AnnotationDlg.cxx:366
bool myIsCreation
an index of edited annotation in the list shape annotations, -1 in create operation
Definition: MeasureGUI_AnnotationDlg.h:110
void Init()
Definition: MeasureGUI_AnnotationDlg.cxx:217
QPushButton * myShapeSelBtn
Definition: MeasureGUI_AnnotationDlg.h:115
void onSubShapeTypeChange()
Definition: MeasureGUI_AnnotationDlg.cxx:670
GEOMGUI_AnnotationAttrs::Properties myAnnotationProperties
Definition: MeasureGUI_AnnotationDlg.h:107
void onTextChange()
Definition: MeasureGUI_AnnotationDlg.cxx:607
bool myIsPositionDefined
Definition: MeasureGUI_AnnotationDlg.h:108
virtual bool isValid(QString &)
Definition: MeasureGUI_AnnotationDlg.cxx:733
TopAbs_ShapeEnum mySelectionMode
Definition: MeasureGUI_AnnotationDlg.h:104
QPushButton * mySubShapeSelBtn
Definition: MeasureGUI_AnnotationDlg.h:123
GEOM::GeomObjPtr myShape
Definition: MeasureGUI_AnnotationDlg.h:111
gp_Pnt getAttachPoint(const TopoDS_Shape &theShape, bool &theIsOk)
Definition: MeasureGUI_AnnotationDlg.cxx:923
void updateSubShapeEnableState()
Definition: MeasureGUI_AnnotationDlg.cxx:830
virtual GEOM::GEOM_IOperations_ptr createOperation()
Definition: MeasureGUI_AnnotationDlg.cxx:724
QString myEditAnnotationEntry
Definition: MeasureGUI_AnnotationDlg.h:105
Class implementing logical layer for interactive dragging of annotation labels. It includes two compo...
Definition: MeasureGUI_AnnotationInteractor.h:51
GenericObjPtr< GEOM::GEOM_Object > GeomObjPtr
Definition: GEOM_GenericObjPtr.h:218
Definition: GEOMGUI_AnnotationAttrs.h:79