Navigation
API > API/Plugins > API/Plugins/DMXProtocolEditor > API/Plugins/DMXProtocolEditor/Widgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SDMXPortSelector
References
| Module | DMXProtocolEditor |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXProtocol/Source/DMXProtocolEditor/Public/Widgets/SDMXPortSelector.h |
| Include | #include "Widgets/SDMXPortSelector.h" |
Syntax
class SDMXPortSelector : public SCompoundWidget
Remarks
A widget that allows to select a DMX port available in from the DMXPortManager.
Directly returns corresponding DMXPort via the GetPort method.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Constructs the widget | |
| FDMXInputPortSharedPtr | Returns the selected input port, or nullptr if no valid input port is selected | ||
| FDMXOutputPortSharedPtr | Returns the selected output port, or nullptr if no valid output port is selected | ||
| bool | HasSelection () |
Returns true if a valid port is selected | |
| bool | Returns true if an input port is selected | ||
| bool | Returns true if an output port is selected | ||
| void | SelectPort
(
const FGuid& PortGuid |
Selects specified Port by Port Guid. If the Guid is not valid, clears the selection | |
| void | Instead of showing a selected port, the widget displays 'Multiple Values' and no longer returns a selected port. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |