Back to index

salome-gui  6.5.0
Classes | Functions
tubedialog Namespace Reference

Classes

class  TubeDialog
class  TubeDialogOnTopWithApply

Functions

def TEST_getData_synchrone
def main

Function Documentation

def tubedialog.main (   args)

Definition at line 110 of file tubedialog.py.

00110 
00111 def main( args ):
00112     a = QtGui.QApplication(sys.argv)
00113     TEST_getData_synchrone()
00114     sys.exit(0)

Here is the call graph for this function:

This use case illustrates the MVC pattern on this simple dialog example

Definition at line 100 of file tubedialog.py.

00100 
00101 def TEST_getData_synchrone():
00102     """This use case illustrates the MVC pattern on this simple dialog example""" 
00103     tubedialog = TubeDialog()
00104     tubedialog.setData(10,50,3)
00105     tubedialog.exec_()
00106     if tubedialog.wasOk():
00107         radius, length, width = tubedialog.getData()
00108         print radius, length, width
00109 

Here is the caller graph for this function: