QtPdWidgets  2.4.0
Public Member Functions | Public Attributes | List of all members
Pd::ComboBox::Impl Struct Reference
Collaboration diagram for Pd::ComboBox::Impl:
Collaboration graph
[legend]

Public Member Functions

 Impl (ComboBox *parent)
 
void updateSelection ()
 Selects the item matching the current process value. More...
 
void connectModel ()
 Connects to the (current) model to react on item changes. More...
 

Public Attributes

ComboBox *const parent
 
bool dataPresent {false}
 A value shall be displayed. More...
 
int value {0}
 The current process value. More...
 
bool updating {false}
 Avoid recursion on model changes. More...
 

Constructor & Destructor Documentation

◆ Impl()

Pd::ComboBox::Impl::Impl ( ComboBox *  parent)
inline

Member Function Documentation

◆ connectModel()

void Pd::ComboBox::Impl::connectModel ( )
inline

Connects to the (current) model to react on item changes.

References Pd::ComboBox::Impl::parent, and Pd::ComboBox::Impl::updateSelection().

◆ updateSelection()

void Pd::ComboBox::Impl::updateSelection ( )
inline

Member Data Documentation

◆ dataPresent

bool Pd::ComboBox::Impl::dataPresent {false}

A value shall be displayed.

Referenced by Pd::ComboBox::Impl::updateSelection().

◆ parent

ComboBox* const Pd::ComboBox::Impl::parent

◆ updating

bool Pd::ComboBox::Impl::updating {false}

Avoid recursion on model changes.

Referenced by Pd::ComboBox::Impl::updateSelection().

◆ value

int Pd::ComboBox::Impl::value {0}

The current process value.

Referenced by Pd::ComboBox::Impl::updateSelection().


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