Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Graphic items

The graphic item is an object that can be created in the panel editor. It is the basic construction element of the PROMOTIC system application panel (of the PmPanel object). By means of graphic items it is possible to create an application panel that serves for the visualization of data, their inputs, controlling, etc.

The graphic item can be inserted into the panel from the "Graphic items preconfigurations" window.

 
Basic terms:
Window item: This item creates its own sub-window (this window has the same dimensions as the graphic item itself) when drawing the panel whose parent is the window where the whole panel is drawn. That's why the window items always overlap all common items on the desktop independently on the background in which they were constructed. Limitation when creating compound items: items cannot be nested into window items.

A list of the window items: PmiAx, PmiWEdit, PmiWCheck, PmiWCombo, PmiWFrame and PmiWAnimate.

Marked item: This item is bound by a set of points (2 to 8 according to the item type) in the shape of small squares. There can be more marked items together. The marked item can be at the same time even the current item. How to mark items - see: Basic control of panel editor.
Current item: It is an item on which the mouse cursor was placed in a moment of pressing the left or right mouse button. The name of this item is written to the the status line on each change of the mouse position. The current item can be the marked item at the same time.
 
List ot Graphic items of the PROMOTIC system:
PmiAlarmEvent Alarm and event viewer
PmiAnimImage(Animated image) Viewing raster images from file (*.gif)
PmiAx(ActiveX) It serves for displaying the graphic ActiveX object
PmiBar(Bar) Displaying a value in the form of a graphic bar level
PmiBarPane(Vertical (Horizontal) bar meter with title) It displays the value of a variable by the bar level
PmiButton(One-state button) One-state button for starting script
PmiButtonRadio(Radio buttons with/without a title) It serves for the selection of one from items
PmiButtonTwo(Two-states button) Button determined for toggling two states
PmiCanvas(Drawing canvas) Drawing canvas
PmiEllipse(Ellipse, Circle) Serves for drawing ellipses and circles
PmiInstance(Instance) Instance of the prototype (template), i.e. the instance of the PmiPrototype object
PmiItem(Parent of all graphic items) Parent of all graphic items
PmiLine(Line horizontal, vertical) Drawing flat single lines
PmiLine3D(3D line horizontal, vertical) It serves for drawing a shadow 3D line
PmiPanel(Panel with title, without title, border) Serves mainly for grouping more items
PmiPanelMeter(Panel meter with title) Displaying the measured variable value as at analog panel meters (obsolete)
PmiPipe(Pipeline) Showing pipeline in the panel
PmiPrototype(Prototype) Template for an instance, i.e. the PmiInstance item.
PmiRasterImage(Raster image) Viewing raster images from file (png, jpg, svg, bmp, gif, tif, wmf, ...)
PmiRectangle(Rectangle, Square) Drawing rectangles and squares
PmiRoot(Graphic content of the panel) Graphic content of the panel
PmiShape(Shape) Drawing freeform (e.g. polygon) (obsolete)
PmiSlider(Slider) Enter numeric value by slider
PmiSliderPane(Slider with scale) Enter values by the SliderScale
PmiText(Text with/without background) Displaying text strings and numeric values
PmiWAnimate(Video player) Playing video files (*.avi,*.mpg,...)
PmiWCombo(ComboBox) Entering values selected from the dropdown menu list
PmiWEdit(EditBox) Displaying text value
PmiWFrame Displaying the viewer of the Promotic object
PmiWCheck(CheckBox) It serves for boolean value YES/NO setting/displaying (obsolete)
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice