QT GUI Msg Push Button
Jump to navigation
Jump to search
This block creates a variable push button that creates a message when clicked. Leave the label blank to use the variable id as the label. You can define both the output message pmt name as well as the value and value type.
Added in 3.9
Parameters
(R): Run-time adjustable
- Id
- The variable name
- Label
- dtype: string
- default: ""
- the name for the push button
- Type
- dtype: enum
- default: Integer
- options: [Float, Integer, String, Boolean]
- Message Property Name
- dtype: string
- default: pressed
- Message Value
- default: 1
- Button Background
- dtype: enum
- default: default
- options: [default, silver, gray, black, white, red, green, blue, navy, yellow, orange, purple, lime, aqua, teal]
- Button Font Color
- dtype: enum
- default: default
- options: see above
See GUI Hint for how to position the GUI within a window.
Example Flowgraph
This flowgraph can be found at [1]
Example Output
Source Files
- C++ files
- TODO
- Header files
- TODO
- Public header files
- TODO
- Block definition
- TODO