Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams Struct Reference

#include <PanelChannelsEditorFactory.hpp>

Public Types

enum class  eChannelSelectionType { Single , Multiple }
 

Public Attributes

eChannelSelectionType selectionType {eChannelSelectionType::Single}
 
bool requiresSelection {false}
 
bool hasClearButton {false}
 
bool getChannelsFromStaticController {false}
 
std::optional< std::shared_ptr< std::vector< std::weak_ptr< iv::channels::AbstractChannel > > > > channels
 
std::optional< iv::types::channelIdinitialSelectedChannelId {std::nullopt}
 
std::optional< std::function< void(std::weak_ptr< iv::channels::AbstractChannel >)> > singleSelectionCallback
 
std::optional< std::function< void(std::vector< std::weak_ptr< iv::channels::AbstractChannel > >)> > multipleSelectionCallback {std::nullopt}
 
bool acceptSelectionWithDoubleClick {false}
 
std::optional< std::function< bool(std::shared_ptr< iv::channels::AbstractChannel >)> > isChannelVisible
 
std::string panelTitle {_("Select Channel")}
 
std::optional< std::function< AbstractComponentGUI *(CList *)> > panelAddedFunctionality {std::nullopt}
 

Member Enumeration Documentation

◆ eChannelSelectionType

Member Data Documentation

◆ acceptSelectionWithDoubleClick

bool iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::acceptSelectionWithDoubleClick {false}

◆ channels

std::optional<std::shared_ptr<std::vector<std::weak_ptr<iv::channels::AbstractChannel> > > > iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::channels

◆ getChannelsFromStaticController

bool iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::getChannelsFromStaticController {false}

◆ hasClearButton

bool iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::hasClearButton {false}

◆ initialSelectedChannelId

std::optional<iv::types::channelId> iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::initialSelectedChannelId {std::nullopt}

◆ isChannelVisible

std::optional<std::function<bool(std::shared_ptr<iv::channels::AbstractChannel>)> > iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::isChannelVisible
Initial value:
{
std::nullopt}

◆ multipleSelectionCallback

std::optional<std::function<void(std::vector<std::weak_ptr<iv::channels::AbstractChannel>>)> > iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::multipleSelectionCallback {std::nullopt}

◆ panelAddedFunctionality

std::optional<std::function<AbstractComponentGUI *(CList *)> > iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::panelAddedFunctionality {std::nullopt}

◆ panelTitle

std::string iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::panelTitle {_("Select Channel")}

◆ requiresSelection

bool iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::requiresSelection {false}

◆ selectionType

eChannelSelectionType iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::selectionType {eChannelSelectionType::Single}

◆ singleSelectionCallback

std::optional<std::function<void(std::weak_ptr<iv::channels::AbstractChannel>)> > iv::panels::channels::PanelChannelsEditorFactory::ChannelSelectionParams::singleSelectionCallback
Initial value:
{
std::nullopt}

The documentation for this struct was generated from the following file: