Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[modules/geom.git] / src / GEOMBase / GEOMBase_Skeleton.h
index 1d3144cc389a6f79fc24243a99c7a7484f082b38..af609eb587b7ad299d570ab6ff93df3111660ca2 100644 (file)
@@ -24,7 +24,6 @@
 //  File   : GEOMBase_Skeleton.h
 //  Author : Damine COQUERET
 //  Module : GEOM
-//  $Header$
 
 #ifndef GEOMBASE_SKELETON_H
 #define GEOMBASE_SKELETON_H
 #endif
 
 class GEOMBASE_WNT_EXPORT GEOMBase_Skeleton : public DlgRef_Skeleton_QTD, public GEOMBase_Helper
-{ 
+{
     Q_OBJECT
 
 public:
-    GEOMBase_Skeleton(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+    GEOMBase_Skeleton(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
+                     const char* name = 0, bool modal = FALSE, WFlags fl = 0);
     ~GEOMBase_Skeleton();
-//    int getConstructorId() const; // returns id of a selected "constructor" radio button or '-1' in case of error
 
-private :
+private:
     void Init();
 
 protected:
     void closeEvent(QCloseEvent* e);
 
-    void initName( const char* thePrefix = 0 ); // initialize "Name" field with a string "thePrefix_X" (Vertex_3)
-    virtual const char* getNewObjectName() const; // returns contents of "Name" field
-    int getConstructorId() const; // returns id of a selected "constructor" radio button or '-1' in case of error
+    /*! initialize "Name" field with a string "thePrefix_X" (Vertex_3)
+     */
+    void initName( const char* thePrefix = 0 );
 
-    QLineEdit* myEditCurrentArgument;   /* Current LineEdit */
-    GEOMBase* myGeomBase; // SAN -- TO BE REMOVED !!!
-    GeometryGUI* myGeomGUI;             /* reference GEOM GUI */
+    /*! returns contents of "Name" field
+     */
+    virtual const char* getNewObjectName() const;
+
+    /*! returns id of a selected "constructor" radio button or '-1' in case of error
+     */
+    int getConstructorId() const;
+
+    void setHelpFileName( const QString& );
+
+    QLineEdit* myEditCurrentArgument; //!< Current LineEdit
+    GeometryGUI* myGeomGUI;           //!< reference GEOM GUI
+    QString myHelpFileName;
 
 protected slots:
     void ClickOnCancel();
     void LineEditReturnPressed();
     void DeactivateActiveDialog();
     void ActivateThisDialog();
-
+    void ClickOnHelp();
 };
 
 #endif // GEOMBASE_SKELETON_H