#include <gui_list_helper.h>
Classes | |
struct | THelpData |
Public Types | |
enum | SORT_KEY { SORT_BY_ID, SORT_BY_DESCR, SORT_NONE } |
Public Member Functions | |
GUIListHelper (TLIST *list, SORT_KEY skey) | |
GUIListHelper (TLIST *list, const QMap< TID, QString > &data, SORT_KEY skey) | |
GUIListHelper (TLIST *list, const QList< QString > &data, SORT_KEY skey) | |
~GUIListHelper () | |
void | setList (TLIST *list) |
void | setCurrentItemID (const TID &id) |
void | setOrgItemID (const TID &id) |
template<class TData > | |
void | alternativesChanged (const TData &data) |
const TID | getCurrentItemID () const |
int | count () const |
virtual void | slotOK () |
virtual void | slotCancel () |
virtual void | slotUserSelection () |
![]() | |
GUIListHelperQObjectBase () | |
virtual | ~GUIListHelperQObjectBase () |
Protected Member Functions | |
void | setData (const QMap< TID, QString > &data) |
void | setData (const QList< QString > &data) |
bool | containsItemID (const TID &id) const |
void | setUserDirty () |
void | setUserDirty (bool dirty) |
void | setAlternativeDirty () |
void | setAlternativeDirty (bool dirty) |
void | setDirty (bool userDirty, bool alternativesDirty) |
![]() | |
void | emitSigDirtyChanged (bool d) |
Protected Attributes | |
SORT_KEY | m_skey |
TLIST * | m_List |
bool | m_userDirty |
bool | m_alternativeDirty |
TID | m_orgID |
TID | m_userSelID |
bool | m_ignoreGUIChange |
Additional Inherited Members | |
![]() | |
![]() | |
void | sigDirtyChanged (bool dirty) |
![]() |
Definition at line 58 of file gui_list_helper.h.
enum GUIListHelper::SORT_KEY |
Enumerator | |
---|---|
SORT_BY_ID | |
SORT_BY_DESCR | |
SORT_NONE |
Definition at line 61 of file gui_list_helper.h.
GUIListHelper< TLIST, TID >::GUIListHelper | ( | TLIST * | list, |
SORT_KEY | skey | ||
) |
Definition at line 136 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::slotUserSelection().
GUIListHelper< TLIST, TID >::GUIListHelper | ( | TLIST * | list, |
const QMap< TID, QString > & | data, | ||
SORT_KEY | skey | ||
) |
Definition at line 149 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::setData(), and GUIListHelper< TLIST, TID >::slotUserSelection().
GUIListHelper< TLIST, TID >::GUIListHelper | ( | TLIST * | list, |
const QList< QString > & | data, | ||
SORT_KEY | skey | ||
) |
Definition at line 162 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::setData(), and GUIListHelper< TLIST, TID >::slotUserSelection().
|
inline |
Definition at line 66 of file gui_list_helper.h.
void GUIListHelper< TLIST, TID >::alternativesChanged | ( | const TData & | data) |
Definition at line 204 of file gui_list_helper.h.
|
inlineprotected |
Definition at line 89 of file gui_list_helper.h.
|
inline |
Definition at line 78 of file gui_list_helper.h.
const TID GUIListHelper< TLIST, TID >::getCurrentItemID | ( | ) | const |
Definition at line 284 of file gui_list_helper.h.
|
inlineprotected |
Definition at line 93 of file gui_list_helper.h.
|
inlineprotected |
Definition at line 94 of file gui_list_helper.h.
void GUIListHelper< TLIST, TID >::setCurrentItemID | ( | const TID & | id) |
Definition at line 258 of file gui_list_helper.h.
|
protected |
Definition at line 223 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::THelpData::descr, and GUIListHelper< TLIST, TID >::THelpData::id.
Referenced by GUIListHelper< TLIST, TID >::GUIListHelper().
|
protected |
Definition at line 242 of file gui_list_helper.h.
|
inlineprotected |
Definition at line 95 of file gui_list_helper.h.
References GUIListHelperQObjectBase::emitSigDirtyChanged().
|
inline |
Definition at line 68 of file gui_list_helper.h.
void GUIListHelper< TLIST, TID >::setOrgItemID | ( | const TID & | id) |
Definition at line 275 of file gui_list_helper.h.
|
inlineprotected |
Definition at line 91 of file gui_list_helper.h.
|
inlineprotected |
Definition at line 92 of file gui_list_helper.h.
|
virtual |
Implements GUIListHelperQObjectBase.
Definition at line 187 of file gui_list_helper.h.
|
virtual |
Implements GUIListHelperQObjectBase.
Definition at line 178 of file gui_list_helper.h.
|
virtual |
Implements GUIListHelperQObjectBase.
Definition at line 194 of file gui_list_helper.h.
Referenced by GUIListHelper< TLIST, TID >::GUIListHelper().
|
protected |
Definition at line 104 of file gui_list_helper.h.
|
protected |
Definition at line 109 of file gui_list_helper.h.
|
protected |
Definition at line 102 of file gui_list_helper.h.
|
protected |
Definition at line 106 of file gui_list_helper.h.
|
protected |
Definition at line 101 of file gui_list_helper.h.
|
protected |
Definition at line 103 of file gui_list_helper.h.
|
protected |
Definition at line 107 of file gui_list_helper.h.