Salome HOME
nouvelle propriete mesa_launcher_in_package, renommage template PythonComponent en...
[tools/sat.git] / data / templates / PythonComponent / src / Dialog / EditRadiusDialog.py
diff --git a/data/templates/PythonComponent/src/Dialog/EditRadiusDialog.py b/data/templates/PythonComponent/src/Dialog/EditRadiusDialog.py
deleted file mode 100755 (executable)
index 69c648e..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-from DialogEdit import *
-from qtsalome import *
-
-class EditRadiusDialog( DialogEdit ) :
-
-   def __init__( self, helpFile, controller, widgetDialogBox, model, oldRadius  ) :
-       """Constructor"""
-
-       #Initializing parent widget
-       DialogEdit.__init__( self, helpFile, controller, widgetDialogBox )
-
-       self._model = model
-       self.entryRadius.setText( oldRadius )
-       pass
-
-   def addSpecialWidgets( self ) :
-       floatValidator = QDoubleValidator( self )
-
-       lRadius = QLabel( "Radius", self )
-       self.v11.addWidget( lRadius )
-       self.entryRadius = QLineEdit( self )
-       self.entryRadius.setValidator( floatValidator )
-       self.v12.addWidget( self.entryRadius )
-       pass
-
-   def execApply( self ) :
-       newRadius = self.newRadius
-       self.getController().editRadius( self._model, newRadius )
-       return
-
-
-   def retrieveUserEntries( self ) :
-       self.newRadius = str( self.entryRadius.text() )
-       pass
-
-   def checkUserEntries( self ) :
-       if self.newRadius == "" :
-          self.errMessage = 'All attributes must be filled'
-          return False
-       return True
-
-pass