Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CContainerWithButtons.hpp>
Classes | |
struct | SPrvButtonContainer |
Public Types | |
enum class | AlignButtons { Horizontal , Vertical } |
Public Member Functions | |
CContainerWithButtons (AlignButtons alignButtons, bool isChangeColor=false, iv::types::color colorSelected=iv::color::Undefined, iv::types::color colorUnselected=iv::color::Undefined) | |
CContainerWithButtons (const CContainerWithButtons &)=delete | |
~CContainerWithButtons () override | |
CContainerWithButtons & | operator= (CContainerWithButtons &)=delete |
void | addButton (const std::string &txtButton, ICreatorPanel **creatorPanel, bool isSelected=false) |
void | addButtonWithImage (const iv::ui::resources::ImageResource &resource, const std::string &txtButton, ICreatorPanel **creatorPanel, bool isSelected=false) |
void | unSelectAll () |
void | panelBreakDown (AbstractComponentGUI **buttons, AbstractComponentGUI **containerLayout) |
void | updateColor () |
bool | getIsColorChange () const |
Public Attributes | |
uint8_t | m_marginButtons {4} |
bool | m_expandButtons {false} |
std::optional< iv::math::geometry::Area > | m_minOptionButtonSize {std::nullopt} |
Private Member Functions | |
CLayoutContainer * | prvPanelContainerLayout () |
AbstractComponentGUI * | prvPanelButtons (CLayoutContainer *containerLayout) |
Private Attributes | |
AlignButtons | m_alignButtons |
std::vector< SPrvButtonContainer * > * | m_buttons |
bool | m_isColorChange |
uint32_t | m_colorSelected |
uint32_t | m_colorUnselected |
|
strong |
|
explicit |
|
delete |
|
override |
void CContainerWithButtons::addButton | ( | const std::string & | txtButton, |
ICreatorPanel ** | creatorPanel, | ||
bool | isSelected = false ) |
void CContainerWithButtons::addButtonWithImage | ( | const iv::ui::resources::ImageResource & | resource, |
const std::string & | txtButton, | ||
ICreatorPanel ** | creatorPanel, | ||
bool | isSelected = false ) |
|
nodiscard |
|
delete |
void CContainerWithButtons::panelBreakDown | ( | AbstractComponentGUI ** | buttons, |
AbstractComponentGUI ** | containerLayout ) |
|
private |
|
private |
void CContainerWithButtons::unSelectAll | ( | ) |
void CContainerWithButtons::updateColor | ( | ) |
|
private |
|
private |
|
private |
|
private |
bool CContainerWithButtons::m_expandButtons {false} |
|
private |
uint8_t CContainerWithButtons::m_marginButtons {4} |
std::optional<iv::math::geometry::Area> CContainerWithButtons::m_minOptionButtonSize {std::nullopt} |