Siemens SINUMERIK 840DE sl Commissioning Manual page 74

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

General settings
3.14 Display Manager
Property
pressedTextColor
borderWidth
borderColor
textRect
imageRect
Only relevant for display buttons
1)
Applies to menuItem and menuItemStyle
2)
Example 1
[menuitems]
MENUITEM001= name:=menuitem1, onClicked:=showDisplay(display1),
text:="Display1"
MENUITEM002= name:=menuitem2, onClicked:=showDisplay(display2),
text:="Display2", accessLevel:=Customer, width:=100
MENUITEM003= name:=miPdf, menuItemStyle:=misMenu,
onClicked:="showApp(defaultFrame, appPdf)", image:=dm_pdf.png,
text:="PDF"
MENUITEM004= name:=miBrowser, menuItemStyle:=misMenu,
onClicked:="showApp(defaultFrame, appBrowser)",
image:=dm_browser.png, textID:=TEXT_ID_BROWSER
In the [menuitemstyles] section, styles can be defined for menu items in which all visual
properties of a menu item are defined. The individual properties can in turn be overwritten in
the menu item. The summary of all visual attributes saves typing work, because you usually
have many menu items that generally should all look the same. If a property should then be
different for a menu item, it can be overwritten individually.
60
Meaning
Color of the menu item text in the pressed state of the menu item
2)
See paragraph "Color definitions".
Default: Qt::white
Width of the border of the menu item in pixels
2)
Default: 1.
Color of the border of the menu item
2)
See paragraph "Color definitions".
Default: Qt::darkGray
Rectangle relative to the menu item (widget coordinate system, i.e. Top‐
2)
Left of the menu item is coordinate 0,0) in which the text is aligned.
The following should be specified:
x, y, width, height. For example, textRect:="0,10,40,30" or tex‐
tRect:=0/10/40/30 or textRect:=0 10 40 30
Note the required quotes when commas are used as delimiters, because
commas are also the separator between the properties.
Default: The rectangle within the border; for borderWidth = 0 this is the
rectangle of the complete menu item.
Rectangle relative to the menu item (widget coordinate system, i.e. Top‐
2)
Left of the menu item is coordinate 0,0) in which the icon is aligned.
The following should be specified:
x, y, width, height. For example, imageRect:="0,10,40,30" or image‐
Rect:=0/10/40/30 or imageRect:=0 10 40 30
Note the required quotes when commas are used as delimiters, because
commas are also the separator between the properties.
Default: The rectangle within the border; for borderWidth = 0 this is the
rectangle of the complete menu item.
Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1
SINUMERIK Operate (IM9)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents