User Tools

Site Tools


DzUIPopUpWgt

A popup widget constructed from a QtDesigner *.ui file.

More...

Inherits :

Constructors

DAZ Script
DzUIPopUpWgt ( QWidget parent )

Methods

DAZ Script
StringgetFileName ()
QWidgetgetUIWidget ()
StringgetWorkingDirectory ()
voidloadUI ( String filename )
voidmovePopUp ( Point newPos )
voidsetWidget ( QWidget widget )
voidsetWorkingDirectory ( String str )

Detailed Description

TODO: Add detailed description.

Constructors


DzUIPopUpWgt( QWidget parent )

Default Constructor. Creates a new ui popup widget.

Parameter(s):

  • parent - The parent widget for the popup

Methods


String : getFileName()

Return Value:

  • The filename that was used to load the ui file

QWidget : getUIWidget()

Return Value:


String : getWorkingDirectory()

Return Value:

  • The current working directory for the ui file.

void : loadUI( String filename )

Sets the main widget for this popup from the ui file.

Parameter(s):

  • filename - The path to the ui file to show in the widget.

void : movePopUp( Point newPos )

Moves the popup to the point defined.

Parameter(s):

  • newPos - The position to move the popup widget to

void : setWidget( QWidget widget )

Sets the widget for the ui popup widget.

Parameter(s):

  • widget - The widget for the popup

void : setWorkingDirectory( String str )

Parameter(s):

  • str - the working directory for the ui loader.

Note:

  • This has no effect if set after DzUIPopUpWgt::loadUI() is called.