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
In the main toolbar, click : the template libraries window opens.
Optional. Click to create a new template library, then rename it.
From Project, drag the desired object or variable into the desired library.
Optional. Insert a description of the template.
Use a template
In the main toolbar, click : the template libraries window opens.
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.
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.
In Q Studio, edit the desired objects/templates, then click : 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
Related procedures
Related APIs