-// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
class Delegate;
public:
-
EntityGUI_FieldDlg (GeometryGUI* theGeometryGUI,
GEOM::GEOM_Field_ptr theField, int stepID=0,
QWidget* parent=0,
virtual GEOM::GEOM_IOperations_ptr createOperation();
virtual bool isValid (QString&);
virtual bool execute ();
+ virtual QList<GEOM::GeomObjPtr> getSourceObjects();
private slots:
void ClickOnOk();
int getSelectedSubshapes (TColStd_IndexedMapOfInteger& map);
private:
-
bool myIsCreation;
GEOM::GEOM_Field_var myField;
GEOM::GEOM_Object_var myShape;
int myDmMode;
bool myIsHiddenMain;
+ QList<int> myHiddenFieldStepIds;
+
QPushButton* myShapeSelBtn;
QLineEdit* myShapeName;
QComboBox* myTypeCombo;
SalomeApp_IntSpinBox* myNbCompsSpin;
QWidget* mySwitchTableWdg;
QComboBox* myStepsCombo;
+ QLineEdit* myStepEdit;
SalomeApp_IntSpinBox* myStampSpin;
};
bool myIsChanged;
QTableWidgetItem * newDefaultItem();
+
public:
StepTable( int stepID, int dataType, int nbRows, int nbColumns,
QString shapeName, QStringList headers,
void setHeaders(const QStringList& headers);
GEOM::GEOM_FieldStep_var getStep() { return myStep; }
void setValues(GEOM::GEOM_FieldStep_var& step);
+
public slots:
void setIsChanged() { myIsChanged = true; }
+ void headerDblClicked( int );
};
#endif