// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : PrimitiveGUI_BoxDlg.h
// Author : Lucien PIGNOLONI
// Module : GEOM
-// $Header$
#ifndef DIALOGBOX_BOX_H
#define DIALOGBOX_BOX_H
{
Q_OBJECT
- public:
- PrimitiveGUI_BoxDlg(QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0);
+public:
+ PrimitiveGUI_BoxDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
+ const char* name = 0, bool modal = FALSE, WFlags fl = 0);
~PrimitiveGUI_BoxDlg();
protected:
virtual GEOM::GEOM_IOperations_ptr createOperation();
virtual bool isValid( QString& );
virtual bool execute( ObjectList& objects );
-
+ virtual void addSubshapesToStudy();
virtual void closeEvent( QCloseEvent* e );
private :
void Init();
void enterEvent(QEvent* e);
-
+
GEOM::GEOM_Object_var myPoint1, myPoint2; /* Points containing the vector */
DlgRef_2Sel_QTD* GroupPoints;
private slots:
void ClickOnOk();
bool ClickOnApply();
- void ClickOnCancel();
void ActivateThisDialog();
- void DeactivateActiveDialog();
void LineEditReturnPressed();
void SelectionIntoArgument();
void SetEditCurrentArgument();
void ConstructorsClicked(int);
void ValueChangedInSpinBox();
-
};
#endif // DIALOGBOX_BOX_H