PanelDataFlowEditor class that will build the Data Flow's window panel. This panel will contain a sheet and a button layout to work with it.
More...
#include <PanelDataFlowEditor.hpp>
PanelDataFlowEditor class that will build the Data Flow's window panel. This panel will contain a sheet and a button layout to work with it.
◆ PanelDataFlowEditor()
iv::panels::PanelDataFlowEditor::PanelDataFlowEditor |
( |
| ) |
|
◆ addChannelToNetwork()
Add a channel to the selected network. Updates the sheet and the model.
- Parameters
-
selectedChannel | The channel to add to the network. |
◆ buildPanel()
Build the panel with the sheet and the button's layout.
- Parameters
-
dialogFather | The dialog that contains the panel. |
- Returns
- The panel layout.
Implements AbstractViewPanelEditor.
◆ getSelectedNetworkId()
std::shared_ptr< iv::types::networkId > iv::panels::PanelDataFlowEditor::getSelectedNetworkId |
( |
| ) |
const |
|
nodiscard |
◆ prvBuildButtonsLayout()
Build the buttons layout with the Network selection combo box, the Add channel, Add unit and Remove buttons.
- Returns
- The button's layout.
◆ prvBuildComboBoxLanguageSelection()
void iv::panels::PanelDataFlowEditor::prvBuildComboBoxLanguageSelection |
( |
| ) |
|
|
private |
◆ prvBuildComboBoxNetworkSelection()
void iv::panels::PanelDataFlowEditor::prvBuildComboBoxNetworkSelection |
( |
| ) |
|
|
private |
Build the Network selection combo box.
◆ prvGetNetworksIds()
◆ prvRefreshComboBoxLanguageSelection()
void iv::panels::PanelDataFlowEditor::prvRefreshComboBoxLanguageSelection |
( |
| ) |
const |
|
private |
◆ prvRefreshComboBoxNetworkSelection()
void iv::panels::PanelDataFlowEditor::prvRefreshComboBoxNetworkSelection |
( |
| ) |
const |
|
private |
Refresh the Network selection combo box, updating the choices and the selected network ID if previous one does not exist anymore.
◆ removeChannelFromNetwork()
Remove a channel from the selected network. Updates the sheet and the model.
- Parameters
-
selectedChannel | The channel to remove from the network. |
◆ update()
void iv::panels::PanelDataFlowEditor::update |
( |
| ) |
|
|
overridevirtual |
Update the panel. Refresh the sheet with the selected network and the Network selection combo box.
Implements AbstractViewPanelEditor.
◆ m_comboBoxLanguageSelection
◆ m_comboBoxNetworkSelection
◆ m_selectedLanguage
std::shared_ptr<iv::eLanguage> iv::panels::PanelDataFlowEditor::m_selectedLanguage |
|
private |
◆ m_selectedNetworkId
◆ m_sheetModelRef
◆ m_sheetRef
CSheet* iv::panels::PanelDataFlowEditor::m_sheetRef |
|
private |
The documentation for this class was generated from the following files: