Table of Contents
The Valentina Studio Form Editor incorporates the Qt API.
It consists of the following parts:
- Classes - The reference for classes that can be used in scripts. There are two groups of classes - Qt and own Valentina Studio
- Enums - The reference for available enumerated types.
- Global Constants - The list of global constants. Their values, for example, can be compared to the values of the appropriate object's properties.
- Global Constructors - The list of constructors that can be called at any place.
- Global Objects - The list of global objects available in any script
At the top of the class reference you can find:
- Short description.
- Example of this class usage.
- The list of classes this class is extending.
- The list of other classes extending this class.
You can see an example of the QAbstractButton class reference on the following picture:
You can run the example to see it in action using the RUN button on the right.
A detailed reference for a class consists of the following parts:
Each part contains the list of all class members - inherited and own.
Like the class reference example, usage examples of the class members can be executed.
Click on each item of the list opens its detailed description.
Methods list contains all methods of this class.
Each row of the list contains the return type of method, its name and input parameters.
The list of properties for the class:
Each row of the list contains the type of property and its name.
The list of signals for the class:
Each row of the list contains the name of the signal.
The list of enums of the class:
Each row of the list contains the name of the enum.
The detailed description includes the list of constants in the enum:
Enum reference consists of a short description, usage example and the list of constants in this enum.
Global Constant Reference
The global constants reference consists of a short description, enum type and usage example of the global constant. Enum values are accessible via global constants.