DAZ Script |
---|
DzUiLoader () |
DAZ Script | |
---|---|
void | addPluginPath ( String path ) |
Array | availableLayouts () |
Array | availableWidgets () |
void | clearPluginPaths () |
DzLayout | createLayout ( String className, QObject parent=0, String name=“” ) |
DzWidget | createWidget ( String className, DzWidget parent, String name=“” ) |
DzWidget | load ( String filePath, DzWidget parent=0 ) |
Array | pluginPaths () |
void | setWorkingDirectory ( String dir ) |
String | workingDirectory () |
Provides functionality that allows QtDesigner to be used in the creation of graphical user interfaces used by scripts.
See Also:
void : addPluginPath( String path )
Adds a path to the list of paths the .ui loader searches when locating QtDesigner plug-ins.
Parameter(s):
Return Value:
Return Value:
void : clearPluginPaths()
Clears the list of paths the .ui loader searches when locating QtDesigner plug-ins.
DzLayout : createLayout( String className, QObject parent=0, String name=“” )
Creates a new layout.
Parameter(s):
Return Value:
DzWidget : createWidget( String className, DzWidget parent, String name=“” )
Creates a new widget.
Parameter(s):
Return Value:
See Also:
DzWidget : load( String filePath, DzWidget parent=0 )
Loads a QtDesigner form (*.ui) and creates a new widget.
Parameter(s):
Return Value:
parent
that holds the contents of the loaded form (if any), otherwise null.Array : pluginPaths()
Return Value:
void : setWorkingDirectory( String dir )
Sets the base directory of the .ui loader. The .ui loader looks for other resources, such as icons and resource files, in paths relative to this directory.
Parameter(s):
Return Value: