DAZ Script | |
---|---|
Boolean | alwaysOnTop |
Boolean | toolTipsEnabled |
void | aboutToClose () |
void | alwaysOnTopChanged ( Boolean onOff ) |
void | started () |
void | uiLockedChanged () |
There is only one of these widgets in the application, which is created and owned by DzApp. It can be accessed by using the Global::MainWindow variable.
Whether or not the main window is always on top of other application windows.
Whether or not tool tips are enabled.
Presents the user with a dialog that asks if they want to save changes to the scene, and does a scene save if the user selects yes.
Return Value:
Presents the user with a dialog that asks if they want to turn off limits to apply the preset currently being loaded.
Return Value:
Boolean : checkExistingFile( String name )
Checks to see if the given file already exists - if it does, prompts the user if they want to overwrite it.
Parameter(s):
Return Value:
void : clearUIPopUp()
Clears a the current UI popup if there is one.
void : displayPrompt( String msg, Number millisec=-1 )
Display a message in the status bar.
Parameter(s):
DzDockArea : dockArea( Point pos )
Return Value:
Boolean : doFileExport( QWidget parent=null )
Displays a dialog for saving the scene to a non-native file, and saves the scene if the user does not cancel.
Parameter(s):
Return Value:
Boolean : doFileImport( QWidget parent=null )
Displays a dialog for loading a non-native file, and loads the file if the user does not cancel.
Parameter(s):
Return Value:
Boolean : doFileMerge( QWidget parent=null )
Displays a dialog for loading a native scene file, and merges the file into the current scene if the user does not cancel.
Return Value:
Boolean : doFileOpen( QWidget parent=null )
Displays a dialog for loading a native scene file, and opens the file as a new scene if the user does not cancel.
Return Value:
Boolean : doFileSave( QWidget parent=null )
Saves the scene to the current scene file - displaying a dialog to the user if a file needs to be selected.
Return Value:
Image : doImageOpen( QWidget parent=null )
Displays a dialog for loading an image file, and loads the file if the user does not cancel.
Parameter(s):
Return Value:
Boolean : doImageSaveAs( Image image, QWidget parent=null )
Displays a dialog for saving the given image, and saves the image if the user does not cancel.
Parameter(s):
Return Value:
Clears the scene
Boolean : doVideoClipSaveAs( DzVideoClip clip, QWidget parent=null )
Displays a dialog for saving the given video clip, and saves the clip if the user does not cancel.
Parameter(s):
Return Value:
void : exitFullScreen()
Switches from full screen back to normal mode
Return Value:
DzDockArea : getBottomDockArea()
Return Value:
DzDockArea : getCenterDockArea()
Return Value:
DzInteractiveLessonMgr : getInteractiveLessonMgr()
Return Value:
DzDockArea : getLeftDockArea()
Return Value:
DzPaneMgr : getPaneMgr()
Return Value:
DzDockArea : getRightDockArea()
Return Value:
Return Value:
Return Value:
DzViewportMgr : getViewportMgr()
Return Value:
void : goFullScreen()
Switches from normal to full screen mode
Boolean : isUILocked()
Return Value:
void : positionUIPopUp( QWidget posWgt )
Position the popup according to a widget.
Parameter(s):
void : removePrompt()
Clear the message in the status bar.
void : repaintActive3DViewport()
A convenience method for forcing a repaint of the currently active 3D viewport (if any).
void : restoreUILockState()
Restores the state of the UI Lock variable to the setting in the registry.
void : setUILocked( Boolean onOff, Boolean storeSetting=true )
Parameter(s):
void : showHomeDlg()
Show the Home page dialog.
DzUIPopUpWgt : showUIPopUpWgt( String filename, QWidget posWgt=null )
Parameter(s):
Return Value:
DzUIPopUpWgt : toggleUIPopUpWgt( String filename, QWidget posWgt=null )
Return Value:
If a popup already exists with the same filename, it is cleared (toggled). Otherwise it has the same effect as calling DzMainWindow::showUIPopUpWgt()
Parameter(s):
void : aboutToClose()
Signature:“aboutToClose()”
Emitted just before the main window closes.
void : alwaysOnTopChanged( Boolean onOff )
Signature:“aboutToClose()”
Emitted when the main window is switched to/from being always on top.
void : started()
Signature:“started()”
Emitted after the startup() function has finished.
void : uiLockedChanged()
Signature:“uiLockedChanged()”
Emitted when the main window is switched to/from having the ui locked.