#include <ListAttribute.h>
Public Types | |
typedef MemberCaller < ListAttribute,&ListAttribute::apply > | ApplyCaller |
Public Member Functions | |
ListAttribute (const std::string &classname, const std::string &key, const ListAttributeType &type) | |
GtkWidget * | getWidget () const |
void | apply (void) |
void | update (void) |
Private Attributes | |
std::string | m_classname |
std::string | m_key |
GtkComboBox * | m_combo |
NonModalComboBox | m_nonModal |
const ListAttributeType & | m_type |
Definition at line 32 of file ListAttribute.h.
typedef MemberCaller<ListAttribute, &ListAttribute::apply> ListAttribute::ApplyCaller |
Definition at line 64 of file ListAttribute.h.
ListAttribute::ListAttribute | ( | const std::string & | classname, | |
const std::string & | key, | |||
const ListAttributeType & | type | |||
) | [inline] |
Definition at line 40 of file ListAttribute.h.
References ListAttributeType::begin(), NonModalComboBox::connect(), ListAttributeType::end(), i, m_combo, and m_nonModal.
void ListAttribute::apply | ( | void | ) | [inline] |
Definition at line 59 of file ListAttribute.h.
References EntityAttribute::entitySetValue(), m_classname, m_combo, m_key, and m_type.
GtkWidget* ListAttribute::getWidget | ( | ) | const [inline, virtual] |
void ListAttribute::update | ( | void | ) | [inline, virtual] |
Implements EntityAttribute.
Definition at line 66 of file ListAttribute.h.
References ListAttributeType::begin(), ListAttributeType::end(), EntityAttribute::entityGetValueForKey(), ListAttributeType::findValue(), i, m_combo, m_key, m_nonModal, m_type, NonModalComboBox::setActive(), and string.
std::string ListAttribute::m_classname [private] |
Definition at line 34 of file ListAttribute.h.
Referenced by apply().
GtkComboBox* ListAttribute::m_combo [private] |
Definition at line 36 of file ListAttribute.h.
Referenced by apply(), getWidget(), ListAttribute(), and update().
std::string ListAttribute::m_key [private] |
Definition at line 35 of file ListAttribute.h.
NonModalComboBox ListAttribute::m_nonModal [private] |
Definition at line 37 of file ListAttribute.h.
Referenced by ListAttribute(), and update().
const ListAttributeType& ListAttribute::m_type [private] |
Definition at line 38 of file ListAttribute.h.