Home ⌂Doc Index ◂Up ▴

eric6.Project.UicLoadUi

Module to get the object name, class name or signatures of a Qt form (*.ui).

Global Attributes

None

Classes

None

Functions

__mapType Private function to map a type as reported by Qt's meta object to the correct Python type.
className Function to get the class name of a form.
objectName Function to get the object name of a form.
signatures Function to get the signatures of form elements.


__mapType

__mapType(type_)

Private function to map a type as reported by Qt's meta object to the correct Python type.

type_ (QByteArray or bytes)
type as reported by Qt
Returns:
mapped Python type
Return Type:
str
Up


className

className(formFile, projectPath)

Function to get the class name of a form.

formFile (str)
file name of the form
projectPath (str)
directory name of the project
Up


objectName

objectName(formFile, projectPath)

Function to get the object name of a form.

formFile (str)
file name of the form
projectPath (str)
directory name of the project
Up


signatures

signatures(formFile, projectPath)

Function to get the signatures of form elements.

formFile (str)
file name of the form
projectPath (str)
directory name of the project
Up



Home ⌂Doc Index ◂Up ▴