#include <uitypes.h>
Definition at line 41 of file uitypes.h.
Public Member Functions | |
| LayerSet (const QString &name) | |
| ~LayerSet () | |
| void | Draw (QPainter *, int, int) |
| void | DrawRegion (QPainter *, QRect &, int, int) |
| QString | GetName () |
| void | SetName (const QString &name) |
| void | SetDrawOrder (int order) |
| int | GetDrawOrder () const |
| void | SetAreaRect (QRect area) |
| QRect | GetAreaRect () |
| void | SetContext (int con) |
| int | GetContext (void) |
| void | SetDebug (bool db) |
| void | bumpUpLayers (int a_number) |
| int | getLayers () |
| void | AddType (UIType *) |
| UIType * | GetType (const QString &name) |
| vector< UIType * > * | getAllTypes () |
| void | ClearAllText (void) |
| void | SetText (QMap< QString, QString > &infoMap) |
| void | SetDrawFontShadow (bool state) |
| void | UseAlternateArea (bool useAlt) |
Private Attributes | |
| bool | m_debug |
| int | m_context |
| int | m_order |
| QString | m_name |
| QRect | m_area |
| int | numb_layers |
| QMap< QString, UIType * > | typeList |
| vector< UIType * > * | allTypes |
| LayerSet::LayerSet | ( | const QString & | name | ) |
Definition at line 20 of file uitypes.cpp.
| LayerSet::~LayerSet | ( | ) |
Definition at line 29 of file uitypes.cpp.
| void LayerSet::Draw | ( | QPainter * | dr, | |
| int | drawlayer, | |||
| int | context | |||
| ) |
Definition at line 67 of file uitypes.cpp.
Referenced by WeatherScreen::draw(), GuideGrid::paintChannels(), GuideGrid::paintCurrentInfo(), GuideGrid::paintDate(), GuideGrid::paintInfo(), GuideGrid::paintJumpToChannel(), GuideGrid::paintPrograms(), GuideGrid::paintTimes(), ManagedList::update(), VideoGallery::updateArrows(), MythNews::updateArticlesView(), MythFlixQueue::updateArticlesView(), MythFlix::updateArticlesView(), Weather::updateBackground(), ViewScheduled::updateBackground(), ViewScheduleDiff::updateBackground(), VideoSelected::updateBackground(), VideoDialog::updateBackground(), StatusBox::updateBackground(), RecOptDialog::updateBackground(), ProgramRecPriority::updateBackground(), ProgLister::updateBackground(), ProgFinder::updateBackground(), PreviousList::updateBackground(), PlaybackBox::updateBackground(), MythNewsConfig::updateBackground(), MythNews::updateBackground(), MythFlixQueue::updateBackground(), MythFlixConfig::updateBackground(), MythFlix::updateBackground(), MythThemedDialog::updateBackground(), IconView::updateBackground(), GuideGrid::updateBackground(), ChannelRecPriority::updateBackground(), VideoBrowser::updateBrowsing(), ViewScheduled::updateConflict(), StatusBox::updateContent(), PlaybackBox::updateCurGroup(), MythThemedDialog::UpdateForegroundRect(), MythNewsConfig::updateFreq(), MythFlixConfig::updateFreq(), PlaybackBox::updateGroupInfo(), ViewScheduled::updateInfo(), ViewScheduleDiff::updateInfo(), VideoSelected::updateInfo(), VideoBrowser::updateInfo(), RecOptDialog::updateInfo(), ProgramRecPriority::updateInfo(), ProgLister::updateInfo(), ProgFinder::updateInfo(), PreviousList::updateInfo(), PlaybackBox::updateInfo(), ChannelRecPriority::updateInfo(), MythNews::updateInfoView(), MythFlixQueue::updateInfoView(), MythFlix::updateInfoView(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), ProgFinder::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), IconView::UpdateMenu(), VideoSelected::updatePlayWait(), VideoBrowser::updatePlayWait(), PlaybackBox::updateProgramInfo(), ViewScheduled::updateRecStatus(), ViewScheduleDiff::updateRecStatus(), StatusBox::updateSelector(), ViewScheduled::updateShowLevel(), ViewScheduleDiff::updateShowLevel(), PlaybackBox::updateShowTitles(), MythNewsConfig::updateSites(), MythFlixConfig::updateSites(), MythNews::updateSitesView(), MythFlixQueue::updateSitesView(), MythFlix::updateSitesView(), VideoGallery::updateText(), IconView::UpdateText(), StatusBox::updateTopBar(), PlaybackBox::updateUsage(), PlaybackBox::updateVideo(), ProgLister::updateView(), PreviousList::updateView(), and IconView::UpdateView().
| void LayerSet::DrawRegion | ( | QPainter * | dr, | |
| QRect & | area, | |||
| int | drawlayer, | |||
| int | context | |||
| ) |
Definition at line 82 of file uitypes.cpp.
| QString LayerSet::GetName | ( | ) | [inline] |
Definition at line 50 of file uitypes.h.
Referenced by WeatherScreen::draw(), MythThemedDialog::getContainer(), WeatherScreen::loadScreen(), and MythThemedDialog::UpdateForegroundRect().
| void LayerSet::SetAreaRect | ( | QRect | area | ) | [inline] |
Definition at line 56 of file uitypes.h.
Referenced by XMLParse::parseContainer(), and MiniPlayer::wireupTheme().
| QRect LayerSet::GetAreaRect | ( | ) | [inline] |
Definition at line 57 of file uitypes.h.
Referenced by UIKeyboardType::calculateScreenArea(), UIKeyType::calculateScreenArea(), UIBlackHoleType::calculateScreenArea(), UISelectorType::calculateScreenArea(), UICheckBoxType::calculateScreenArea(), UITextButtonType::calculateScreenArea(), UIPushButtonType::calculateScreenArea(), UIManagedTreeListType::calculateScreenArea(), UIStatusBarType::calculateScreenArea(), UIRemoteEditType::calculateScreenArea(), UIRichTextType::calculateScreenArea(), UITextType::calculateScreenArea(), UIImageGridType::calculateScreenArea(), UIListType::calculateScreenArea(), UIListBtnType::calculateScreenArea(), UIListTreeType::calculateScreenArea(), mythvideo_videomanager::ContainerHandler::ContainerHandler(), WeatherScreen::draw(), UIListTreeType::DrawRegion(), mythvideo_videomanager::InfoHandler::Invalidate(), UIListTreeType::RedrawCurrent(), UIRepeatedImageType::refresh(), UIAnimatedImageType::refresh(), UIImageType::refresh(), VirtualKeyboard::SwitchLayout(), MythThemedDialog::UpdateForegroundRect(), VideoBrowser::updateInfo(), VideoSelected::updatePlayWait(), VideoBrowser::updatePlayWait(), and MiniPlayer::wireupTheme().
| void LayerSet::SetContext | ( | int | con | ) | [inline] |
Definition at line 59 of file uitypes.h.
Referenced by mythvideo_videomanager::ContainerHandler::ForceContext(), mythvideo_videomanager::InfoHandler::InfoHandler(), XMLParse::parseContainer(), mythvideo_videomanager::InfoHandler::UpdateContents(), and mythvideo_videomanager::VideoManagerImp::VideoManagerImp().
| int LayerSet::GetContext | ( | void | ) | [inline] |
Definition at line 60 of file uitypes.h.
Referenced by mythvideo_videomanager::ContainerHandler::ContainerHandler(), mythvideo_videomanager::ContainerHandler::GetContext(), mythvideo_videomanager::InfoHandler::InfoHandler(), mythvideo_videomanager::InfoHandler::Invalidate(), MythThemedDialog::UpdateForegroundRect(), PlaybackBox::updateUsage(), and mythvideo_videomanager::VideoManagerImp::VideoManagerImp().
| void LayerSet::SetDebug | ( | bool | db | ) | [inline] |
| void LayerSet::bumpUpLayers | ( | int | a_number | ) |
Definition at line 59 of file uitypes.cpp.
Referenced by AddType(), XMLParse::parseAnimatedImage(), XMLParse::parseImage(), XMLParse::parseListArea(), XMLParse::parseListBtnArea(), XMLParse::parseListTreeArea(), XMLParse::parseRepeatedImage(), XMLParse::parseStatusBar(), and UIType::SetOrder().
| int LayerSet::getLayers | ( | ) | [inline] |
| void LayerSet::AddType | ( | UIType * | type | ) |
Definition at line 41 of file uitypes.cpp.
Referenced by XMLParse::parseAnimatedImage(), XMLParse::parseBar(), XMLParse::parseBlackHole(), XMLParse::parseCheckBox(), XMLParse::parseGuideGrid(), XMLParse::parseImage(), XMLParse::parseImageGrid(), XMLParse::parseKey(), XMLParse::parseKeyboard(), XMLParse::parseListArea(), XMLParse::parseListBtnArea(), XMLParse::parseListTreeArea(), XMLParse::parseManagedTreeList(), XMLParse::parseMultiTextArea(), XMLParse::parsePushButton(), XMLParse::parseRemoteEdit(), XMLParse::parseRepeatedImage(), XMLParse::parseRichTextArea(), XMLParse::parseSelector(), XMLParse::parseStatusBar(), XMLParse::parseTextArea(), and XMLParse::parseTextButton().
| UIType * LayerSet::GetType | ( | const QString & | name | ) |
Definition at line 50 of file uitypes.cpp.
Referenced by ChannelRecPriority::ChannelRecPriority(), checkedSetText(), ProgFinder::clearProgramList(), ProgFinder::clearShowData(), ProgFinder::cursorRight(), VideoGallery::drawIcon(), GuideGrid::fillProgramInfos(), GuideGrid::fillProgramRowInfos(), GuideGrid::fillTimeInfos(), get_button(), WeatherScreen::getType(), MythThemedDialog::getUIObject(), GuideGrid::GuideGrid(), ManagedList::init(), ProgFinder::Initialize(), mythvideo_videomanager::ListHandler::ListHandler(), VideoGallery::LoadIconWindow(), StatusBox::LoadTheme(), MythNewsConfig::loadTheme(), MythNews::loadTheme(), MythFlixQueue::loadTheme(), MythFlixConfig::loadTheme(), MythFlix::loadTheme(), IconView::LoadViewTheme(), mythvideo_videomanager::ManualSearchHandler::ManualSearchHandler(), mythvideo_videomanager::ManualSearchUIDHandler::ManualSearchUIDHandler(), GuideGrid::paintChannels(), GuideGrid::paintDate(), GuideGrid::paintInfo(), GuideGrid::paintJumpToChannel(), PlaybackBox::PlaybackBox(), PreviousList::PreviousList(), ProgLister::ProgLister(), ProgramRecPriority::ProgramRecPriority(), mythvideo_videomanager::SearchListHandler::SearchListHandler(), PlaybackBox::showIconHelp(), ProgFinder::showProgramList(), ProgFinder::showSearchList(), ProgFinder::showShowingList(), GuideGrid::timeCheckTimeout(), ManagedList::update(), ProgFinder::update_timeout(), ProgLister::updateBackground(), PreviousList::updateBackground(), ViewScheduled::updateConflict(), VideoSelected::updateInfo(), VideoBrowser::updateInfo(), ProgramRecPriority::updateInfo(), ProgFinder::updateInfo(), ChannelRecPriority::updateInfo(), MythNews::updateInfoView(), MythFlixQueue::updateInfoView(), MythFlix::updateInfoView(), ViewScheduled::updateList(), ViewScheduleDiff::updateList(), ProgramRecPriority::updateList(), ProgLister::updateList(), ProgFinder::updateList(), PreviousList::updateList(), ChannelRecPriority::updateList(), PlaybackBox::updateProgramInfo(), ViewScheduled::updateShowLevel(), ViewScheduleDiff::updateShowLevel(), PlaybackBox::updateShowTitles(), IconView::UpdateText(), PlaybackBox::updateUsage(), PlaybackBox::updateVideo(), ProgLister::updateView(), PreviousList::updateView(), ViewScheduled::ViewScheduled(), and ViewScheduleDiff::ViewScheduleDiff().
| vector<UIType *>* LayerSet::getAllTypes | ( | ) | [inline] |
Definition at line 68 of file uitypes.h.
Referenced by MythThemedDialog::buildFocusList(), mythvideo_videomanager::ContainerHandler::ForceContext(), WeatherScreen::getAllDynamicTypes(), MythThemedDialog::loadThemedWindow(), XMLParse::parseKeyboard(), WeatherScreen::pause_animation(), WeatherScreen::unpause_animation(), WeatherScreen::WeatherScreen(), and MiniPlayer::wireupTheme().
| void LayerSet::ClearAllText | ( | void | ) |
Definition at line 97 of file uitypes.cpp.
Referenced by StatusBox::clicked(), GuideGrid::paintInfo(), StatusBox::setHelpText(), PlaybackBox::updateCurGroup(), PlaybackBox::updateGroupInfo(), ViewScheduled::updateInfo(), ViewScheduleDiff::updateInfo(), RecOptDialog::updateInfo(), ProgLister::updateInfo(), ProgFinder::updateInfo(), PreviousList::updateInfo(), PlaybackBox::updateProgramInfo(), ViewScheduled::updateRecStatus(), and ViewScheduleDiff::updateRecStatus().
| void LayerSet::SetText | ( | QMap< QString, QString > & | infoMap | ) |
Definition at line 113 of file uitypes.cpp.
Referenced by GuideGrid::paintInfo(), PlaybackBox::updateGroupInfo(), ViewScheduled::updateInfo(), ViewScheduleDiff::updateInfo(), RecOptDialog::updateInfo(), ProgLister::updateInfo(), ProgFinder::updateInfo(), PreviousList::updateInfo(), PlaybackBox::updateProgramInfo(), ViewScheduled::updateRecStatus(), and ViewScheduleDiff::updateRecStatus().
| void LayerSet::SetDrawFontShadow | ( | bool | state | ) |
| void LayerSet::UseAlternateArea | ( | bool | useAlt | ) |
bool LayerSet::m_debug [private] |
Definition at line 78 of file uitypes.h.
Referenced by AddType(), Draw(), DrawRegion(), and LayerSet().
int LayerSet::m_context [private] |
int LayerSet::m_order [private] |
QString LayerSet::m_name [private] |
QRect LayerSet::m_area [private] |
int LayerSet::numb_layers [private] |
QMap<QString, UIType *> LayerSet::typeList [private] |
vector<UIType *>* LayerSet::allTypes [private] |
Definition at line 86 of file uitypes.h.
Referenced by AddType(), ClearAllText(), Draw(), DrawRegion(), LayerSet(), SetDrawFontShadow(), SetText(), UseAlternateArea(), and ~LayerSet().
1.5.5