#include <gui_list_helper.h>
Classes | |
| struct | THelpData |
Public Types | |
| enum | SORT_KEY { SORT_BY_ID, SORT_BY_DESCR } |
Public Member Functions | |
| GUIListHelper (TLIST *list, SORT_KEY skey) | |
| GUIListHelper (TLIST *list, const QMap< TID, QString > &data, SORT_KEY skey) | |
| ~GUIListHelper () | |
| void | setList (TLIST *list) |
| void | setData (const QMap< TID, QString > &data) |
| void | setCurrentItem (const TID &) const |
| const TID | getCurrentItem () const |
| int | count () const |
| bool | contains (const TID &id) const |
Protected Attributes | |
| SORT_KEY | m_skey |
| TLIST * | m_List |
| QMap< int, TID > | m_Index2ID |
| QMap< TID, int > | m_ID2Index |
| QMap< TID, QString > | m_ID2Description |
Definition at line 73 of file gui_list_helper.h.
| enum GUIListHelper::SORT_KEY |
| GUIListHelper< TLIST, TID >::GUIListHelper | ( | TLIST * | list, | |
| SORT_KEY | skey | |||
| ) | [inline] |
Definition at line 119 of file gui_list_helper.h.
| GUIListHelper< TLIST, TID >::GUIListHelper | ( | TLIST * | list, | |
| const QMap< TID, QString > & | data, | |||
| SORT_KEY | skey | |||
| ) | [inline] |
Definition at line 127 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::setData().
| GUIListHelper< TLIST, TID >::~GUIListHelper | ( | ) | [inline] |
Definition at line 142 of file gui_list_helper.h.
| bool GUIListHelper< TLIST, TID >::contains | ( | const TID & | id | ) | const [inline] |
Definition at line 91 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::m_ID2Index.
| int GUIListHelper< TLIST, TID >::count | ( | ) | const [inline] |
Definition at line 89 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::m_Index2ID.
| const TID GUIListHelper< TLIST, TID >::getCurrentItem | ( | ) | const [inline] |
Definition at line 186 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::m_Index2ID, and GUIListHelper< TLIST, TID >::m_List.
| void GUIListHelper< TLIST, TID >::setCurrentItem | ( | const TID & | id | ) | const [inline] |
Definition at line 177 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::m_ID2Index, and GUIListHelper< TLIST, TID >::m_List.
| void GUIListHelper< TLIST, TID >::setData | ( | const QMap< TID, QString > & | data | ) | [inline] |
Definition at line 147 of file gui_list_helper.h.
References GUIListHelper< TLIST, TID >::THelpData::descr, GUIListHelper< TLIST, TID >::THelpData::id, GUIListHelper< TLIST, TID >::m_ID2Description, GUIListHelper< TLIST, TID >::m_ID2Index, GUIListHelper< TLIST, TID >::m_Index2ID, GUIListHelper< TLIST, TID >::m_List, and GUIListHelper< TLIST, TID >::m_skey.
Referenced by GUIListHelper< TLIST, TID >::GUIListHelper().
| void GUIListHelper< TLIST, TID >::setList | ( | TLIST * | list | ) | [inline] |
QMap<TID, QString> GUIListHelper< TLIST, TID >::m_ID2Description [protected] |
Definition at line 98 of file gui_list_helper.h.
Referenced by GUIListHelper< TLIST, TID >::setData().
QMap<TID, int> GUIListHelper< TLIST, TID >::m_ID2Index [protected] |
Definition at line 97 of file gui_list_helper.h.
Referenced by GUIListHelper< TLIST, TID >::contains(), GUIListHelper< TLIST, TID >::setCurrentItem(), and GUIListHelper< TLIST, TID >::setData().
QMap<int, TID> GUIListHelper< TLIST, TID >::m_Index2ID [protected] |
Definition at line 96 of file gui_list_helper.h.
Referenced by GUIListHelper< TLIST, TID >::count(), GUIListHelper< TLIST, TID >::getCurrentItem(), and GUIListHelper< TLIST, TID >::setData().
TLIST* GUIListHelper< TLIST, TID >::m_List [protected] |
Definition at line 95 of file gui_list_helper.h.
Referenced by GUIListHelper< TLIST, TID >::getCurrentItem(), GUIListHelper< TLIST, TID >::setCurrentItem(), GUIListHelper< TLIST, TID >::setData(), and GUIListHelper< TLIST, TID >::setList().
SORT_KEY GUIListHelper< TLIST, TID >::m_skey [protected] |
Definition at line 94 of file gui_list_helper.h.
Referenced by GUIListHelper< TLIST, TID >::setData().
1.5.7.1