From OpenSCADAWiki
Jump to: navigation, search

The visualizer module provides and uses set of specific attributes of the generic means, the information of which is given in the table. These attributes are automatically created by the visualizer in their absence and during the first run, or created by the user in the frame of the specified area, as needed.

Identifier (area) Name Appointment
runWin (main page) Window of the execution

Setting the mode of the main window execution:

  • "Original size (0)".
  • "Maximize (1)".
  • "Full screen (2)".
keepAspectRatio (main page) Keep aspect ratio on scale Keep aspect ratio of the pages on scale.
stBarNoShow (main page) Do not show the status bar Hide the status bar of the main window.
winPosCntrSave (main page) Control and save for position of the windows Enabling the windows position control and save.
notify{N}, notifyVisVision{N} (page) Notification: type {N} At.png Create manually with the type "Text"!

Specifies a notifier and a procedure of the notification resource obtaining and the same notification, accordingly to the "Signalling (Alarms)" conception. The notification performed in such priority — notifyVisVision{N} > {Qt|Phonon} > notify{N}. That is the notifyVisVision{N} is most priority, it overrides the {Qt|Phonon} notification and there you can implement very not ordinary notifications.

statLine (main page) Status line items At.png Create manually with the type "Text"!

Text field with description of the status line item in the string form "{Id}:{Label}:{ToolTip}:{Color}:{Img}", where:

  • "Id" — identifier, uses also to form events from the widget "stIt_{Id}".
  • "Label" — visual label of the status element.
  • "ToolTip" — context help about the element.
  • "Color" — label color.
  • "Img" — image of the status element, instead the label.
userSetVis (main page) Setting the user At.png Create manually with the type "String"!

Change the user or call a dialog to select it. Variants of the value:

  • "*" — call for a selecting dialog of the user;
  • "$" — change the user to the default one;
  • "{user}[:{password}]" — direct change to user with password; for empty password, the user is changed only if its permission is lesser or equal and that is the local visualisation; a useful example of changing to the "user" after one minute inactivity:
if((SYS.time()-this.ownerSess().userActTm()) < 60)userSetVis = "";
else if(this.ownerSess().reqUser() != "user") userSetVis = "user:user";
prjDoc (main page) Project document At.png Create manually with the type "String"!

Specifying the project documentation of call from the status line's button with a possibility of disabling-concealing the button at empty value. The documentation specified in view "{OffLine}|{OnLineOpenSCADAWiki}", for example for the AGLCS project — "AGLCS|Using/Model_AGLKS".

vs_background (the views "Line edit", "Text edit", "Combo box", "List", "Tree", "Table" of the primitive "FormEl") Custom background At.png Create manually with the type "String"!

Specifies for the custom background in the form {color}-{transp} {image}.

vs_border (the views "Line edit", "Text edit", "Combo box", "List", "Tree", "Table" of the primitive "FormEl") Custom border At.png Create manually with the type "String"!

Specifies for the custom border in the standard CSS-form {wdth}px {style} {color}.

vs_winTitle (the view "Box") Window title At.png Create manually with the type "String"!

Dynamic window title value.