Use object and variable templatesΒΆ

Introduction

Q Studio includes object templates of different types (single graphical objects, widgets, style sheets, NetLogic etc.), organized in different system libraries, that are not editable. A template is useful for quickly creating a more or less complex object in the project, in any case that can be reconfigured as desired.

In addition to the included templates, custom object or variable templates can be created that are useable in any project on the same PC. Every custom library corresponds to a particular Q Studio project containing all the related object and variable templates. Custom template libraries can be copied to other PCs directly from the file system.

Save an object or variable as a template

  1. In the main toolbar, click image1: the template libraries window opens.

  2. Optional. Click image2 to create a new template library, then rename it.

  3. From Project, drag the desired object or variable into the desired library.

  4. Optional. Insert a description of the template.

Use a template

  1. In the main toolbar, click image3: the template libraries window opens.

  2. Drag the desired template from the library into the Project panel inside the desired node or, if it is a graphical element, into the editor.

Edit a template in a library

Note

le librerie di sistema, identificate da etichetta in corsivo nella finestra delle librerie dei template, non sono modificabili.

  1. In the folder %userprofile%\Documents\ASEM\UNIQO\Libraries, inside the folder with the name of the desired library, open the Q Studio project with the same name.

  2. In Q Studio, edit the desired objects/templates, then click image4: the edited templates are available for all Q Studio projects on the same PC.

Using a Custom Library on Another PC

In the folder %userprofile%\Documents\ASEM\UNIQO\Libraries, copy the folder with the name of the desired library and paste it in the same location in the new PC: the copied custom library is available in Q Studio.

See also

Related concepts

Objects

Related procedures

Objects and Object Types

Related APIs

API to create objects