#include <mythlistbutton.h>

Definition at line 14 of file mythlistbutton.h.
Definition at line 57 of file mythlistbutton.h.
Definition at line 58 of file mythlistbutton.h.
| MythListButton::MythListButton | ( | MythUIType * | parent, | |
| const char * | name | |||
| ) |
| MythListButton::MythListButton | ( | MythUIType * | parent, | |
| const char * | name, | |||
| const QRect & | area, | |||
| bool | showArrow = true, |
|||
| bool | showScrollArrows = false | |||
| ) |
Definition at line 24 of file mythlistbutton.cpp.
| MythListButton::~MythListButton | ( | ) |
Definition at line 79 of file mythlistbutton.cpp.
| bool MythListButton::keyPressEvent | ( | QKeyEvent * | e | ) | [virtual] |
| void MythListButton::gestureEvent | ( | MythUIType * | uitype, | |
| MythGestureEvent * | event | |||
| ) | [virtual] |
Mouse click/movement handler, recieves mouse gesture events from the QApplication event loop.
Should not be used directly.
| uitype | The mythuitype receiving the event | |
| event | Mouse event |
Reimplemented from MythUIType.
Definition at line 799 of file mythlistbutton.cpp.
| MythUIType * MythListButton::GetChildAt | ( | const QPoint & | p | ) | [virtual] |
Mouse click/movement handler, recieves mouse gesture events from the QApplication event loop.
Should not be used directly.
| p | QPoint coordinates |
Reimplemented from MythUIType.
Definition at line 815 of file mythlistbutton.cpp.
| void MythListButton::SetFontActive | ( | const MythFontProperties & | font | ) |
Definition at line 111 of file mythlistbutton.cpp.
| void MythListButton::SetFontInactive | ( | const MythFontProperties & | font | ) |
Definition at line 116 of file mythlistbutton.cpp.
| void MythListButton::SetTextFlags | ( | int | flags | ) |
Definition at line 137 of file mythlistbutton.cpp.
| void MythListButton::SetSpacing | ( | int | spacing | ) |
Definition at line 121 of file mythlistbutton.cpp.
| void MythListButton::SetMargin | ( | int | margin | ) |
Definition at line 127 of file mythlistbutton.cpp.
| void MythListButton::SetDrawFromBottom | ( | bool | draw | ) |
Definition at line 132 of file mythlistbutton.cpp.
| void MythListButton::SetActive | ( | bool | active | ) |
Definition at line 142 of file mythlistbutton.cpp.
Referenced by MythControls::ChangeButtonFocus(), MythDialogBox::Create(), MythControls::Create(), Deselect(), and Select().
| bool MythListButton::isActive | ( | ) | [inline] |
Definition at line 38 of file mythlistbutton.h.
| void MythListButton::Reset | ( | void | ) |
| void MythListButton::SetItemCurrent | ( | MythListButtonItem * | item | ) |
| void MythListButton::SetItemCurrent | ( | int | pos | ) |
Definition at line 340 of file mythlistbutton.cpp.
| MythListButtonItem * MythListButton::GetItemCurrent | ( | void | ) |
Definition at line 349 of file mythlistbutton.cpp.
Referenced by gestureEvent(), MythControls::GetCurrentAction(), MythControls::GetCurrentContext(), MythControls::GetCurrentKey(), keyPressEvent(), MythDialogBox::keyPressEvent(), and MythControls::UpdateRightList().
| MythListButtonItem * MythListButton::GetItemFirst | ( | void | ) |
Definition at line 354 of file mythlistbutton.cpp.
| MythListButtonItem * MythListButton::GetItemNext | ( | MythListButtonItem * | item | ) |
Definition at line 359 of file mythlistbutton.cpp.
| MythListButtonItem * MythListButton::GetItemAt | ( | int | pos | ) |
Definition at line 385 of file mythlistbutton.cpp.
| bool MythListButton::MoveItemUpDown | ( | MythListButtonItem * | item, | |
| bool | flag | |||
| ) |
| QPtrListIterator< MythListButtonItem > MythListButton::GetIterator | ( | void | ) |
Definition at line 380 of file mythlistbutton.cpp.
| int MythListButton::GetCurrentPos | ( | ) | [inline] |
Definition at line 52 of file mythlistbutton.h.
| int MythListButton::GetItemPos | ( | MythListButtonItem * | item | ) |
| int MythListButton::GetCount | ( | void | ) |
Definition at line 367 of file mythlistbutton.cpp.
| bool MythListButton::IsEmpty | ( | void | ) |
Definition at line 372 of file mythlistbutton.cpp.
| void MythListButton::MoveDown | ( | MovementUnit | unit = MoveItem |
) |
Definition at line 463 of file mythlistbutton.cpp.
Referenced by keyPressEvent(), and MoveItemUpDown().
| void MythListButton::MoveUp | ( | MovementUnit | unit = MoveItem |
) |
Definition at line 397 of file mythlistbutton.cpp.
Referenced by keyPressEvent(), and MoveItemUpDown().
| bool MythListButton::MoveToNamedPosition | ( | const QString & | position_name | ) |
| void MythListButton::SetDrawOffset | ( | QPoint | off | ) | [inline] |
Definition at line 63 of file mythlistbutton.h.
| QPoint MythListButton::GetDrawOffset | ( | void | ) | [inline] |
Definition at line 64 of file mythlistbutton.h.
| void MythListButton::Select | ( | ) | [inline, slot] |
| void MythListButton::Deselect | ( | ) | [inline, slot] |
| void MythListButton::itemSelected | ( | MythListButtonItem * | item | ) | [signal] |
Referenced by InsertItem(), keyPressEvent(), MoveDown(), MoveToNamedPosition(), MoveUp(), RemoveItem(), and SetItemCurrent().
| void MythListButton::itemClicked | ( | MythListButtonItem * | item | ) | [signal] |
Referenced by gestureEvent(), and keyPressEvent().
| void MythListButton::Const | ( | void | ) | [protected] |
| void MythListButton::Init | ( | void | ) | [protected, virtual] |
| void MythListButton::LoadPixmap | ( | MythImage ** | pix, | |
| QDomElement & | element | |||
| ) | [protected] |
| void MythListButton::InsertItem | ( | MythListButtonItem * | item | ) | [protected] |
Definition at line 225 of file mythlistbutton.cpp.
Referenced by MythListButtonItem::MythListButtonItem().
| void MythListButton::RemoveItem | ( | MythListButtonItem * | item | ) | [protected] |
Definition at line 245 of file mythlistbutton.cpp.
Referenced by MythListButtonItem::~MythListButtonItem().
| void MythListButton::SetPositionArrowStates | ( | void | ) | [protected] |
Definition at line 171 of file mythlistbutton.cpp.
Referenced by Init(), InsertItem(), MoveDown(), MoveToNamedPosition(), MoveUp(), RemoveItem(), Reset(), SetActive(), and SetItemCurrent().
| virtual uint MythListButton::ItemWidth | ( | void | ) | const [inline, protected, virtual] |
| QRect MythListButton::CalculateContentsRect | ( | const QRect & | arrowsRect | ) | const [protected, virtual] |
| void MythListButton::CalculateVisibleItems | ( | void | ) | [protected, virtual] |
| const QRect MythListButton::PlaceArrows | ( | const QSize & | arrowSize | ) | [protected, virtual] |
| QPoint MythListButton::GetButtonPosition | ( | int | column, | |
| int | row | |||
| ) | const [protected, virtual] |
| bool MythListButton::ParseElement | ( | QDomElement & | element | ) | [protected, virtual] |
| void MythListButton::CopyFrom | ( | MythUIType * | base | ) | [protected, virtual] |
Reimplemented from MythUIType.
Definition at line 1071 of file mythlistbutton.cpp.
Referenced by CreateCopy().
| void MythListButton::CreateCopy | ( | MythUIType * | parent | ) | [protected, virtual] |
| void MythListButton::Finalize | ( | void | ) | [protected, virtual] |
friend class MythListButtonItem [friend] |
Definition at line 148 of file mythlistbutton.h.
LayoutType MythListButton::m_layout [protected] |
Definition at line 98 of file mythlistbutton.h.
Referenced by CalculateContentsRect(), CalculateVisibleItems(), Const(), CopyFrom(), GetButtonPosition(), keyPressEvent(), ParseElement(), and PlaceArrows().
int MythListButton::m_order [protected] |
QRect MythListButton::m_rect [protected] |
QRect MythListButton::m_contentsRect [protected] |
Definition at line 102 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), CopyFrom(), and Init().
int MythListButton::m_itemHeight [protected] |
Definition at line 104 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), Const(), CopyFrom(), GetButtonPosition(), and Init().
int MythListButton::m_itemHorizSpacing [protected] |
Definition at line 105 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), Const(), CopyFrom(), GetButtonPosition(), ParseElement(), and SetSpacing().
int MythListButton::m_itemVertSpacing [protected] |
Definition at line 106 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), Const(), CopyFrom(), GetButtonPosition(), ParseElement(), and SetSpacing().
int MythListButton::m_itemMargin [protected] |
Definition at line 107 of file mythlistbutton.h.
Referenced by CalculateContentsRect(), Const(), CopyFrom(), Init(), ParseElement(), PlaceArrows(), and SetMargin().
uint MythListButton::m_itemsVisible [protected] |
Definition at line 108 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), Const(), CopyFrom(), Init(), MoveDown(), MoveToNamedPosition(), MoveUp(), and SetPositionArrowStates().
int MythListButton::m_rows [protected] |
Definition at line 109 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), and Const().
int MythListButton::m_columns [protected] |
Definition at line 110 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), Const(), Init(), MoveDown(), and MoveUp().
int MythListButton::m_itemWidth [protected] |
Definition at line 111 of file mythlistbutton.h.
Referenced by CalculateVisibleItems(), CopyFrom(), Init(), and ItemWidth().
bool MythListButton::m_active [protected] |
Definition at line 113 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), isActive(), SetActive(), and MythListButtonItem::SetToRealButton().
bool MythListButton::m_showScrollArrows [protected] |
Definition at line 114 of file mythlistbutton.h.
Referenced by CopyFrom(), Init(), MythListButton(), ParseElement(), and SetPositionArrowStates().
bool MythListButton::m_showArrow [protected] |
Definition at line 115 of file mythlistbutton.h.
Referenced by CopyFrom(), MythListButton(), ParseElement(), and MythListButtonItem::SetToRealButton().
MythUIStateType* MythListButton::m_upArrow [protected] |
Definition at line 117 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), PlaceArrows(), and SetPositionArrowStates().
MythUIStateType* MythListButton::m_downArrow [protected] |
Definition at line 118 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), PlaceArrows(), and SetPositionArrowStates().
QValueVector<MythUIButton *> MythListButton::m_ButtonList [protected] |
Definition at line 120 of file mythlistbutton.h.
Referenced by CopyFrom(), Init(), and SetPositionArrowStates().
MythFontProperties* MythListButton::m_fontActive [protected] |
Definition at line 122 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), SetFontActive(), and ~MythListButton().
MythFontProperties* MythListButton::m_fontInactive [protected] |
Definition at line 123 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), SetFontInactive(), and ~MythListButton().
bool MythListButton::m_initialized [protected] |
Definition at line 125 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), SetActive(), and SetPositionArrowStates().
bool MythListButton::m_clearing [protected] |
Definition at line 126 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), RemoveItem(), Reset(), and ~MythListButton().
MythListButtonItem* MythListButton::m_topItem [protected] |
Definition at line 128 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), InsertItem(), MoveDown(), MoveItemUpDown(), MoveToNamedPosition(), MoveUp(), RemoveItem(), Reset(), SetItemCurrent(), and SetPositionArrowStates().
MythListButtonItem* MythListButton::m_selItem [protected] |
Definition at line 129 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), GetItemCurrent(), InsertItem(), MoveDown(), MoveItemUpDown(), MoveToNamedPosition(), MoveUp(), RemoveItem(), Reset(), SetItemCurrent(), and MythListButtonItem::SetToRealButton().
QPtrListIterator<MythListButtonItem>* MythListButton::m_topIterator [protected] |
Definition at line 131 of file mythlistbutton.h.
Referenced by Const(), InsertItem(), MoveDown(), MoveToNamedPosition(), RemoveItem(), Reset(), and ~MythListButton().
QPtrListIterator<MythListButtonItem>* MythListButton::m_selIterator [protected] |
Definition at line 132 of file mythlistbutton.h.
Referenced by Const(), InsertItem(), MoveDown(), MoveToNamedPosition(), MoveUp(), RemoveItem(), Reset(), SetItemCurrent(), and ~MythListButton().
int MythListButton::m_selPosition [protected] |
Definition at line 134 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), GetCurrentPos(), InsertItem(), MoveDown(), MoveItemUpDown(), MoveToNamedPosition(), MoveUp(), RemoveItem(), Reset(), and SetItemCurrent().
int MythListButton::m_topPosition [protected] |
Definition at line 135 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), InsertItem(), MoveDown(), MoveItemUpDown(), MoveToNamedPosition(), MoveUp(), RemoveItem(), Reset(), and SetPositionArrowStates().
int MythListButton::m_itemCount [protected] |
Definition at line 136 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), GetCount(), InsertItem(), IsEmpty(), MoveDown(), RemoveItem(), Reset(), SetItemCurrent(), and SetPositionArrowStates().
QPtrList<MythListButtonItem> MythListButton::m_itemList [protected] |
Definition at line 138 of file mythlistbutton.h.
Referenced by Const(), GetItemAt(), GetItemFirst(), GetItemNext(), GetItemPos(), GetIterator(), InsertItem(), MoveItemUpDown(), RemoveItem(), Reset(), SetItemCurrent(), SetPositionArrowStates(), and ~MythListButton().
QPoint MythListButton::m_drawoffset [protected] |
Definition at line 140 of file mythlistbutton.h.
Referenced by CopyFrom(), GetDrawOffset(), and SetDrawOffset().
bool MythListButton::m_drawFromBottom [protected] |
Definition at line 141 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), ParseElement(), SetDrawFromBottom(), and SetPositionArrowStates().
int MythListButton::m_textFlags [protected] |
Definition at line 143 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), ParseElement(), SetTextFlags(), and MythListButtonItem::SetToRealButton().
MythImage* MythListButton::arrowPix [protected] |
Definition at line 145 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), and ~MythListButton().
MythImage * MythListButton::checkNonePix [protected] |
Definition at line 145 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), and ~MythListButton().
MythImage * MythListButton::checkHalfPix [protected] |
Definition at line 145 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), and ~MythListButton().
MythImage * MythListButton::checkFullPix [protected] |
Definition at line 145 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), and ~MythListButton().
MythImage* MythListButton::itemRegPix [protected] |
Definition at line 146 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), and ~MythListButton().
MythImage * MythListButton::itemSelActPix [protected] |
Definition at line 146 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), and ~MythListButton().
MythImage * MythListButton::itemSelInactPix [protected] |
Definition at line 146 of file mythlistbutton.h.
Referenced by Const(), CopyFrom(), Init(), ParseElement(), and ~MythListButton().
1.5.5