QPR Knowledge Base 2017.1

Create a Custom Shape for Notes and Add a Note to the Model

Create a Custom Shape for Notes and Add a Note to the Model

Previous topic Next topic No directory for this topic  

Create a Custom Shape for Notes and Add a Note to the Model

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

mouse_24 Exercise 111: Create a custom shape for notes and add a note to the Hierarchy View.


BTN_AR131. Open the Dentorex Group Scorecard model.
BTN_AR132. Use a graphics editor to create a desired kind of a background symbol for a note. Save it either as a BMP, PNG, GIF, or a JPG image. Note that for transparent images you need to use either PNG or GIF. In addition, BMP images with the size of 16x16 pixels or smaller use the color in the bottom left corner of the image as the transparent color.
BTN_AR133. On the Model tab of the ribbon, click the btn_modeling_options Modeling Options button. The Modeling Options window opens.
BTN_AR134. Switch to the Shape types tab and click New. The Shape Type window opens.
BTN_AR135. Name the shape type as Exercise Note and add a description for it if you like:


BTN_AR136. Click OK.
BTN_AR137. In the Modeling Options window, select the newly created Exercise Note and click the Layout button:


BTN_AR138. The Symbol Layout window opens. From the Items list, drag the Picture over the background shape:


BTN_AR139. A dialog for selecting a picture file opens. Browse for the file you created in step 1.
BTN_AR1310. Resize the image to the desired size and align it over the background shape. Note that the background shape is the area that will react when the shape is clicked for e.g. moving the shape. Therefore it is good to make the background shape cover as much of the shape as possible. However, background shape does not have transparency, so it should not cover areas where transparency is needed.
BTN_AR1311. Right-click the picture and select Properties... (Picture) from the pop-up menu:


BTN_AR1312. The Properties... (Picture) window will open. Switch to the Alignment tab.
BTN_AR1313. Set both the horizontal alignment and vertical alignment to container to Center:


BTN_AR1314. Switch to the Size tab. From the drop-down menus, set the Width and Height to use the Percent of container setting and set the value to 100:


BTN_AR1315. Click OK to close the Properties... (Picture) window.
BTN_AR1316. Similarly as in step 11, drag a Text box onto the symbol area.
BTN_AR1317. Right-click the text box and select Properties... (Text box).
BTN_AR1318. Type in some text to the Text field. Optionally, you can define other settings too. Click OK after you are done. The note symbol is now ready.
BTN_AR1319. Close the Modeling Options window and open the Hierarchy View.
BTN_AR1320. Select the shape you defined earlier from the Shapes section in the Tool Palette and then click on the Hierarchy View. Alternatively, right-click on an empty area and expand the Add Shape submenu in the pop-up menu that opens. Select the shape type you defined earlier.
BTN_AR1321. Drag the note to a location of your choice. The View needs to be saved to preserve the added shape. You can also add multiple notes and customize the layout of the individual notes.

See the Symbol Layout Window topic in QPR Metrics - User's Guide for more information.