#include <uitypes.h>

Definition at line 514 of file uitypes.h.
Public Types | |
| enum | ItemArrows { ARROW_NONE, ARROW_LEFT, ARROW_RIGHT, ARROW_BOTH } |
Public Slots | |
| bool | takeFocus () |
| void | looseFocus () |
Public Member Functions | |
| UIListType (const QString &, QRect, int) | |
| ~UIListType () | |
| void | SetCount (int cnt) |
| void | SetItemText (int, int, QString) |
| void | SetItemText (int, QString) |
| void | SetItemArrow (int, int) |
| void | SetActive (bool act) |
| void | SetItemCurrent (int cur) |
| void | SetColumnWidth (int col, int width) |
| void | SetColumnContext (int col, int context) |
| void | SetColumnPad (int pad) |
| void | SetImageLeftArrow (QPixmap img, QPoint loc) |
| void | SetImageRightArrow (QPixmap img, QPoint loc) |
| void | SetImageUpArrow (QPixmap img, QPoint loc) |
| void | SetImageDownArrow (QPixmap img, QPoint loc) |
| void | SetImageSelection (QPixmap img, QPoint loc) |
| void | SetUpArrow (bool arrow) |
| void | SetDownArrow (bool arrow) |
| void | SetFill (QRect area, QColor color, int type) |
| void | SetFonts (QMap< QString, QString > fonts, QMap< QString, fontProp > fontfcn) |
| void | EnableForcedFont (int num, QString func) |
| int | GetCurrentItem () |
| int | GetItems () |
| QString | GetItemText (int, int col=1) |
| void | ResetList () |
| void | ResetArrows () |
| void | Draw (QPainter *, int drawlayer, int) |
| bool | ShowSelAlways () const |
| void | ShowSelAlways (bool bnew) |
| void | calculateScreenArea () |
Private Attributes | |
| int | m_selheight |
| int | m_justification |
| int | m_columns |
| int | m_current |
| bool | m_active |
| int | m_pad |
| int | m_count |
| bool | m_darrow |
| bool | m_uarrow |
| bool | m_showSelAlways |
| QRect | m_fill_area |
| QColor | m_fill_color |
| int | m_fill_type |
| QPixmap | m_selection |
| QPixmap | m_downarrow |
| QPixmap | m_uparrow |
| QPixmap | m_leftarrow |
| QPixmap | m_rightarrow |
| QPoint | m_selection_loc |
| QPoint | m_downarrow_loc |
| QPoint | m_uparrow_loc |
| QPoint | m_rightarrow_loc |
| QPoint | m_leftarrow_loc |
| QRect | m_area |
| QMap< QString, QString > | m_fonts |
| QMap< QString, fontProp > | m_fontfcns |
| QMap< int, QString > | forceFonts |
| QMap< int, QString > | listData |
| QMap< int, int > | listArrows |
| QMap< int, int > | columnWidth |
| QMap< int, int > | columnContext |
| UIListType::UIListType | ( | const QString & | name, | |
| QRect | area, | |||
| int | dorder | |||
| ) |
Definition at line 1008 of file uitypes.cpp.
| UIListType::~UIListType | ( | ) |
Definition at line 1027 of file uitypes.cpp.
| void UIListType::SetCount | ( | int | cnt | ) | [inline] |
| void UIListType::SetItemText | ( | int | num, | |
| int | column, | |||
| QString | data | |||
| ) |
Definition at line 1267 of file uitypes.cpp.
Referenced by ProgFinder::clearProgramList(), ProgFinder::clearShowData(), ProgFinder::cursorRight(), ProgFinder::showProgramList(), ProgFinder::showSearchList(), ProgFinder::showShowingList(), StatusBox::StatusBox(), ManagedList::update(), ProgFinder::update_timeout(), StatusBox::updateContent(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::SearchListHandler::UpdateContents(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), ZMConsole::updateMonitorList(), PlaybackBox::updateShowTitles(), Ripper::updateTrackList(), and ZMEvents::updateUIList().
| void UIListType::SetItemText | ( | int | num, | |
| QString | data | |||
| ) |
Definition at line 1281 of file uitypes.cpp.
| void UIListType::SetItemArrow | ( | int | num, | |
| int | which | |||
| ) |
| void UIListType::SetActive | ( | bool | act | ) | [inline] |
Definition at line 536 of file uitypes.h.
Referenced by StatusBox::keyPressEvent(), looseFocus(), mythvideo_videomanager::ListHandler::OnGainFocus(), mythvideo_videomanager::SearchListHandler::OnGainFocus(), mythvideo_videomanager::ListHandler::OnLoseFocus(), mythvideo_videomanager::SearchListHandler::OnLoseFocus(), StatusBox::StatusBox(), takeFocus(), ManagedList::update(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::SearchListHandler::UpdateContents(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), ProgFinder::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), ZMConsole::updateMonitorList(), PlaybackBox::updateShowTitles(), Ripper::updateTrackList(), and ZMEvents::updateUIList().
| void UIListType::SetItemCurrent | ( | int | cur | ) | [inline] |
Definition at line 537 of file uitypes.h.
Referenced by StatusBox::keyPressEvent(), StatusBox::StatusBox(), ManagedList::update(), StatusBox::updateContent(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::SearchListHandler::UpdateContents(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), ProgFinder::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), ZMConsole::updateMonitorList(), PlaybackBox::updateShowTitles(), Ripper::updateTrackList(), ZMEvents::updateUIList(), ZMEvents::wireUpTheme(), and ZMConsole::wireUpTheme().
| void UIListType::SetColumnWidth | ( | int | col, | |
| int | width | |||
| ) | [inline] |
| void UIListType::SetColumnContext | ( | int | col, | |
| int | context | |||
| ) | [inline] |
| void UIListType::SetColumnPad | ( | int | pad | ) | [inline] |
| void UIListType::SetImageLeftArrow | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIListType::SetImageRightArrow | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIListType::SetImageUpArrow | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIListType::SetImageDownArrow | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIListType::SetImageSelection | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIListType::SetUpArrow | ( | bool | arrow | ) | [inline] |
Definition at line 553 of file uitypes.h.
Referenced by ManagedList::update(), StatusBox::updateContent(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::SearchListHandler::UpdateContents(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), ZMConsole::updateMonitorList(), PlaybackBox::updateShowTitles(), Ripper::updateTrackList(), and ZMEvents::updateUIList().
| void UIListType::SetDownArrow | ( | bool | arrow | ) | [inline] |
Definition at line 554 of file uitypes.h.
Referenced by ManagedList::update(), StatusBox::updateContent(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::SearchListHandler::UpdateContents(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), ZMConsole::updateMonitorList(), PlaybackBox::updateShowTitles(), Ripper::updateTrackList(), and ZMEvents::updateUIList().
| void UIListType::SetFill | ( | QRect | area, | |
| QColor | color, | |||
| int | type | |||
| ) | [inline] |
| void UIListType::SetFonts | ( | QMap< QString, QString > | fonts, | |
| QMap< QString, fontProp > | fontfcn | |||
| ) | [inline] |
| void UIListType::EnableForcedFont | ( | int | num, | |
| QString | func | |||
| ) | [inline] |
Definition at line 562 of file uitypes.h.
Referenced by ProgFinder::showProgramList(), ProgFinder::showSearchList(), ProgFinder::showShowingList(), ManagedList::update(), StatusBox::updateContent(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), and PlaybackBox::updateShowTitles().
| int UIListType::GetCurrentItem | ( | ) | [inline] |
Definition at line 564 of file uitypes.h.
Referenced by StatusBox::clicked(), StatusBox::keyPressEvent(), and StatusBox::setHelpText().
| int UIListType::GetItems | ( | ) | [inline] |
Definition at line 565 of file uitypes.h.
Referenced by ChannelRecPriority::ChannelRecPriority(), ManagedList::init(), ProgFinder::Initialize(), mythvideo_videomanager::ListHandler::ListHandler(), PlaybackBox::PlaybackBox(), PreviousList::PreviousList(), ProgLister::ProgLister(), ProgramRecPriority::ProgramRecPriority(), mythvideo_videomanager::SearchListHandler::SearchListHandler(), Ripper::trackListDown(), Ripper::trackListUp(), StatusBox::updateContent(), ProgFinder::updateList(), PlaybackBox::updateShowTitles(), Ripper::updateTrackList(), ViewScheduled::ViewScheduled(), ViewScheduleDiff::ViewScheduleDiff(), ZMEvents::wireUpTheme(), and ZMConsole::wireUpTheme().
| QString UIListType::GetItemText | ( | int | num, | |
| int | col = 1 | |||
| ) |
Definition at line 1274 of file uitypes.cpp.
Referenced by StatusBox::clicked(), StatusBox::keyPressEvent(), and StatusBox::setHelpText().
| void UIListType::ResetList | ( | ) | [inline] |
Definition at line 567 of file uitypes.h.
Referenced by StatusBox::clicked(), ProgFinder::showSearchList(), ProgFinder::showShowingList(), ManagedList::update(), StatusBox::updateContent(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::SearchListHandler::UpdateContents(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), ZMConsole::updateMonitorList(), PlaybackBox::updateShowTitles(), Ripper::updateTrackList(), and ZMEvents::updateUIList().
| void UIListType::Draw | ( | QPainter * | dr, | |
| int | drawlayer, | |||
| int | context | |||
| ) | [virtual] |
| bool UIListType::ShowSelAlways | ( | ) | const [inline] |
| void UIListType::calculateScreenArea | ( | void | ) | [virtual] |
Reimplemented from UIType.
Definition at line 1293 of file uitypes.cpp.
Referenced by XMLParse::parseListArea().
| bool UIListType::takeFocus | ( | ) | [virtual, slot] |
| void UIListType::looseFocus | ( | ) | [virtual, slot] |
int UIListType::m_selheight [private] |
int UIListType::m_justification [private] |
int UIListType::m_columns [private] |
Definition at line 583 of file uitypes.h.
Referenced by Draw(), SetItemArrow(), SetItemText(), and UIListType().
int UIListType::m_current [private] |
bool UIListType::m_active [private] |
int UIListType::m_pad [private] |
int UIListType::m_count [private] |
bool UIListType::m_darrow [private] |
bool UIListType::m_uarrow [private] |
bool UIListType::m_showSelAlways [private] |
QRect UIListType::m_fill_area [private] |
QColor UIListType::m_fill_color [private] |
int UIListType::m_fill_type [private] |
QPixmap UIListType::m_selection [private] |
QPixmap UIListType::m_downarrow [private] |
QPixmap UIListType::m_uparrow [private] |
QPixmap UIListType::m_leftarrow [private] |
QPixmap UIListType::m_rightarrow [private] |
QPoint UIListType::m_selection_loc [private] |
QPoint UIListType::m_downarrow_loc [private] |
QPoint UIListType::m_uparrow_loc [private] |
QPoint UIListType::m_rightarrow_loc [private] |
QPoint UIListType::m_leftarrow_loc [private] |
QRect UIListType::m_area [private] |
Definition at line 604 of file uitypes.h.
Referenced by calculateScreenArea(), Draw(), and UIListType().
QMap<QString, QString> UIListType::m_fonts [private] |
QMap<QString, fontProp> UIListType::m_fontfcns [private] |
QMap<int, QString> UIListType::forceFonts [private] |
QMap<int, QString> UIListType::listData [private] |
QMap<int, int> UIListType::listArrows [private] |
QMap<int, int> UIListType::columnWidth [private] |
QMap<int, int> UIListType::columnContext [private] |
1.5.5