X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_AddMeshElementDlg.h;h=d40d410bdb229335f0e632b88ddd76ed66651e5a;hp=d5f420eb122da01f44f456983117b511f7e396bc;hb=ea8a0289f14641c23d515de68aa4fdc24a6208ba;hpb=88b3dbe23b236bd1746405155ae33a76aaf59ecd diff --git a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.h b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.h index d5f420eb1..d40d410bd 100644 --- a/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.h +++ b/src/SMESHGUI/SMESHGUI_AddMeshElementDlg.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2014 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 @@ -6,7 +6,7 @@ // 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 @@ -64,7 +64,6 @@ namespace SMESH class SMESHGUI_EXPORT SMESHGUI_AddMeshElementDlg : public QDialog { Q_OBJECT - public: SMESHGUI_AddMeshElementDlg( SMESHGUI*, SMDSAbs_EntityType = SMDSEntity_Edge ); ~SMESHGUI_AddMeshElementDlg(); @@ -91,6 +90,7 @@ private: int myElementType; int myNbNodes; bool myIsPoly; + int myShift; SMESH::SMESH_Mesh_var myMesh; SMESH_Actor* myActor; @@ -111,19 +111,23 @@ private: QGroupBox* GroupC1; QLabel* TextLabelC1A1; QPushButton* SelectButtonC1A1; + QPushButton* GetNextPresentationButton; QLineEdit* LineEditC1A1; QCheckBox* Reverse; + QCheckBox* AutomaticPresentation; SMESHGUI_SpinBox* DiameterSpinBox; QString myHelpFileName; protected slots: virtual void reject(); + void onDiameterChanged(); private slots: void ClickOnOk(); void ClickOnApply(); void ClickOnHelp(); + void GetNextShapePresentation(); void SetEditCurrentArgument(); void SelectionIntoArgument(); void DeactivateActiveDialog();