Back to index

salome-gui  6.5.0
Public Member Functions | Public Attributes
tubedialog_ui.TubeDialog_UI Class Reference
Inheritance diagram for tubedialog_ui.TubeDialog_UI:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def setupUi

Public Attributes

 hboxlayout
 vboxlayout
 hboxlayout1
 vboxlayout1
 lblRadius
 lblLength
 lblWidth
 vboxlayout2
 txtRadius
 txtLength
 txtWidth
 buttonBox

Detailed Description

This class defines the design of a Qt dialog box dedicated to the
salome plugin examples. It presents a UI form that contains
parameters for the spatial dimensions of geometrical object.  

Definition at line 27 of file tubedialog_ui.py.


Constructor & Destructor Documentation

def tubedialog_ui.TubeDialog_UI.__init__ (   self,
  parent = None 
)

Definition at line 33 of file tubedialog_ui.py.

00033 
00034     def __init__(self, parent=None):
00035         QtGui.QDialog.__init__(self, parent)
00036         self.setupUi()

Here is the call graph for this function:


Member Function Documentation

Reimplemented in tubedialog.TubeDialogOnTopWithApply, and tubedialog.TubeDialog.

Definition at line 37 of file tubedialog_ui.py.

00037 
00038     def setupUi(self):
00039         self.setObjectName("Dialog")
00040         self.resize(400, 300)
00041         self.hboxlayout = QtGui.QHBoxLayout(self)
00042         self.hboxlayout.setMargin(9)
00043         self.hboxlayout.setSpacing(6)
00044         self.hboxlayout.setObjectName("hboxlayout")
00045         self.vboxlayout = QtGui.QVBoxLayout()
00046         self.vboxlayout.setMargin(0)
00047         self.vboxlayout.setSpacing(6)
00048         self.vboxlayout.setObjectName("vboxlayout")
00049         self.hboxlayout1 = QtGui.QHBoxLayout()
00050         self.hboxlayout1.setMargin(0)
00051         self.hboxlayout1.setSpacing(6)
00052         self.hboxlayout1.setObjectName("hboxlayout1")
00053         self.vboxlayout1 = QtGui.QVBoxLayout()
00054         self.vboxlayout1.setMargin(0)
00055         self.vboxlayout1.setSpacing(6)
00056         self.vboxlayout1.setObjectName("vboxlayout1")
00057         self.lblRadius = QtGui.QLabel(self)
00058         self.lblRadius.setObjectName("lblRadius")
00059         self.vboxlayout1.addWidget(self.lblRadius)
00060         self.lblLength = QtGui.QLabel(self)
00061         self.lblLength.setObjectName("lblLength")
00062         self.vboxlayout1.addWidget(self.lblLength)
00063         self.lblWidth = QtGui.QLabel(self)
00064         self.lblWidth.setObjectName("lblWidth")
00065         self.vboxlayout1.addWidget(self.lblWidth)
00066         self.hboxlayout1.addLayout(self.vboxlayout1)
00067         self.vboxlayout2 = QtGui.QVBoxLayout()
00068         self.vboxlayout2.setMargin(0)
00069         self.vboxlayout2.setSpacing(6)
00070         self.vboxlayout2.setObjectName("vboxlayout2")
00071         self.txtRadius = QtGui.QLineEdit(self)
00072         self.txtRadius.setObjectName("txtRadius")
00073         self.vboxlayout2.addWidget(self.txtRadius)
00074         self.txtLength = QtGui.QLineEdit(self)
00075         self.txtLength.setObjectName("txtLength")
00076         self.vboxlayout2.addWidget(self.txtLength)
00077         self.txtWidth = QtGui.QLineEdit(self)
00078         self.txtWidth.setObjectName("txtWidth")
00079         self.vboxlayout2.addWidget(self.txtWidth)
00080         self.hboxlayout1.addLayout(self.vboxlayout2)
00081         self.vboxlayout.addLayout(self.hboxlayout1)
00082         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
00083         self.vboxlayout.addItem(spacerItem)
00084         self.buttonBox = QtGui.QDialogButtonBox(self)
00085         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
00086         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
00087         self.buttonBox.setObjectName("buttonBox")
00088         self.vboxlayout.addWidget(self.buttonBox)
00089         self.hboxlayout.addLayout(self.vboxlayout)
00090 
00091         self.setWindowTitle("Tube construction")
00092         self.lblRadius.setText("Rayon")
00093         self.lblLength.setText("Longueur")
00094         self.lblWidth.setText("Epaisseur")
00095 
00096 #
00097 # ======================================================================
00098 # Unit test
00099 # ======================================================================
#

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 83 of file tubedialog_ui.py.

Definition at line 40 of file tubedialog_ui.py.

Definition at line 48 of file tubedialog_ui.py.

Definition at line 59 of file tubedialog_ui.py.

Definition at line 56 of file tubedialog_ui.py.

Definition at line 62 of file tubedialog_ui.py.

Definition at line 73 of file tubedialog_ui.py.

Definition at line 70 of file tubedialog_ui.py.

Definition at line 76 of file tubedialog_ui.py.

Definition at line 44 of file tubedialog_ui.py.

Definition at line 52 of file tubedialog_ui.py.

Definition at line 66 of file tubedialog_ui.py.


The documentation for this class was generated from the following file: