Use the style sheets

Create a style sheet

If a project is created from the standard template, a style sheet is already included.

To create an additional style sheet, in the Project panel, right-click the UI folder, then select New > Style sheet: the new style sheet is created.

Alternatively, to use one of the style sheet templates included in UNIQO, do as follows:

  1. Click image1 to open the template library.

  2. From StyleSheets, drag the desired template into UI in the Project panel.

  3. (optional) Configure the style properties.

Configure the style properties

  1. In the Project panel, click the desired Style sheet object.

  2. In the Properties panel, set the properties in Global styles to change the styles common to all graphical objects in the project, or set the properties in Style controls to change the styles for specific classes of graphical objects.

Note

for some style properties (e.g., Highlight color), at design time the preview is displayed in the editor.

Choose the style sheet of a Q Application

In the Presentation engine object, in the Style sheet property, select the desired style sheet.

Use a custom font

UNIQO supports the use of custom fonts, in TTF or OTF format. To use a font other than the default, it must be imported into the project as follows:

  1. Click image2: the Project Files folder opens.

  2. Click image3, select the font to import, then close the Project Files window: the font is available in the Font family properties of the different objects.

Change the colors at runtime with the native widget

See Configures a Select Color

See also

Related concepts

Stylesheets

References

Style sheet