#include <ModelAttribute.h>
Public Types | |
typedef MemberCaller < ModelAttribute,&ModelAttribute::apply > | ApplyCaller |
typedef MemberCaller < ModelAttribute,&ModelAttribute::update > | UpdateCaller |
typedef MemberCaller1 < ModelAttribute, const BrowsedPathEntry::SetPathCallback &,&ModelAttribute::browse > | BrowseCaller |
Public Member Functions | |
ModelAttribute (const std::string &classname, const std::string &key) | |
GtkWidget * | getWidget () const |
void | apply (void) |
void | update (void) |
void | browse (const BrowsedPathEntry::SetPathCallback &setPath) |
Private Attributes | |
std::string | m_classname |
std::string | m_key |
BrowsedPathEntry | m_entry |
NonModalEntry | m_nonModal |
Definition at line 4 of file ModelAttribute.h.
typedef MemberCaller<ModelAttribute, &ModelAttribute::apply> ModelAttribute::ApplyCaller |
Definition at line 28 of file ModelAttribute.h.
typedef MemberCaller1<ModelAttribute, const BrowsedPathEntry::SetPathCallback&, &ModelAttribute::browse> ModelAttribute::BrowseCaller |
Definition at line 46 of file ModelAttribute.h.
typedef MemberCaller<ModelAttribute, &ModelAttribute::update> ModelAttribute::UpdateCaller |
Definition at line 34 of file ModelAttribute.h.
ModelAttribute::ModelAttribute | ( | const std::string & | classname, | |
const std::string & | key | |||
) | [inline] |
Definition at line 11 of file ModelAttribute.h.
References NonModalEntry::connect(), PathEntry::m_entry, BrowsedPathEntry::m_entry, m_entry, and m_nonModal.
void ModelAttribute::apply | ( | void | ) | [inline] |
Definition at line 22 of file ModelAttribute.h.
References EntityAttribute::entitySetValue(), m_classname, PathEntry::m_entry, BrowsedPathEntry::m_entry, m_entry, and m_key.
Referenced by browse().
void ModelAttribute::browse | ( | const BrowsedPathEntry::SetPathCallback & | setPath | ) | [inline] |
Definition at line 35 of file ModelAttribute.h.
References apply(), ui::ModelSelector::chooseModel(), EntityAttribute::entitySetValue(), m_classname, ui::ModelAndSkin::model, and ui::ModelAndSkin::skin.
GtkWidget* ModelAttribute::getWidget | ( | ) | const [inline, virtual] |
Implements EntityAttribute.
Definition at line 18 of file ModelAttribute.h.
References BrowsedPathEntry::m_entry, m_entry, and PathEntry::m_frame.
void ModelAttribute::update | ( | void | ) | [inline, virtual] |
Implements EntityAttribute.
Definition at line 29 of file ModelAttribute.h.
References EntityAttribute::entityGetValueForKey(), PathEntry::m_entry, BrowsedPathEntry::m_entry, m_entry, m_key, and string.
std::string ModelAttribute::m_classname [private] |
Definition at line 6 of file ModelAttribute.h.
BrowsedPathEntry ModelAttribute::m_entry [private] |
Definition at line 8 of file ModelAttribute.h.
Referenced by apply(), getWidget(), ModelAttribute(), and update().
std::string ModelAttribute::m_key [private] |
Definition at line 7 of file ModelAttribute.h.
NonModalEntry ModelAttribute::m_nonModal [private] |
Definition at line 9 of file ModelAttribute.h.
Referenced by ModelAttribute().