Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPanelChannelsEditor Class Referencefinal

#include <CPanelChannelsEditor.hpp>

Inheritance diagram for CPanelChannelsEditor:
[legend]
Collaboration diagram for CPanelChannelsEditor:
[legend]

Classes

struct  Constants
 

Public Member Functions

 CPanelChannelsEditor ()
 
 ~CPanelChannelsEditor () override=default
 
 CPanelChannelsEditor (const CPanelChannelsEditor &other)=delete
 
CPanelChannelsEditoroperator= (const CPanelChannelsEditor &other)=delete
 
 CPanelChannelsEditor (CPanelChannelsEditor &&other)=delete
 
CPanelChannelsEditoroperator= (CPanelChannelsEditor &&other)=delete
 
AbstractComponentGUIbuildPanel (CDialog *dialogFather) override
 
void update () override
 
void updateSheetColumns () const
 
void updateSheetRows () const
 
void applyFilters () const
 
void setFiltersActive (bool active)
 
void addLanguage (iv::eLanguage languageToProcess)
 
void removeLanguage (iv::eLanguage languageToProcess)
 
void setLatestColumnDefinitions (const iv::gui::sheets::ColumnsDefinitions &columnDefinitions)
 
void setLatestRowDefinitions (const iv::gui::sheets::RowsDefinitions &rowDefinitions) const
 
const iv::gui::sheets::ColumnsDefinitionsgetLatestColumnDefinitions () const
 
bool deleteChannel (uint32_t unitId, uint32_t channelId, std::string &resultMsg) const
 
const std::optional< iv::types::unitId > & getSelectedUnitId () const
 

Static Public Member Functions

static CSheetgetSheetRefChannelEditor ()
 

Private Member Functions

void prvUpdateSheet () const
 
AbstractComponentGUIprvBuildButtonsLayout ()
 
void prvBuildComboBoxUnitSelection ()
 
void prvRefreshComboBoxUnitSelection () const
 

Static Private Member Functions

static void prvAppendVerificationButtonsToLayout (const CLayoutHorizontal *layoutButtons)
 

Private Attributes

AbstractComponentGUIm_comboBoxUnitSelection
 
std::shared_ptr< std::optional< iv::types::unitId > > m_selectedUnitId
 
std::shared_ptr< AbstractSheetModelm_sheetModelRef
 
iv::gui::sheets::ColumnsDefinitions m_latestColumnDefinitions
 
iv::gui::sheets::RowsDefinitions m_latestRowDefinitions
 
bool m_areFiltersActive {false}
 
std::shared_ptr< CPanelChannelsFilterChannelsm_panelChannelsFilterChannels
 

Static Private Attributes

static CSheetm_sheetRefChannelEditor {nullptr}
 

Constructor & Destructor Documentation

◆ CPanelChannelsEditor() [1/3]

CPanelChannelsEditor::CPanelChannelsEditor ( )

◆ ~CPanelChannelsEditor()

CPanelChannelsEditor::~CPanelChannelsEditor ( )
overridedefault

◆ CPanelChannelsEditor() [2/3]

CPanelChannelsEditor::CPanelChannelsEditor ( const CPanelChannelsEditor & other)
delete

◆ CPanelChannelsEditor() [3/3]

CPanelChannelsEditor::CPanelChannelsEditor ( CPanelChannelsEditor && other)
delete

Member Function Documentation

◆ addLanguage()

void CPanelChannelsEditor::addLanguage ( iv::eLanguage languageToProcess)

◆ applyFilters()

void CPanelChannelsEditor::applyFilters ( ) const

◆ buildPanel()

AbstractComponentGUI * CPanelChannelsEditor::buildPanel ( CDialog * dialogFather)
overridevirtual

◆ deleteChannel()

bool CPanelChannelsEditor::deleteChannel ( uint32_t unitId,
uint32_t channelId,
std::string & resultMsg ) const

◆ getLatestColumnDefinitions()

const iv::gui::sheets::ColumnsDefinitions & CPanelChannelsEditor::getLatestColumnDefinitions ( ) const
nodiscard

◆ getSelectedUnitId()

const std::optional< iv::types::unitId > & CPanelChannelsEditor::getSelectedUnitId ( ) const
nodiscard

◆ getSheetRefChannelEditor()

static CSheet * CPanelChannelsEditor::getSheetRefChannelEditor ( )
inlinestatic

◆ operator=() [1/2]

CPanelChannelsEditor & CPanelChannelsEditor::operator= ( const CPanelChannelsEditor & other)
delete

◆ operator=() [2/2]

CPanelChannelsEditor & CPanelChannelsEditor::operator= ( CPanelChannelsEditor && other)
delete

◆ prvAppendVerificationButtonsToLayout()

void CPanelChannelsEditor::prvAppendVerificationButtonsToLayout ( const CLayoutHorizontal * layoutButtons)
staticprivate

◆ prvBuildButtonsLayout()

AbstractComponentGUI * CPanelChannelsEditor::prvBuildButtonsLayout ( )
private

◆ prvBuildComboBoxUnitSelection()

void CPanelChannelsEditor::prvBuildComboBoxUnitSelection ( )
private

◆ prvRefreshComboBoxUnitSelection()

void CPanelChannelsEditor::prvRefreshComboBoxUnitSelection ( ) const
private

◆ prvUpdateSheet()

void CPanelChannelsEditor::prvUpdateSheet ( ) const
private

◆ removeLanguage()

void CPanelChannelsEditor::removeLanguage ( iv::eLanguage languageToProcess)

◆ setFiltersActive()

void CPanelChannelsEditor::setFiltersActive ( bool active)

◆ setLatestColumnDefinitions()

void CPanelChannelsEditor::setLatestColumnDefinitions ( const iv::gui::sheets::ColumnsDefinitions & columnDefinitions)

setLatestColumnDefinitions

Backs up latest user selected options.

◆ setLatestRowDefinitions()

void CPanelChannelsEditor::setLatestRowDefinitions ( const iv::gui::sheets::RowsDefinitions & rowDefinitions) const

setLatestRowDefinitions

Backs up latest user selected options.

◆ update()

void CPanelChannelsEditor::update ( )
overridevirtual

◆ updateSheetColumns()

void CPanelChannelsEditor::updateSheetColumns ( ) const

◆ updateSheetRows()

void CPanelChannelsEditor::updateSheetRows ( ) const

Member Data Documentation

◆ m_areFiltersActive

bool CPanelChannelsEditor::m_areFiltersActive {false}
private

◆ m_comboBoxUnitSelection

AbstractComponentGUI* CPanelChannelsEditor::m_comboBoxUnitSelection
private

◆ m_latestColumnDefinitions

iv::gui::sheets::ColumnsDefinitions CPanelChannelsEditor::m_latestColumnDefinitions
private

◆ m_latestRowDefinitions

iv::gui::sheets::RowsDefinitions CPanelChannelsEditor::m_latestRowDefinitions
mutableprivate

◆ m_panelChannelsFilterChannels

std::shared_ptr<CPanelChannelsFilterChannels> CPanelChannelsEditor::m_panelChannelsFilterChannels
private

◆ m_selectedUnitId

std::shared_ptr<std::optional<iv::types::unitId> > CPanelChannelsEditor::m_selectedUnitId
private

◆ m_sheetModelRef

std::shared_ptr<AbstractSheetModel> CPanelChannelsEditor::m_sheetModelRef
private

◆ m_sheetRefChannelEditor

CSheet * CPanelChannelsEditor::m_sheetRefChannelEditor {nullptr}
staticprivate

The documentation for this class was generated from the following files: