MythTV master
|
The base class on which all widgets and screens are based. More...
#include <libmythui/mythuitype.h>
Public Slots | |
void | LoseFocus (void) |
bool | TakeFocus (void) |
void | Activate (void) |
void | Hide (void) |
void | Show (void) |
void | Refresh (void) |
void | UpdateDependState (bool isDefault) |
void | UpdateDependState (MythUIType *dependee, bool isDefault) |
Signals | |
void | RequestUpdate (void) |
void | RequestRegionUpdate (const QRect &) |
void | TakingFocus (void) |
void | LosingFocus (void) |
void | VisibilityChanged (bool Visible) |
void | Showing (void) |
void | Hiding (void) |
void | Enabling (void) |
void | Disabling (void) |
void | FinishedMoving (void) |
void | FinishedFading (void) |
void | DependChanged (bool isDefault) |
Public Member Functions | |
MythUIType (QObject *parent, const QString &name) | |
virtual void | Reset (void) |
Reset the widget to it's original state, should not reset changes made by the theme. More... | |
void | AddChild (MythUIType *child) |
Add a child UIType. More... | |
MythUIType * | GetChild (const QString &name) const |
Get a named child of this UIType. More... | |
MythUIType * | GetChildAt (QPoint p, bool recursive=true, bool focusable=true) const |
Return the first MythUIType at the given coordinates. More... | |
QList< MythUIType * > * | GetAllChildren (void) |
Return a list of all child widgets. More... | |
QList< MythUIType * > | GetAllDescendants (void) |
void | DeleteChild (const QString &name) |
Delete a named child of this UIType. More... | |
void | DeleteChild (MythUIType *child) |
Delete the given UIType if it is a child of this UIType. More... | |
void | DeleteAllChildren (void) |
Delete all child widgets. More... | |
bool | NeedsRedraw (void) const |
void | ResetNeedsRedraw (void) |
void | SetRedraw (void) |
void | SetChildNeedsRedraw (MythUIType *child) |
bool | CanTakeFocus (void) const |
Return if this widget can accept input focus. More... | |
void | SetCanTakeFocus (bool set=true) |
Set whether this widget can take focus. More... | |
void | SetFocusOrder (int order) |
void | SetFocusedName (const QString &widgetname) |
QString | GetFocusedName (void) const |
bool | IsEnabled (void) const |
void | SetEnabled (bool enable) |
bool | MoveToTop (void) |
bool | MoveChildToTop (MythUIType *child) |
void | ActivateAnimations (MythUIAnimation::Trigger trigger) |
QList< MythUIAnimation * > * | GetAnimations (void) |
virtual void | Pulse (void) |
Pulse is called 70 times a second to trigger a single frame of an animation. More... | |
void | Draw (MythPainter *p, int xoffset, int yoffset, int alphaMod=255, QRect clipRect=QRect()) |
void | SetPosition (int x, int y) |
Convenience method, calls SetPosition(const MythPoint&) Override that instead to change functionality. More... | |
void | SetPosition (QPoint point) |
virtual void | SetPosition (const MythPoint &point) |
virtual MythPoint | GetPosition (void) const |
virtual void | SetSize (QSize size) |
virtual void | SetMinSize (const MythPoint &size) |
Set the minimum size of this widget, for widgets which can be rescaled. More... | |
virtual QSize | GetMinSize (void) const |
virtual void | SetArea (const MythRect &rect) |
virtual void | AdjustMinArea (int delta_x, int delta_y, int delta_w, int delta_h) |
Adjust the size of a sibling. More... | |
virtual void | VanishSibling (void) |
virtual void | SetMinAreaParent (MythRect actual_area, MythRect allowed_area, MythUIType *child) |
Adjust the size of sibling objects within the button. More... | |
virtual void | SetMinArea (const MythRect &rect) |
Set the minimum area based on the given size. More... | |
virtual MythRect | GetArea (void) const |
If the object has a minimum area defined, return it, other wise return the default area. More... | |
virtual MythRect | GetFullArea (void) const |
virtual void | RecalculateArea (bool recurse=true) |
void | ExpandArea (QRect rect) |
virtual QRegion | GetDirtyArea (void) const |
bool | IsVisible (bool recurse=false) const |
virtual void | SetVisible (bool visible) |
void | MoveTo (QPoint destXY, QPoint speedXY) |
void | AdjustAlpha (int mode, int alphachange, int minalpha=0, int maxalpha=255) |
void | SetAlpha (int newalpha) |
int | GetAlpha (void) const |
virtual bool | keyPressEvent (QKeyEvent *event) |
Key event handler. More... | |
virtual bool | inputMethodEvent (QInputMethodEvent *event) |
Input Method event handler. More... | |
virtual bool | gestureEvent (MythGestureEvent *event) |
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More... | |
virtual void | mediaEvent (MythMediaEvent *event) |
Media/Device status event handler, received from MythMediaMonitor. More... | |
MythFontProperties * | GetFont (const QString &text) const |
bool | AddFont (const QString &text, MythFontProperties *fontProp) |
void | SetHelpText (const QString &text) |
QString | GetHelpText (void) const |
void | SetXMLLocation (const QString &filename, int where) |
QString | GetXMLLocation (void) const |
void | SetXMLName (const QString &name) |
QString | GetXMLName (void) const |
bool | IsDeferredLoading (bool recurse=false) const |
void | SetDeferLoad (bool defer) |
virtual void | LoadNow (void) |
Cause images in this and child widgets to be loaded. More... | |
bool | ContainsPoint (QPoint point) const |
Check if the given point falls within this widgets area. More... | |
virtual MythPainter * | GetPainter (void) |
void | SetPainter (MythPainter *painter) |
void | SetCentre (UIEffects::Centre centre) |
void | SetZoom (float zoom) |
void | SetHorizontalZoom (float zoom) |
void | SetVerticalZoom (float zoom) |
void | SetAngle (float angle) |
void | SetDependIsDefault (bool isDefault) |
void | SetReverseDependence (MythUIType *dependee, bool reverse) |
void | SetDependsMap (QMap< QString, QString > dependsMap) |
QMap< QString, QString > | GetDependsMap () const |
Protected Member Functions | |
~MythUIType () override | |
void | customEvent (QEvent *event) override |
virtual void | DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) |
void | AddFocusableChildrenToList (FocusInfoType &focusList) |
void | HandleAlphaPulse () |
Handle one frame of an alpha (transparency) change animation. More... | |
void | HandleMovementPulse () |
Handle one frame of a movement animation. More... | |
int | CalcAlpha (int alphamod) const |
void | ConnectDependants (bool recurse=false) |
virtual bool | ParseElement (const QString &filename, QDomElement &element, bool showWarnings) |
Parse the xml definition of this widget setting the state of the object accordingly. More... | |
virtual void | CopyFrom (MythUIType *base) |
Copy this widgets state from another. More... | |
virtual void | CreateCopy (MythUIType *parent) |
Copy the state of this widget to the one given, it must be of the same type. More... | |
virtual void | Finalize (void) |
Perform any post-xml parsing initialisation tasks. More... | |
Static Protected Member Functions | |
static int | NormX (int width) |
static int | NormY (int height) |
Friends | |
class | MythScreenType |
class | XMLParseBase |
Additional Inherited Members | |
![]() | |
static QString | getFirstText (QDomElement &element) |
static bool | parseBool (const QString &text) |
static bool | parseBool (QDomElement &element) |
static MythPoint | parsePoint (const QString &text, bool normalize=true) |
static MythPoint | parsePoint (QDomElement &element, bool normalize=true) |
static QSize | parseSize (const QString &text, bool normalize=true) |
static QSize | parseSize (QDomElement &element, bool normalize=true) |
static MythRect | parseRect (const QString &text, bool normalize=true) |
static MythRect | parseRect (QDomElement &element, bool normalize=true) |
static int | parseAlignment (const QString &text) |
static int | parseAlignment (QDomElement &element) |
static QBrush | parseGradient (const QDomElement &element) |
static QString | parseText (QDomElement &element) |
static MythUIType * | GetGlobalObjectStore (void) |
static void | ClearGlobalObjectStore (void) |
static void | ParseChildren (const QString &filename, QDomElement &element, MythUIType *parent, bool showWarnings) |
static MythUIType * | ParseUIType (const QString &filename, QDomElement &element, const QString &type, MythUIType *parent, MythScreenType *screen, bool showWarnings, QMap< QString, QString > &parentDependsMap) |
static bool | WindowExists (const QString &xmlfile, const QString &windowname) |
static bool | LoadWindowFromXML (const QString &xmlfile, const QString &windowname, MythUIType *parent) |
static bool | LoadBaseTheme (void) |
static bool | LoadBaseTheme (const QString &baseTheme) |
static bool | CopyWindowFromBase (const QString &windowname, MythScreenType *win) |
The base class on which all widgets and screens are based.
N.B. Children are drawn/processed in order added
Definition at line 85 of file mythuitype.h.
MythUIType::MythUIType | ( | QObject * | parent, |
const QString & | name | ||
) |
Definition at line 44 of file mythuitype.cpp.
|
overrideprotected |
Definition at line 63 of file mythuitype.cpp.
|
slot |
Definition at line 1053 of file mythuitype.cpp.
void MythUIType::ActivateAnimations | ( | MythUIAnimation::Trigger | trigger | ) |
Definition at line 288 of file mythuitype.cpp.
Referenced by MythScreenType::aboutToHide(), and MythScreenType::aboutToShow().
void MythUIType::AddChild | ( | MythUIType * | child | ) |
Add a child UIType.
Definition at line 89 of file mythuitype.cpp.
Referenced by FormattedTextSubtitle::Draw(), MythUIType(), and Slide::Slide().
|
protected |
Definition at line 1155 of file mythuitype.cpp.
Referenced by MythScreenType::BuildFocusList().
bool MythUIType::AddFont | ( | const QString & | text, |
MythFontProperties * | fontProp | ||
) |
Definition at line 1332 of file mythuitype.cpp.
Referenced by SubtitleFormat::CreateProviderDefault(), XMLParseBase::doLoad(), XMLParseBase::ParseChildren(), and XMLParseBase::ParseUIType().
void MythUIType::AdjustAlpha | ( | int | mode, |
int | alphachange, | ||
int | minalpha = 0 , |
||
int | maxalpha = 255 |
||
) |
Definition at line 928 of file mythuitype.cpp.
Referenced by MythUIScrollBar::CalculatePosition(), MythScreenStack::DoNewFadeTransition(), MythNotificationScreenStack::PopScreen(), MythScreenStack::PopScreen(), and MythUIScrollBar::timerEvent().
|
virtual |
Adjust the size of a sibling.
Definition at line 629 of file mythuitype.cpp.
|
protected |
Definition at line 474 of file mythuitype.cpp.
Referenced by Draw(), MythUIImage::DrawSelf(), MythUIShape::DrawSelf(), MythUISimpleText::DrawSelf(), and MythUIText::DrawSelf().
bool MythUIType::CanTakeFocus | ( | void | ) | const |
Return if this widget can accept input focus.
Definition at line 354 of file mythuitype.cpp.
Referenced by ProgInfoList::Display(), InfoList::Display(), GetChildAt(), InfoList::Toggle(), and ProgInfoList::Toggle().
Definition at line 1444 of file mythuitype.cpp.
Referenced by MythScreenType::CopyFrom(), XMLParseBase::doLoad(), and XMLParseBase::ParseChildren().
bool MythUIType::ContainsPoint | ( | QPoint | point | ) | const |
Check if the given point falls within this widgets area.
Largely used For correctly handling mouse clicks
Definition at line 1418 of file mythuitype.cpp.
Referenced by MythMainWindow::eventFilter().
|
protectedvirtual |
Copy this widgets state from another.
Reimplemented in MythScreenType, MythThemedMenuState, MythUIButton, MythUIButtonList, MythUIButtonTree, MythUICheckBox, MythUIClock, MythUIEditBar, MythUIGroup, MythUIGuideGrid, MythUIImage, MythUIProcedural, MythUIProgressBar, MythUIScrollBar, MythUIShape, MythUISimpleText, MythUISpinBox, MythUIStateType, MythUIText, MythUITextEdit, MythUIVideo, and MythUIWebBrowser.
Definition at line 1177 of file mythuitype.cpp.
Referenced by CopyFrom(), MythScreenType::CopyFrom(), MythUIButton::CopyFrom(), MythUIButtonList::CopyFrom(), MythUIButtonTree::CopyFrom(), MythUICheckBox::CopyFrom(), MythUIEditBar::CopyFrom(), MythUIGroup::CopyFrom(), MythUIGuideGrid::CopyFrom(), MythUIImage::CopyFrom(), MythUIProcedural::CopyFrom(), MythUIProgressBar::CopyFrom(), MythUIScrollBar::CopyFrom(), MythUIShape::CopyFrom(), MythUISimpleText::CopyFrom(), MythUIStateType::CopyFrom(), MythUIText::CopyFrom(), MythUITextEdit::CopyFrom(), MythUIVideo::CopyFrom(), MythUIWebBrowser::CopyFrom(), and XMLParseBase::ParseUIType().
|
protectedvirtual |
Copy the state of this widget to the one given, it must be of the same type.
Reimplemented in MythScreenType, MythUIButton, MythUIButtonList, MythUIButtonTree, MythUICheckBox, MythUIClock, MythUIEditBar, MythUIGroup, MythUIGuideGrid, MythUIImage, MythUIProcedural, MythUIProgressBar, MythUIScrollBar, MythUIShape, MythUISimpleText, MythUISpinBox, MythUIStateType, MythUIText, MythUITextEdit, MythUIVideo, and MythUIWebBrowser.
Definition at line 1234 of file mythuitype.cpp.
|
overrideprotected |
Definition at line 1003 of file mythuitype.cpp.
Referenced by IdleScreen::customEvent(), Ripper::customEvent(), and ZMLivePlayer::customEvent().
void MythUIType::DeleteAllChildren | ( | void | ) |
Delete all child widgets.
Definition at line 222 of file mythuitype.cpp.
Referenced by SubtitleScreen::ClearDisplayedSubtitles(), TeletextScreen::ClearScreen(), MythBDOverlayScreen::DisplayBDOverlay(), SubtitleScreen::DisplayCC608Subtitles(), SubtitleScreen::DisplayDVDButton(), SubtitleScreen::DisplayRawTextSubtitles(), TV::HandleStateChange(), and MHIContext::UpdateOSD().
void MythUIType::DeleteChild | ( | const QString & | name | ) |
Delete a named child of this UIType.
name | Name of child |
Definition at line 153 of file mythuitype.cpp.
Referenced by MythUIStateType::Clear(), SubtitleScreen::Clear708Cache(), MythUIEditBar::ClearImages(), MythUIButtonList::CopyFrom(), XMLParseBase::ParseUIType(), SubtitleScreen::Pulse(), MythFlashPlayer::~MythFlashPlayer(), and WebPage::~WebPage().
void MythUIType::DeleteChild | ( | MythUIType * | child | ) |
Delete the given UIType if it is a child of this UIType.
Will not delete the object if it is not a child. Pointer will be set to nullptr if successful.
Definition at line 177 of file mythuitype.cpp.
|
signal |
Referenced by MythUIStateType::AdjustDependence(), ConnectDependants(), MythUIButtonList::InsertItem(), MythUIImage::MythUIImage(), MythUIStateType::MythUIStateType(), MythUIButtonList::RemoveItem(), MythUIButtonList::Reset(), MythUIImage::Reset(), MythUIProgressBar::Reset(), MythUIText::Reset(), MythUICheckBox::SetCheckState(), MythUIImage::SetFilename(), MythUIImage::SetFilepattern(), MythUIText::SetText(), MythUIProgressBar::SetVisible(), and MythUICheckBox::toggleCheckState().
|
signal |
void MythUIType::Draw | ( | MythPainter * | p, |
int | xoffset, | ||
int | yoffset, | ||
int | alphaMod = 255 , |
||
QRect | clipRect = QRect() |
||
) |
Definition at line 484 of file mythuitype.cpp.
|
protectedvirtual |
Reimplemented in MythUIButtonList, MythUIGuideGrid, MythUIImage, MythUIShape, MythUISimpleText, MythUIText, MythUIVideo, MythUIWebBrowser, and MythUIProcedural.
Definition at line 479 of file mythuitype.cpp.
Referenced by Draw().
|
signal |
void MythUIType::ExpandArea | ( | QRect | rect | ) |
Definition at line 869 of file mythuitype.cpp.
Referenced by MythUIStateType::AddObject(), SetArea(), and SetSize().
|
protectedvirtual |
Perform any post-xml parsing initialisation tasks.
This is called after the widget has been created and it's state established by ParseElement() or CopyFrom(). A derived class should use this to perform any initialisation tasks which should occur after this point.
Reimplemented in MythUIButton, MythUIButtonList, MythUICheckBox, MythUIEditBar, MythUIGuideGrid, MythUIImage, MythUIProcedural, MythUIProgressBar, MythUIScrollBar, MythUIStateType, MythUIText, MythUITextEdit, and MythUIWebBrowser.
Definition at line 1318 of file mythuitype.cpp.
Referenced by MythUIButtonList::Finalize(), MythUIGuideGrid::Finalize(), MythUIImage::Finalize(), MythUIWebBrowser::Finalize(), XMLParseBase::ParseChildren(), and XMLParseBase::ParseUIType().
|
signal |
Referenced by MythUIScrollBar::DoneFading(), HandleAlphaPulse(), and MythUIScrollBar::timerEvent().
|
signal |
Referenced by HandleMovementPulse().
|
virtual |
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop.
Should not be used directly.
event | Mouse event |
Reimplemented in TvPlayWindow, MythDialogBox, MythScreenType, MythUIButton, MythUIButtonList, MythUIButtonTree, MythUICheckBox, MythUITextEdit, and GuideGrid.
Definition at line 1013 of file mythuitype.cpp.
Referenced by MythScreenType::gestureEvent().
QList< MythUIType * > * MythUIType::GetAllChildren | ( | void | ) |
Return a list of all child widgets.
Definition at line 202 of file mythuitype.cpp.
Referenced by MythUIStateType::AdjustDependence(), MythNavigationOverlay::Create(), NetworkControl::processTheme(), MythUIComposite::ResetMap(), ZMEvents::setGridLayout(), MythUIComposite::SetTextFromMap(), and MythUIVirtualKeyboard::updateKeys().
QList< MythUIType * > MythUIType::GetAllDescendants | ( | void | ) |
Definition at line 207 of file mythuitype.cpp.
int MythUIType::GetAlpha | ( | void | ) | const |
Definition at line 951 of file mythuitype.cpp.
Referenced by MythScreenStack::CheckNewFadeTransition().
|
inline |
Definition at line 126 of file mythuitype.h.
Referenced by MythUIAnimation::ParseSection().
|
virtual |
If the object has a minimum area defined, return it, other wise return the default area.
Definition at line 885 of file mythuitype.cpp.
Referenced by MythUIEditBar::AddMark(), MythUIProgressBar::CalculatePosition(), MythUIScrollBar::CalculatePosition(), MythUIVirtualKeyboard::Create(), GuideGrid::Create(), MythUIEditBar::Display(), MythUIButtonList::DistributeRow(), MythUIGuideGrid::drawRecDecoration(), MythUIImage::DrawSelf(), MythUIShape::DrawSelf(), MythUISimpleText::DrawSelf(), MythUIVideo::DrawSelf(), MythUIProcedural::DrawSelf(), GuideGrid::fillProgramRowInfos(), MythUIScrollBar::Finalize(), MythUIButtonList::gestureEvent(), MythUIButtonTree::gestureEvent(), GuideGrid::gestureEvent(), GetChildAt(), MythNotificationScreen::GetHeight(), MythUIButtonList::Init(), TransitionSlide::Initialise(), TransitionZoom::Initialise(), MainVisual::MainVisual(), TeletextScreen::OptimiseDisplayedArea(), InteractiveScreen::OptimiseDisplayedArea(), MythUIAnimation::parsePosition(), OSD::PositionWindow(), MainVisual::setVisual(), Slide::Slide(), MythBrowser::slotAddTab(), and ThumbFinder::updatePositionBar().
MythUIType * MythUIType::GetChild | ( | const QString & | name | ) | const |
Get a named child of this UIType.
name | Name of child |
Definition at line 138 of file mythuitype.cpp.
Referenced by MythUIProgressBar::CalculatePosition(), MythUIScrollBar::CalculatePosition(), CheckedSet(), ConnectDependants(), CopyFrom(), MythThemedMenuState::CopyFrom(), MythUIButtonList::CopyFrom(), MythUIButtonTree::CopyFrom(), MythUIStateType::CopyFrom(), XMLParseBase::CopyWindowFromBase(), CustomPriority::Create(), GalleryThumbView::Create(), BrowserConfig::Create(), BookmarkManager::Create(), Ripper::Create(), RipStatus::Create(), TrackInfoDialog::Create(), TrackInfoPopup::Create(), NetSearch::Create(), GlobalSetup::Create(), ScreenSetup::Create(), SourceSetup::Create(), LocationDialog::Create(), BackendSelection::Create(), TvPlayWindow::Create(), MythNotificationScreen::Create(), MythUIBusyDialog::Create(), MythUIProgressDialog::Create(), MythThemedMenuState::Create(), MythUIFileBrowser::Create(), RawSettingsEditor::Create(), ChannelRecPriority::Create(), GrabberSettings::Create(), GuideGrid::Create(), KeyGrabPopupBox::Create(), ManualSchedule::Create(), MythControls::Create(), PlaybackBox::Create(), GroupSelector::Create(), ChangeView::Create(), PasswordChange::Create(), RecMetadataEdit::Create(), HelpPopup::Create(), ProgramRecPriority::Create(), AudioSetupWizard::Create(), GeneralSetupWizard::Create(), VideoSetupWizard::Create(), StatusBox::Create(), ThemeChooser::Create(), MetadataSettings::Create(), PlayerSettings::Create(), ViewScheduled::Create(), ScreenWizard::Create(), ChannelEditor::Create(), ImportIconsWizard::Create(), MythUIEditBar::Display(), ViewScheduled::FillList(), MythUIEditBar::Finalize(), MythUIScrollBar::Finalize(), ZMLivePlayer::GetMythUIType(), ProgLister::HandleSelected(), MythUIButtonList::Init(), MythUIButtonTree::Init(), PlaybackBox::IsUsageUIVisible(), ThemeChooser::itemChanged(), MythUIVirtualKeyboard::keyPressEvent(), TrackInfoDialog::keyPressEvent(), XMLParseBase::ParseUIType(), WeatherScreen::prepareScreen(), NetworkControl::processTheme(), MythScreenType::SetFocusWidget(), OSD::SetGraph(), ZMEvents::setGridLayout(), MythUIButton::SetInitialStates(), MythUICheckBox::SetInitialStates(), MythUITextEdit::SetInitialStates(), ZMLivePlayer::setMonitorLayout(), OSD::SetRegions(), EditMetadataCommon::setSaveMetadataOnly(), OSD::SetText(), OSD::SetValues(), PlaybackBox::updateGroupInfo(), PlaybackBox::updateIcons(), ChannelRecPriority::updateInfo(), ViewScheduled::updateInfo(), GuideGrid::updateInfo(), ProgramRecPriority::UpdateList(), ChannelRecPriority::updateList(), EditMetadataCommon::updateMetadata(), ThemeChooser::updateProgressBar(), IdleScreen::UpdateStatus(), PlaybackBox::UpdateUIListItem(), and PlaybackBox::UpdateUsageUI().
MythUIType * MythUIType::GetChildAt | ( | QPoint | p, |
bool | recursive = true , |
||
bool | focusable = true |
||
) | const |
Return the first MythUIType at the given coordinates.
p | QPoint coordinates |
recursive | Whether to perform a recursive search |
focusable | Only consider widgets that are focusable. |
Definition at line 241 of file mythuitype.cpp.
Referenced by MythScreenType::gestureEvent(), MythUIButtonList::gestureEvent(), MythUIButtonTree::gestureEvent(), GuideGrid::gestureEvent(), and GetChildAt().
|
inline |
Definition at line 204 of file mythuitype.h.
Referenced by XMLParseBase::ParseUIType().
|
virtual |
Definition at line 898 of file mythuitype.cpp.
Referenced by SetChildNeedsRedraw().
|
inline |
Definition at line 117 of file mythuitype.h.
MythFontProperties * MythUIType::GetFont | ( | const QString & | text | ) | const |
Definition at line 1322 of file mythuitype.cpp.
Referenced by GetFont(), MythUIGuideGrid::ParseElement(), MythUIText::ParseElement(), and MythFontProperties::ParseFromXml().
|
virtual |
Definition at line 893 of file mythuitype.cpp.
Referenced by MythUIImage::customEvent(), MythUIImage::DrawSelf(), MythUIImage::Load(), RecalculateArea(), MythUIStateType::RecalculateArea(), MythUIButtonList::SetButtonArea(), MythUIImage::SetImages(), MythUITextEdit::SetInitialStates(), SetMinSize(), and SetPosition().
|
inline |
Definition at line 178 of file mythuitype.h.
Referenced by MythScreenType::SetFocusWidget().
|
virtual |
Definition at line 602 of file mythuitype.cpp.
Referenced by AdjustMinArea(), SetMinArea(), and SetMinAreaParent().
|
virtual |
Reimplemented in MythScreenType.
Definition at line 1423 of file mythuitype.cpp.
Referenced by AdjustAlpha(), MythUIText::CycleColor(), GetPainter(), HandleAlphaPulse(), HandleMovementPulse(), MythUIWebBrowser::Init(), MythNotificationScreen::Init(), MythUIImage::Load(), MoveTo(), MythUIText::ParseElement(), and Slide::Slide().
|
virtual |
Definition at line 564 of file mythuitype.cpp.
Referenced by MythNotificationScreen::AdjustYPosition(), and MythNotificationScreen::Create().
|
inline |
Definition at line 182 of file mythuitype.h.
Referenced by ETPrintWarning::Child(), ETPrintError::Child(), MythUIImage::CopyFrom(), MythUIText::CopyFrom(), MythUIText::CursorPosition(), MythUIText::Finalize(), MythUIText::GetNarrowWidth(), MythUIButtonList::Init(), MythUIButtonTree::Init(), MythUIText::Layout(), MythUIText::MoveCursor(), MythUIText::ParseElement(), and MythUIText::SetCutDown().
|
inline |
Definition at line 185 of file mythuitype.h.
Referenced by ETPrintWarning::Child(), ETPrintError::Child(), and MythScreenType::SetFocusWidget().
|
protected |
Handle one frame of an alpha (transparency) change animation.
This changes the alpha value of the widget
Definition at line 419 of file mythuitype.cpp.
Referenced by Pulse().
|
protected |
Handle one frame of a movement animation.
This changes the position of the widget within it's parent's area
Definition at line 372 of file mythuitype.cpp.
Referenced by Pulse().
|
slot |
Definition at line 1145 of file mythuitype.cpp.
Referenced by MythNavigationOverlay::AudioStateChanged(), MythUIScrollBar::CalculatePosition(), MythNews::clearSites(), RecordingSelector::Create(), MythNavigationOverlay::Create(), TrackInfoDialog::Create(), MythNews::Create(), Weather::Create(), GeneralSetupWizard::Create(), MythUIScrollBar::DoneFading(), Weather::holdPage(), MythNews::loadSites(), CriteriaRowEditor::operatorChanged(), MythUIWebBrowser::ResetScrollBars(), WebPage::SetActive(), SelectDestination::setDestination(), EditMetadataCommon::setSaveMetadataOnly(), Weather::SetupScreens(), LyricsView::showMessage(), RecordingSelector::titleChanged(), ExportNative::updateArchiveList(), MythBurn::updateArchiveList(), AudioSetupWizard::UpdateCapabilities(), MythNews::updateInfoView(), MythBurn::updateSizeBar(), ExportNative::updateSizeBar(), ViewScheduleDiff::updateUIList(), VideoSelector::updateVideoList(), and MusicCommon::updateVolume().
|
signal |
Referenced by MythUIWebBrowser::Init(), and SetVisible().
|
virtual |
Input Method event handler.
event | Input Method event |
Reimplemented in MythDialogBox, MythScreenType, and MythUITextEdit.
Definition at line 998 of file mythuitype.cpp.
Referenced by MythDialogBox::inputMethodEvent(), and MythScreenType::inputMethodEvent().
Definition at line 1389 of file mythuitype.cpp.
Referenced by IsDeferredLoading(), and MythUIImage::ParseElement().
|
inline |
Definition at line 119 of file mythuitype.h.
Referenced by SmartPLOrderByDialog::deletePressed(), MythUIButton::Deselect(), MythUICheckBox::Deselect(), MythScreenType::gestureEvent(), MythUIButton::gestureEvent(), MythUICheckBox::gestureEvent(), GetChildAt(), MythUIButton::keyPressEvent(), SmartPLOrderByDialog::moveDownPressed(), SmartPLOrderByDialog::moveUpPressed(), MythUIButton::Select(), MythUICheckBox::Select(), and MythUIButtonListItem::SetToRealButton().
Definition at line 903 of file mythuitype.cpp.
Referenced by MythUIStateType::AdjustDependence(), GetChildAt(), OSD::HideWindow(), IsVisible(), SubtitleScreen::OptimiseDisplayedArea(), MythUITextEdit::Pulse(), MythScreenType::SetFocusWidget(), and MythNews::updateInfoView().
|
virtual |
Key event handler.
event | Keypress event |
Reimplemented in EditMetadataDialog, FileSelector, ImportNative, LogViewer, RecordingSelector, VideoSelector, EditLyricsDialog, MusicCommon, MythThemedMenu, MythUIVirtualKeyboard, PrevRecordedList, ExportNative, MythBurn, SelectDestination, DVDThemeSelector, ThumbFinder, BookmarkEditor, BrowserConfig, BookmarkManager, MythBrowser, MythFlashPlayer, GameUI, Ripper, RipStatus, EditMetadataCommon, EditMetadataDialog, EditAlbumartDialog, ImportMusicDialog, ImportCoverArtDialog, ImportSettings, LyricsView, MiniPlayer, MythMusicVolumeDialog, TrackInfoDialog, PlaylistEditorView, PlaylistView, SearchView, SmartPlaylistEditor, SmartPLResultViewer, StreamView, VisualizerView, TrackInfoPopup, NetEditorBase, NetSearch, NetTree, RSSEditPopup, RSSEditor, MythNews, MythNewsConfig, MythNewsEditor, Weather, WeatherScreen, ScreenSetup, ZMConsole, ZMEvents, ZMLivePlayer, ZMMiniPlayer, ZMPlayer, MythChannelOverlay, MythNavigationOverlay, MythDialogBox, MythConfirmationDialog, MythNotificationScreen, MythUIBusyDialog, MythUIProgressDialog, MythScreenType, MythUIButton, MythUIButtonList, SearchButtonListDialog, MythUIButtonTree, MythUICheckBox, MythUISpinBox, MythUITextEdit, StandardSettingDialog, ChannelRecPriority, CustomEdit, GallerySlideView, GalleryThumbView, GrabberSettings, GuideGrid, IdleScreen, KeyGrabPopupBox, PlaybackBox, ProgDetails, ProgFinder, ProgLister, ProgramRecPriority, ScheduleEditor, SchedEditChild, AudioSetupWizard, GeneralSetupWizard, VideoSetupWizard, StatusBox, ThemeChooser, MetadataSettings, PlayerSettings, ViewScheduled, ViewScheduleDiff, ScreenWizard, ChannelEditor, WelcomeDialog, ItemDetailPopup, and VideoDialog.
Definition at line 989 of file mythuitype.cpp.
Referenced by MythFlashPlayer::keyPressEvent(), WeatherScreen::keyPressEvent(), and MythScreenType::keyPressEvent().
|
virtual |
Cause images in this and child widgets to be loaded.
Used only in conjunction with delayed loading in some large statetypes to conserve memory.
Reimplemented in MythUIImage, and MythUIStateType.
Definition at line 1405 of file mythuitype.cpp.
Referenced by MythUIStateType::DisplayState(), MythUIImage::LoadNow(), and MythUIStateType::LoadNow().
|
slot |
Definition at line 1026 of file mythuitype.cpp.
Referenced by MythScreenType::SetFocusWidget().
|
signal |
Referenced by MythUIButtonList::Const(), EditMetadataDialog::Create(), FileSelector::Create(), ArchiveFileSelector::Create(), SelectDestination::Create(), SourceSetup::Create(), MythUIFileBrowser::Create(), RawSettingsEditor::Create(), ScheduleEditor::Create(), StoreOptEditor::Create(), MythUIWebBrowser::Init(), PrevRecordedList::Init(), ProgFinder::Init(), LoseFocus(), MythUIButton::MythUIButton(), MythUIButtonTree::MythUIButtonTree(), MythUICheckBox::MythUICheckBox(), and MythUITextEdit::MythUITextEdit().
|
virtual |
Media/Device status event handler, received from MythMediaMonitor.
event | Media event |
Reimplemented in MythThemedMenu, and GalleryThumbView.
Definition at line 1022 of file mythuitype.cpp.
bool MythUIType::MoveChildToTop | ( | MythUIType * | child | ) |
Definition at line 1360 of file mythuitype.cpp.
Referenced by MoveToTop().
void MythUIType::MoveTo | ( | QPoint | destXY, |
QPoint | speedXY | ||
) |
Definition at line 914 of file mythuitype.cpp.
bool MythUIType::MoveToTop | ( | void | ) |
Definition at line 1379 of file mythuitype.cpp.
Referenced by MythUIButtonList::CalculateArrowStates(), MythUIEditBar::Display(), MythUIButtonList::DistributeButtons(), MythUIEditBar::Finalize(), MythUIButtonList::SetScrollBarPosition(), and MythUIButtonListItem::SetToRealButton().
bool MythUIType::NeedsRedraw | ( | void | ) | const |
Definition at line 298 of file mythuitype.cpp.
|
staticprotected |
Definition at line 1164 of file mythuitype.cpp.
Referenced by MythUIButtonList::ParseElement(), MythUIButtonTree::ParseElement(), and MythUIShape::ParseElement().
|
staticprotected |
Definition at line 1169 of file mythuitype.cpp.
Referenced by MythUIButtonList::ParseElement().
|
protectedvirtual |
Parse the xml definition of this widget setting the state of the object accordingly.
Reimplemented in MythScreenType, MythUIButton, MythUIButtonList, MythUIButtonTree, MythUIClock, MythUIGuideGrid, MythUIImage, MythUIProcedural, MythUIProgressBar, MythUIScrollBar, MythUIShape, MythUISpinBox, MythUIStateType, MythUIText, MythUITextEdit, MythUIVideo, and MythUIWebBrowser.
Definition at line 1243 of file mythuitype.cpp.
Referenced by XMLParseBase::ParseChildren(), MythScreenType::ParseElement(), MythUIButton::ParseElement(), MythUIButtonList::ParseElement(), MythUIButtonTree::ParseElement(), MythUIGuideGrid::ParseElement(), MythUIImage::ParseElement(), MythUIProcedural::ParseElement(), MythUIProgressBar::ParseElement(), MythUIScrollBar::ParseElement(), MythUIShape::ParseElement(), MythUIStateType::ParseElement(), MythUIText::ParseElement(), MythUITextEdit::ParseElement(), MythUIVideo::ParseElement(), MythUIWebBrowser::ParseElement(), and XMLParseBase::ParseUIType().
|
virtual |
Pulse is called 70 times a second to trigger a single frame of an animation.
This changes the alpha value of the widget
Reimplemented in TeletextScreen, MythUIProcedural, Slide, SubtitleScreen, MythUIBusyDialog, MythUIClock, MythUIImage, MythUIText, MythUITextEdit, MythUIVideo, and MythUIWebBrowser.
Definition at line 456 of file mythuitype.cpp.
Referenced by MythUIProcedural::Pulse(), GallerySlideView::Pulse(), SubtitleScreen::Pulse(), MythUIBusyDialog::Pulse(), MythUIImage::Pulse(), MythUIText::Pulse(), MythUITextEdit::Pulse(), MythUIVideo::Pulse(), and MythUIWebBrowser::Pulse().
Reimplemented in MythUIStateType.
Definition at line 1337 of file mythuitype.cpp.
Referenced by CopyFrom(), SetArea(), SetPosition(), and SetSize().
|
slot |
Definition at line 1057 of file mythuitype.cpp.
Referenced by LoseFocus(), BookmarkManager::slotGroupSelected(), WebPage::slotIconChanged(), TakeFocus(), and MythUIWebBrowser::UpdateBuffer().
|
signal |
|
signal |
Referenced by MythUIButtonList::Const(), and SetFocusedName().
|
virtual |
Reset the widget to it's original state, should not reset changes made by the theme.
Reimplemented in TeletextScreen, MythUIButtonList, MythUIBusyDialog, MythUIButton, MythUIButtonTree, MythUIGroup, MythUIImage, MythUIProgressBar, MythUIScrollBar, MythUIStateType, MythUIText, MythUITextEdit, and MythUIVideo.
Definition at line 73 of file mythuitype.cpp.
Referenced by MythUIButtonList::Reset(), MythUIButton::Reset(), MythUIButtonTree::Reset(), MythUIGroup::Reset(), MythUIImage::Reset(), MythUIProgressBar::Reset(), MythUIScrollBar::Reset(), MythUIStateType::Reset(), MythUIText::Reset(), MythUIVideo::Reset(), and OSD::ResetWindow().
void MythUIType::ResetNeedsRedraw | ( | void | ) |
Definition at line 303 of file mythuitype.cpp.
void MythUIType::SetAlpha | ( | int | newalpha | ) |
Definition at line 942 of file mythuitype.cpp.
Referenced by MythScreenStack::DoNewFadeTransition(), TransitionBlend::Finalise(), TransitionBlend::Initialise(), MythNotificationScreenStack::PopScreen(), MythScreenStack::PopScreen(), MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
void MythUIType::SetAngle | ( | float | angle | ) |
Definition at line 979 of file mythuitype.cpp.
Referenced by TransitionSpin::Finalise(), MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
|
virtual |
Reimplemented in MythUIText.
Definition at line 610 of file mythuitype.cpp.
Referenced by SubtitleScreen::AddScaledImage(), MythUIScrollBar::CalculatePosition(), InteractiveScreen::Create(), MythFlashPlayer::Create(), ScreenWizard::Create(), SubtitleScreen::DisableForcedSubtitles(), MythBDOverlayScreen::DisplayBDOverlay(), SubtitleScreen::DisplayScaledAVSubtitles(), FormattedTextSubtitle::Draw(), SubtitleScreen::EnableSubtitles(), MythUISimpleText::MythUISimpleText(), TeletextScreen::OptimiseDisplayedArea(), InteractiveScreen::OptimiseDisplayedArea(), SubtitleScreen::OptimiseDisplayedArea(), ParseElement(), MythScreenType::ParseElement(), MythUIImage::ParseElement(), MythUITextEdit::ParseElement(), OSD::PositionWindow(), MythUIText::SetArea(), Slide::Slide(), InteractiveScreen::UpdateArea(), ScreenWizard::updateScreen(), and WebPage::WebPage().
Set whether this widget can take focus.
Definition at line 362 of file mythuitype.cpp.
Referenced by MythUIButtonList::Const(), FilterOptMixin::Create(), InfoList::Create(), ProgInfoList::Create(), PlaybackBox::Create(), MythUIButton::MythUIButton(), MythUIButtonTree::MythUIButtonTree(), MythUICheckBox::MythUICheckBox(), MythUIWebBrowser::MythUIWebBrowser(), MythUIWebBrowser::ParseElement(), TvPlayWindow::TvPlayWindow(), and IdleScreen::UpdateScreen().
void MythUIType::SetCentre | ( | UIEffects::Centre | centre | ) |
Definition at line 956 of file mythuitype.cpp.
Referenced by MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
void MythUIType::SetChildNeedsRedraw | ( | MythUIType * | child | ) |
Definition at line 329 of file mythuitype.cpp.
Referenced by SetChildNeedsRedraw(), and SetRedraw().
|
inline |
Definition at line 188 of file mythuitype.h.
Referenced by ParseElement().
void MythUIType::SetDependIsDefault | ( | bool | isDefault | ) |
Definition at line 1129 of file mythuitype.cpp.
void MythUIType::SetDependsMap | ( | QMap< QString, QString > | dependsMap | ) |
Definition at line 1434 of file mythuitype.cpp.
Referenced by XMLParseBase::ParseChildren(), and XMLParseBase::ParseUIType().
void MythUIType::SetEnabled | ( | bool | enable | ) |
Definition at line 1134 of file mythuitype.cpp.
Referenced by CustomEdit::clauseChanged(), MythBrowser::Create(), KeyGrabPopupBox::Create(), ScheduleEditor::Create(), ChannelEditor::Create(), ImportIconsWizard::Create(), SchedEditChild::CreateEditChild(), ScreenSetup::customEvent(), ScreenSetup::deleteScreen(), SchedOptMixin::DupMethodChanged(), PhrasePopup::editChanged(), ImportIconsWizard::enableControls(), CriteriaRowEditor::enableSaveButton(), SpinBoxEntryDialog::entryChanged(), SmartPLDateDialog::fixedCheckToggled(), KeyGrabPopupBox::keyPressEvent(), SchedOptMixin::Load(), StoreOptMixin::MaxEpisodesChanged(), SmartPLDateDialog::nowCheckToggled(), PasswordChange::OldPasswordChanged(), SmartPLOrderByDialog::orderByChanged(), PhrasePopup::phraseSelected(), PowerSearchPopup::phraseSelected(), MythTerminal::ProcessFinished(), CustomPriority::ruleChanged(), ScheduleEditor::RuleChanged(), SchedOptMixin::RuleChanged(), StoreOptMixin::RuleChanged(), PostProcMixin::RuleChanged(), FilterOptMixin::RuleChanged(), MythBrowser::slotLoadFinished(), CustomPriority::textChanged(), CustomEdit::textChanged(), SmartPlaylistEditor::titleChanged(), PostProcMixin::TranscodeChanged(), LogViewer::updateClicked(), MythUIFileBrowser::updateLocalFileList(), SmartPlaylistEditor::updateMatches(), MythUIFileBrowser::updateRemoteFileList(), and SmartPLDateDialog::valueChanged().
void MythUIType::SetFocusedName | ( | const QString & | widgetname | ) |
Definition at line 1047 of file mythuitype.cpp.
void MythUIType::SetFocusOrder | ( | int | order | ) |
Definition at line 1355 of file mythuitype.cpp.
Referenced by ParseElement().
|
inline |
Definition at line 177 of file mythuitype.h.
Referenced by FileAssocDialog::Create(), GeneralSettings::Create(), ImportSettings::Create(), RatingSettings::Create(), VisualizationSettings::Create(), GrabberSettings::Create(), AudioSetupWizard::Create(), GeneralSetupWizard::Create(), VideoSetupWizard::Create(), MetadataSettings::Create(), PlayerSettings::Create(), ChannelEditor::Create(), and ImportIconsWizard::Create().
void MythUIType::SetHorizontalZoom | ( | float | zoom | ) |
Definition at line 967 of file mythuitype.cpp.
Referenced by TransitionTwist::Finalise(), TransitionTwist::Initialise(), SetZoom(), MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
|
virtual |
Set the minimum area based on the given size.
Definition at line 820 of file mythuitype.cpp.
Referenced by CopyFrom(), MythUIImage::customEvent(), MythUIButtonList::DistributeButtons(), MythUIText::FillCutMessage(), MythUIImage::Load(), MythUIImage::Reset(), and MythUIImage::SetImages().
|
virtual |
Adjust the size of sibling objects within the button.
Definition at line 707 of file mythuitype.cpp.
Referenced by SetMinArea(), and SetMinAreaParent().
|
virtual |
Set the minimum size of this widget, for widgets which can be rescaled.
Use MythPoint to represent size, so percentages can be used
Definition at line 590 of file mythuitype.cpp.
Referenced by ParseElement().
|
inline |
Definition at line 194 of file mythuitype.h.
Referenced by OSD::DialogShow().
|
virtual |
Reimplemented in MythUIText.
Definition at line 543 of file mythuitype.cpp.
void MythUIType::SetPosition | ( | int | x, |
int | y | ||
) |
Convenience method, calls SetPosition(const MythPoint&) Override that instead to change functionality.
Definition at line 533 of file mythuitype.cpp.
Referenced by MythUIEditBar::AddBar(), MythUIEditBar::AddMark(), MythNotificationScreen::AdjustYPosition(), MythUIScrollBar::CalculatePosition(), MythUIVirtualKeyboard::Create(), MythUIEditBar::Display(), MythUIButtonList::DistributeButtons(), TransitionSlide::Finalise(), TransitionZoom::Finalise(), MythUITextEdit::Finalize(), TransitionSlide::Initialise(), MythUITextEdit::MoveCursor(), ParseElement(), MythUIText::SetPosition(), SetPosition(), MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
void MythUIType::SetPosition | ( | QPoint | point | ) |
Definition at line 538 of file mythuitype.cpp.
void MythUIType::SetRedraw | ( | void | ) |
Definition at line 313 of file mythuitype.cpp.
Referenced by MythUIProgressBar::CalculatePosition(), MythUIStateType::Clear(), MythUIEditBar::ClearImages(), TeletextScreen::ClearScreen(), MythUIImage::customEvent(), MythBDOverlayScreen::DisplayBDOverlay(), ExpandArea(), ThumbFinder::getThumbImages(), HandleAlphaPulse(), HandleMovementPulse(), MythUIWebBrowser::Init(), MythUIImage::Load(), MoveChildToTop(), MythUITextEdit::MoveCursor(), MythNotificationScreenStack::PopScreen(), MythScreenStack::PopScreen(), MythUIProcedural::Pulse(), MythUIImage::Pulse(), MythUIText::Pulse(), Refresh(), MythUIText::Reset(), SetAlpha(), SetAngle(), SetArea(), MythUIText::SetCanvasPosition(), MythUIImage::SetCropRect(), MythUIShape::SetCropRect(), MythUIText::SetCutDown(), setDebugShowBorders(), setDebugShowNames(), SubtitleScreen::SetElementDeleted(), MythUIText::SetFontProperties(), MythUIText::SetFontState(), SetHorizontalZoom(), MythUIImage::SetImage(), MythUIImage::SetImages(), MythUIText::SetJustification(), SetMinSize(), MythUIText::SetMultiLine(), Slide::SetPan(), SetPosition(), MythUIGuideGrid::SetProgPast(), SetSize(), MythUIText::SetText(), SetVerticalZoom(), SetVisible(), MythUIText::ShiftCanvas(), MythUIText::StopCycling(), MythUIButtonList::Update(), MythUIVideo::UpdateFrame(), GuideGrid::updateInfo(), MythDialogBox::updateMenu(), GuideGrid::updateProgramsUI(), and ThumbFinder::updateThumb().
void MythUIType::SetReverseDependence | ( | MythUIType * | dependee, |
bool | reverse | ||
) |
Definition at line 1439 of file mythuitype.cpp.
Referenced by ConnectDependants().
|
virtual |
Reimplemented in MythUIImage.
Definition at line 569 of file mythuitype.cpp.
Referenced by ExpandArea(), and MythUIImage::SetSize().
void MythUIType::SetVerticalZoom | ( | float | zoom | ) |
Definition at line 973 of file mythuitype.cpp.
Referenced by SetZoom(), MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
|
virtual |
Reimplemented in MythUIProgressBar.
Definition at line 1111 of file mythuitype.cpp.
Referenced by MythNavigationOverlay::AudioStateChanged(), MythUIButtonList::CalculateButtonPositions(), MythUIProgressBar::CalculatePosition(), Slide::Clear(), Ripper::compilationChanged(), MythUIStateType::CopyFrom(), ChannelScannerGUIScanPane::Create(), MythNavigationOverlay::Create(), MythTimeInputDialog::Create(), GalleryThumbView::Create(), InfoList::Create(), ProgInfoList::Create(), NetSearch::Create(), ZMPlayer::Create(), MythConfirmationDialog::Create(), MythNotificationScreen::Create(), MetadataSettings::Create(), PlayerSettings::Create(), WelcomeDialog::Create(), MusicCommon::customEvent(), OSD::DialogShow(), SubtitleScreen::DisableForcedSubtitles(), MythUIEditBar::Display(), MythUIStateType::DisplayState(), MythUIButtonList::DistributeButtons(), MythUIButtonListItem::DoButtonArrow(), MythUIButtonListItem::DoButtonCheck(), SubtitleScreen::EnableSubtitles(), MythCaptionsOverlay::EnableTeletext(), ViewScheduled::FillList(), ImportMusicDialog::fillWidgets(), Transition::Finished(), ZMPlayer::getEventInfo(), NCPrivate::GetNotificationScreens(), InfoList::Hide(), Hide(), ProgInfoList::Hide(), ZMLivePlayer::hideAll(), MythMediaOverlay::HideWindow(), MythUIButtonList::Init(), MythUIButtonTree::Init(), ZMPlayer::keyPressEvent(), GalleryThumbView::LoadData(), RSSEditor::LoadData(), NetSearch::LoadData(), NetTree::LoadData(), MythNavigationOverlay::More(), MythNavigationOverlay::PauseChanged(), MythUITextEdit::Pulse(), VideoDialog::refreshData(), MythUIStateType::Reset(), Ripper::ScanFinished(), GalleryThumbView::SelectZoomWidget(), OSD::SetText(), MythUIButtonTree::SetTreeState(), MythUIProgressBar::SetVisible(), Player::setWidgets(), Show(), Transition::Start(), InfoList::Toggle(), ProgInfoList::Toggle(), PlayerSettings::toggleAlt(), MetadataSettings::toggleTrailers(), UpdateDependState(), ProgLister::UpdateDisplay(), PlaybackBox::updateIcons(), ChannelRecPriority::updateInfo(), ProgramRecPriority::UpdateList(), ChannelRecPriority::updateList(), MHIContext::UpdateOSD(), PlaybackBox::updateRecList(), GalleryThumbView::UpdateScanProgress(), FileAssocDialog::UpdateScreen(), IdleScreen::UpdateScreen(), WelcomeDialog::updateScreen(), WelcomeDialog::updateStatusMessage(), StreamView::updateStreamList(), MusicCommon::updateUIPlaylist(), and BookmarkManager::UpdateURLList().
|
inline |
Definition at line 180 of file mythuitype.h.
Referenced by XMLParseBase::ParseUIType().
|
inline |
Definition at line 184 of file mythuitype.h.
Referenced by XMLParseBase::ParseUIType().
void MythUIType::SetZoom | ( | float | zoom | ) |
Definition at line 961 of file mythuitype.cpp.
Referenced by MythUIAnimation::updateCurrentValue().
|
slot |
Definition at line 1150 of file mythuitype.cpp.
Referenced by MythUIScrollBar::CalculatePosition(), MythNavigationOverlay::Create(), MythFlashPlayer::Create(), NetTree::customEvent(), RSSEditPopup::customEvent(), Weather::holdPage(), TrackInfoDialog::keyPressEvent(), MythNews::loadSites(), CriteriaRowEditor::operatorChanged(), WebPage::SetActive(), SelectDestination::setDestination(), Weather::SetupScreens(), LyricsView::showMessage(), RecordingSelector::titleChanged(), ExportNative::updateArchiveList(), MythBurn::updateArchiveList(), AudioSetupWizard::UpdateCapabilities(), MythNews::updateInfoView(), MythBurn::updateSizeBar(), ExportNative::updateSizeBar(), ViewScheduleDiff::updateUIList(), and VideoSelector::updateVideoList().
|
signal |
Referenced by MythUIWebBrowser::Init(), and SetVisible().
|
slot |
Definition at line 1036 of file mythuitype.cpp.
Referenced by MythScreenType::SetFocusWidget().
|
signal |
Referenced by MythUIButtonList::Const(), BrowserConfig::Create(), SourceSetup::Create(), MythControls::Create(), MythUIWebBrowser::Init(), PrevRecordedList::Init(), ProgFinder::Init(), MythUIButton::MythUIButton(), MythUIButtonTree::MythUIButtonTree(), MythUICheckBox::MythUICheckBox(), MythUITextEdit::MythUITextEdit(), and TakeFocus().
|
slot |
Definition at line 1104 of file mythuitype.cpp.
Referenced by ConnectDependants(), and UpdateDependState().
|
slot |
Definition at line 1062 of file mythuitype.cpp.
|
virtual |
Definition at line 684 of file mythuitype.cpp.
|
signal |
Referenced by OSD::LoadWindows(), and SetVisible().
|
friend |
Definition at line 310 of file mythuitype.h.
|
friend |
Definition at line 311 of file mythuitype.h.
|
protected |
Definition at line 287 of file mythuitype.h.
Referenced by AdjustAlpha(), CopyFrom(), HandleAlphaPulse(), and ParseElement().
|
protected |
Definition at line 286 of file mythuitype.h.
Referenced by AdjustAlpha(), CopyFrom(), HandleAlphaPulse(), and ParseElement().
|
protected |
Definition at line 289 of file mythuitype.h.
Referenced by AdjustAlpha(), CopyFrom(), HandleAlphaPulse(), and ParseElement().
|
protected |
Definition at line 288 of file mythuitype.h.
Referenced by AdjustAlpha(), CopyFrom(), HandleAlphaPulse(), and ParseElement().
|
protected |
Definition at line 300 of file mythuitype.h.
Referenced by ActivateAnimations(), CopyFrom(), Pulse(), and ~MythUIType().
|
protected |
Definition at line 277 of file mythuitype.h.
Referenced by MythScreenType::aboutToShow(), AdjustMinArea(), ContainsPoint(), CopyFrom(), MythUIImage::CopyFrom(), MythUIText::CursorPosition(), Draw(), MythUIGuideGrid::drawBackground(), MythUIGuideGrid::drawBox(), MythUIGuideGrid::drawCurrent(), MythUIGuideGrid::drawRecDecoration(), MythUIGuideGrid::drawText(), GuideGrid::EmbedTVWindow(), ExpandArea(), MythUIText::FillCutMessage(), GetArea(), MythUIButtonList::GetButtonArea(), GetFullArea(), GetMinSize(), MythUIText::GetNarrowWidth(), GetPosition(), HandleMovementPulse(), MythUIButtonList::Init(), MythUIButtonTree::Init(), MythUIWebBrowser::Init(), MythUIText::Layout(), MythUITextEdit::MoveCursor(), MoveTo(), MythScreenType::MythScreenType(), MythUIButtonList::MythUIButtonList(), MythScreenType::ParseElement(), MythUIImage::ParseElement(), MythUIText::ParseElement(), RecalculateArea(), MythUIStateType::RecalculateArea(), SetArea(), MythUIText::SetArea(), MythUIButtonList::SetButtonArea(), SetChildNeedsRedraw(), SetMinArea(), SetMinAreaParent(), Slide::SetPan(), SetPosition(), MythUIText::SetPosition(), MythUIGuideGrid::SetProgPast(), SetRedraw(), SetSize(), and Slide::Slide().
|
protected |
Definition at line 308 of file mythuitype.h.
Referenced by Draw(), and MythUIType().
Definition at line 265 of file mythuitype.h.
Referenced by AddFocusableChildrenToList(), CanTakeFocus(), CopyFrom(), LoseFocus(), MythUITextEdit::MythUITextEdit(), SetCanTakeFocus(), and TakeFocus().
|
protected |
Definition at line 255 of file mythuitype.h.
Referenced by ActivateAnimations(), AddChild(), AddFocusableChildrenToList(), AdjustMinArea(), SubtitleScreen::Clear708Cache(), ConnectDependants(), CopyFrom(), DeleteAllChildren(), DeleteChild(), Draw(), GetAllChildren(), GetAllDescendants(), GetChildAt(), LoadNow(), MoveChildToTop(), TeletextScreen::OptimiseDisplayedArea(), InteractiveScreen::OptimiseDisplayedArea(), SubtitleScreen::OptimiseDisplayedArea(), Pulse(), SubtitleScreen::Pulse(), RecalculateArea(), MythUIStateType::RecalculateArea(), Reset(), ResetNeedsRedraw(), SetMinAreaParent(), InteractiveScreen::UpdateArea(), and VanishSibling().
Definition at line 306 of file mythuitype.h.
Referenced by CopyFrom(), MythUIStateType::DisplayState(), IsDeferredLoading(), and MythUIStateType::LoadNow().
|
protected |
Definition at line 261 of file mythuitype.h.
Referenced by ConnectDependants(), and UpdateDependState().
|
protected |
Definition at line 256 of file mythuitype.h.
Referenced by ConnectDependants(), CopyFrom(), and SetDependsMap().
|
protected |
Definition at line 260 of file mythuitype.h.
Referenced by ConnectDependants(), and UpdateDependState().
|
protected |
Definition at line 281 of file mythuitype.h.
Referenced by Draw(), GetDirtyArea(), HandleMovementPulse(), SetArea(), SetChildNeedsRedraw(), SetPosition(), SetRedraw(), and SetSize().
|
protected |
Definition at line 284 of file mythuitype.h.
Referenced by AdjustAlpha(), CalcAlpha(), CopyFrom(), Draw(), MythUIImage::DrawSelf(), GetAlpha(), HandleAlphaPulse(), ParseElement(), SetAlpha(), SetAngle(), SetCentre(), SetHorizontalZoom(), SetVerticalZoom(), and Slide::SetZoom().
Definition at line 266 of file mythuitype.h.
Referenced by CopyFrom(), SetEnabled(), MythUIButton::SetLocked(), and MythUIButton::UnPush().
Definition at line 267 of file mythuitype.h.
Referenced by CopyFrom(), MythUIButtonList::DistributeButtons(), MythUIText::FillCutMessage(), MythUIImage::Load(), MythUIButtonList::MythUIButtonList(), MythUIImage::MythUIImage(), MythUIText::MythUIText(), ParseElement(), MythUIImage::SetImage(), and MythUIImage::SetImages().
|
protected |
Definition at line 274 of file mythuitype.h.
Referenced by SetFocusedName().
|
protected |
Definition at line 275 of file mythuitype.h.
Referenced by AddFocusableChildrenToList(), CopyFrom(), MythScreenType::NextPrevWidgetFocus(), and SetFocusOrder().
|
protected |
Definition at line 295 of file mythuitype.h.
Referenced by AddFont(), GetFont(), MythUIType(), and ~MythUIType().
Definition at line 264 of file mythuitype.h.
Referenced by LoseFocus(), MythUITextEdit::Pulse(), MythUIWebBrowser::SetActive(), MythUIButton::SetLocked(), TakeFocus(), MythUIButton::UnPush(), and MythUIButtonList::updateLCD().
|
protected |
Definition at line 301 of file mythuitype.h.
Referenced by ParseElement().
Definition at line 268 of file mythuitype.h.
Referenced by MythUIButtonList::DistributeButtons(), MythUIText::FillCutMessage(), MythUIImage::Load(), MythUIButtonList::MythUIButtonList(), MythUIImage::SetImage(), MythUIImage::SetImages(), SetMinArea(), and SetMinAreaParent().
Definition at line 271 of file mythuitype.h.
Referenced by SetDependIsDefault(), SetVisible(), and UpdateDependState().
|
protected |
Definition at line 278 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), GetArea(), SetMinArea(), SetMinAreaParent(), and VanishSibling().
|
protected |
Definition at line 279 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), MythUIButtonList::DistributeButtons(), MythUIText::FillCutMessage(), GetMinSize(), SetMinArea(), SetMinAreaParent(), SetMinSize(), and VanishSibling().
Definition at line 291 of file mythuitype.h.
Referenced by CopyFrom(), HandleMovementPulse(), and MoveTo().
Definition at line 282 of file mythuitype.h.
Referenced by NeedsRedraw(), ResetNeedsRedraw(), SetChildNeedsRedraw(), and SetRedraw().
|
protected |
Definition at line 298 of file mythuitype.h.
Referenced by SubtitleScreen::AddScaledImage(), MythBDOverlayScreen::DisplayBDOverlay(), SubtitleScreen::DisplayScaledAVSubtitles(), GetPainter(), MythScreenType::GetPainter(), InteractiveScreen::InteractiveScreen(), MythBDOverlayScreen::MythBDOverlayScreen(), MythOverlayWindow::MythOverlayWindow(), TeletextScreen::OptimiseDisplayedArea(), SubtitleScreen::SubtitleScreen(), and TeletextScreen::TeletextScreen().
|
protected |
Definition at line 297 of file mythuitype.h.
Referenced by MythUIButtonList::gestureEvent(), MythUIButtonTree::gestureEvent(), GuideGrid::gestureEvent(), GetFont(), GetPainter(), IsDeferredLoading(), IsVisible(), MoveToTop(), MythUIType(), MythUIImage::ParseElement(), RecalculateArea(), MythUIStateType::RecalculateArea(), SetArea(), MythUIButtonList::SetButtonArea(), SetChildNeedsRedraw(), SetMinArea(), SetMinAreaParent(), SetMinSize(), SetPosition(), SetRedraw(), SetSize(), and Slide::Slide().
|
protected |
Definition at line 272 of file mythuitype.h.
Referenced by SetReverseDependence(), and UpdateDependState().
Definition at line 269 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), ParseElement(), SetMinArea(), SetMinAreaParent(), and VanishSibling().
Definition at line 270 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), Draw(), GetArea(), Pulse(), SetMinArea(), SetMinAreaParent(), and VanishSibling().
Definition at line 263 of file mythuitype.h.
Referenced by CopyFrom(), Draw(), IsVisible(), Pulse(), SetVisible(), and MythUIProgressBar::SetVisible().
|
protected |
Definition at line 304 of file mythuitype.h.
Referenced by CopyFrom().
|
protected |
Definition at line 303 of file mythuitype.h.
Referenced by CopyFrom().
|
protected |
Definition at line 292 of file mythuitype.h.
Referenced by CopyFrom(), HandleMovementPulse(), and MoveTo().
|
protected |
Definition at line 293 of file mythuitype.h.
Referenced by CopyFrom(), HandleMovementPulse(), and MoveTo().