mycnc:mycnc_screen_configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:mycnc_screen_configuration [2020/02/06 10:17] – ivan | mycnc:mycnc_screen_configuration [2020/02/24 10:24] – ivan | ||
---|---|---|---|
Line 26: | Line 26: | ||
==== MyCNC GUI elements ==== | ==== MyCNC GUI elements ==== | ||
+ | |||
+ | ^ Element ^ Use ^ | ||
+ | | Label | Unchanging text element | | ||
+ | | Display | Changing value | | ||
+ | | BDisplay | Changing value - can be clicked by the user to enter a new value | | ||
+ | | KDisplay | Changing value - can be clicked by the user to enter a new value | | ||
+ | | RadioDisplay | Changing value - preset from a list of choices | | ||
+ | | Radio2Display | Changing value - preset from a list of choices (update of RadioDisplay) | | ||
+ | | KSpinBox | Changing value - changed by pressing the arrows to increase/ | ||
+ | | KSpinBox2 | Changing value - changed by pressing the arrows to increase/ | ||
+ | | LED | LED display to show some status (can be on/off) | | ||
+ | | SVG Display | Set of images to change depending on input | | ||
+ | | MyItems | Container element which can contain other elements | | ||
+ | | Border | Frame element which can contain other elements | | ||
+ | | Button | Button | | ||
+ | | XButton | Button with an LED indicator | | ||
+ | | GLView | 3D Visualization | | ||
+ | | NCView | 2D Visualization | | ||
+ | | Logview | Program log window | | ||
+ | | Statusbar | Progress and status bar | | ||
+ | | NCList | Program G-code commands list | | ||
+ | | Myscope | Time graphs | | ||
+ | | CentringView | Centering widget (built-in) | | ||
+ | | Rotation2View | Full program rotation widget (built-in) | | ||
+ | |||
+ | The following table outlines the parameters that define the on-screen elements within myCNC: | ||
+ | |||
+ | ^ Parameter ^ Example ^ Use ^ | ||
+ | | type | type=" | ||
+ | | skin | skin=" | ||
+ | | where | where=" | ||
+ | | position | position=" | ||
+ | | width | width=" | ||
+ | | height | height=" | ||
+ | | labelWidth | labelWidth=" | ||
+ | | displayWidth | displayWidth=" | ||
+ | | labelFgColor | labelFgColor="## | ||
+ | | labelBgColor | labelBgColor="## | ||
+ | | labelFontSize | labelFontSize=" | ||
+ | | labelFontStyle | labelFontStyle=" | ||
+ | | message | < | ||
+ | | name | name=" | ||
+ | | bgColor | bgColor="## | ||
+ | | fgColor | fgColor="## | ||
+ | | fontStyle | fontStyle=" | ||
+ | | format | format=" | ||
+ | | displayAlignment | displayAlignment=" | ||
+ | | fontFamily | fontFamily=" | ||
+ | | deviation | deviation=" | ||
+ | | action | action=" | ||
+ | | orientation | orientation=" | ||
++++Label| | ++++Label| | ||
Line 435: | Line 486: | ||
* **both** - there are separate actions (";" | * **both** - there are separate actions (";" | ||
* **skinbase** - besides the Image file for each button there is a common **skin** SVG file for all the buttons. For selected buttons skin file can be redefined with **skinbase** attribute which specifies the border/mask which the button will be used with. This SVG file will be used as a bottom layer for the button image. | * **skinbase** - besides the Image file for each button there is a common **skin** SVG file for all the buttons. For selected buttons skin file can be redefined with **skinbase** attribute which specifies the border/mask which the button will be used with. This SVG file will be used as a bottom layer for the button image. | ||
+ | * A skinbase set equal to " | ||
++++ | ++++ | ||
Line 448: | Line 500: | ||
<gitem where=" | <gitem where=" | ||
| | ||
- | | + | |
| | ||
| | ||
Line 934: | Line 986: | ||
| item: | See [[mycnc: | | item: | See [[mycnc: | ||
- | | fake | Empty Handler Action. Nothing happens when you run this action | | + | | fake | Empty Handler Action. Nothing happens when you run this action. | |
| myitem-value-inc, | | myitem-value-inc, |
mycnc/mycnc_screen_configuration.txt · Last modified: 2023/07/25 11:26 by ivan