MythTV
master
|
The base class on which all widgets and screens are based. More...
#include <libmythui/mythuitype.h>
Public Slots | |
void | LoseFocus () |
bool | TakeFocus () |
void | Activate () |
void | Hide (void) |
void | Show (void) |
void | Refresh (void) |
void | UpdateDependState (bool isDefault) |
void | UpdateDependState (MythUIType *dependee, bool isDefault) |
Signals | |
void | RequestUpdate () |
void | RequestRegionUpdate (const QRect &) |
void | TakingFocus () |
void | LosingFocus () |
void | VisibilityChanged (bool Visible) |
void | Showing () |
void | Hiding () |
void | Enabling () |
void | Disabling () |
void | FinishedMoving () |
void | FinishedFading () |
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) |
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 Public Member Functions inherited from XMLParseBase | |
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.
|
virtual |
Reset the widget to it's original state, should not reset changes made by the theme.
Reimplemented in MythUIImage, MythUIStateType, MythUIBusyDialog, MythUITextEdit, MythUIText, MythUIButton, MythUIButtonTree, MythUIVideo, MythUIScrollBar, MythUIGroup, MythUIProgressBar, MythUIButtonList, and TeletextScreen.
Definition at line 73 of file mythuitype.cpp.
Referenced by MythUIGroup::Reset(), MythUIProgressBar::Reset(), MythUIScrollBar::Reset(), MythUIVideo::Reset(), MythUIButtonTree::Reset(), MythUIButton::Reset(), MythUIText::Reset(), MythUIStateType::Reset(), MythUIImage::Reset(), MythUIButtonList::Reset(), and OSD::ResetWindow().
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().
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 MythUIScrollBar::CalculatePosition(), MythUIProgressBar::CalculatePosition(), CheckedSet(), ConnectDependants(), MythThemedMenuState::CopyFrom(), MythUIButtonTree::CopyFrom(), MythUIStateType::CopyFrom(), CopyFrom(), MythUIButtonList::CopyFrom(), XMLParseBase::CopyWindowFromBase(), ChannelEditor::Create(), PlayerSettings::Create(), CustomPriority::Create(), TvPlayWindow::Create(), MetadataSettings::Create(), GeneralSetupWizard::Create(), GrabberSettings::Create(), AudioSetupWizard::Create(), KeyGrabPopupBox::Create(), VideoSetupWizard::Create(), NetSearch::Create(), ScreenWizard::Create(), ChannelRecPriority::Create(), ManualSchedule::Create(), GalleryThumbView::Create(), ThemeChooser::Create(), RawSettingsEditor::Create(), ViewScheduled::Create(), ImportIconsWizard::Create(), MythThemedMenuState::Create(), BrowserConfig::Create(), MythUIBusyDialog::Create(), TrackInfoPopup::Create(), StatusBox::Create(), GlobalSetup::Create(), BackendSelection::Create(), MythControls::Create(), MythUIProgressDialog::Create(), BookmarkManager::Create(), ProgramRecPriority::Create(), ScreenSetup::Create(), MythUIFileBrowser::Create(), Ripper::Create(), SourceSetup::Create(), GuideGrid::Create(), PlaybackBox::Create(), LocationDialog::Create(), MythNotificationScreen::Create(), RipStatus::Create(), TrackInfoDialog::Create(), GroupSelector::Create(), ChangeView::Create(), PasswordChange::Create(), RecMetadataEdit::Create(), HelpPopup::Create(), MythUIEditBar::Display(), ViewScheduled::FillList(), MythUIEditBar::Finalize(), MythUIScrollBar::Finalize(), ZMLivePlayer::GetMythUIType(), ProgLister::HandleSelected(), MythUIButtonTree::Init(), MythUIButtonList::Init(), PlaybackBox::IsUsageUIVisible(), ThemeChooser::itemChanged(), MythUIVirtualKeyboard::keyPressEvent(), TrackInfoDialog::keyPressEvent(), XMLParseBase::ParseUIType(), WeatherScreen::prepareScreen(), NetworkControl::processTheme(), MythScreenType::SetFocusWidget(), OSD::SetGraph(), ZMEvents::setGridLayout(), MythUICheckBox::SetInitialStates(), MythUIButton::SetInitialStates(), MythUITextEdit::SetInitialStates(), ZMLivePlayer::setMonitorLayout(), OSD::SetRegions(), EditMetadataCommon::setSaveMetadataOnly(), OSD::SetText(), OSD::SetValues(), PlaybackBox::updateGroupInfo(), PlaybackBox::updateIcons(), ChannelRecPriority::updateInfo(), ViewScheduled::updateInfo(), GuideGrid::updateInfo(), ChannelRecPriority::updateList(), ProgramRecPriority::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 MythUIButtonTree::gestureEvent(), MythScreenType::gestureEvent(), GuideGrid::gestureEvent(), MythUIButtonList::gestureEvent(), and GetChildAt().
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.
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.
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(), SubtitleScreen::RenderAssTrack(), and MHIContext::UpdateOSD().
bool MythUIType::NeedsRedraw | ( | void | ) | const |
Definition at line 298 of file mythuitype.cpp.
void MythUIType::ResetNeedsRedraw | ( | void | ) |
Definition at line 303 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(), MythUIImage::Load(), MoveChildToTop(), MythUITextEdit::MoveCursor(), MythScreenStack::PopScreen(), MythNotificationScreenStack::PopScreen(), MythUIProcedural::Pulse(), MythUIText::Pulse(), MythUIImage::Pulse(), MythUIWebBrowser::Pulse(), Refresh(), MythUIText::Reset(), SetAlpha(), SetAngle(), SetArea(), MythUIText::SetCanvasPosition(), MythUIShape::SetCropRect(), MythUIImage::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::SetChildNeedsRedraw | ( | MythUIType * | child | ) |
Definition at line 329 of file mythuitype.cpp.
Referenced by SetChildNeedsRedraw(), and SetRedraw().
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(), ProgInfoList::Toggle(), and InfoList::Toggle().
Set whether this widget can take focus.
Definition at line 362 of file mythuitype.cpp.
Referenced by MythUIButtonList::Const(), ProgInfoList::Create(), InfoList::Create(), FilterOptMixin::Create(), PlaybackBox::Create(), MythUIButton::MythUIButton(), MythUIButtonTree::MythUIButtonTree(), MythUICheckBox::MythUICheckBox(), MythUIWebBrowser::MythUIWebBrowser(), MythUIWebBrowser::ParseElement(), TvPlayWindow::TvPlayWindow(), and IdleScreen::UpdateScreen().
void MythUIType::SetFocusOrder | ( | int | order | ) |
Definition at line 1349 of file mythuitype.cpp.
Referenced by ParseElement().
|
inline |
Definition at line 117 of file mythuitype.h.
Referenced by SmartPLOrderByDialog::deletePressed(), MythUICheckBox::Deselect(), MythUIButton::Deselect(), MythUICheckBox::gestureEvent(), MythUIButton::gestureEvent(), MythScreenType::gestureEvent(), GetChildAt(), MythUIButton::keyPressEvent(), SmartPLOrderByDialog::moveDownPressed(), SmartPLOrderByDialog::moveUpPressed(), MythUICheckBox::Select(), MythUIButton::Select(), and MythUIButtonListItem::SetToRealButton().
void MythUIType::SetEnabled | ( | bool | enable | ) |
Definition at line 1128 of file mythuitype.cpp.
Referenced by CustomEdit::clauseChanged(), ChannelEditor::Create(), KeyGrabPopupBox::Create(), MythBrowser::Create(), ImportIconsWizard::Create(), ScheduleEditor::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(), SchedOptMixin::RuleChanged(), StoreOptMixin::RuleChanged(), PostProcMixin::RuleChanged(), FilterOptMixin::RuleChanged(), ScheduleEditor::RuleChanged(), MythBrowser::slotLoadFinished(), CustomPriority::textChanged(), CustomEdit::textChanged(), SmartPlaylistEditor::titleChanged(), PostProcMixin::TranscodeChanged(), LogViewer::updateClicked(), MythUIFileBrowser::updateLocalFileList(), SmartPlaylistEditor::updateMatches(), MythUIFileBrowser::updateRemoteFileList(), and SmartPLDateDialog::valueChanged().
bool MythUIType::MoveToTop | ( | void | ) |
Definition at line 1373 of file mythuitype.cpp.
Referenced by MythUIButtonList::CalculateArrowStates(), MythUIEditBar::Display(), MythUIButtonList::DistributeButtons(), MythUIEditBar::Finalize(), MythUIButtonList::SetScrollBarPosition(), and MythUIButtonListItem::SetToRealButton().
bool MythUIType::MoveChildToTop | ( | MythUIType * | child | ) |
Definition at line 1354 of file mythuitype.cpp.
Referenced by MoveToTop().
void MythUIType::ActivateAnimations | ( | MythUIAnimation::Trigger | trigger | ) |
Definition at line 288 of file mythuitype.cpp.
Referenced by MythScreenType::aboutToHide(), and MythScreenType::aboutToShow().
|
inline |
Definition at line 124 of file mythuitype.h.
Referenced by MythUIAnimation::ParseSection().
|
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 SubtitleScreen, MythUIWebBrowser, MythUIImage, MythUIText, MythUIBusyDialog, MythUITextEdit, MythUIClock, MythUIVideo, Slide, TeletextScreen, and MythUIProcedural.
Definition at line 456 of file mythuitype.cpp.
Referenced by MythUIProcedural::Pulse(), MythUIVideo::Pulse(), GallerySlideView::Pulse(), MythUITextEdit::Pulse(), MythUIBusyDialog::Pulse(), MythUIText::Pulse(), MythUIImage::Pulse(), MythUIWebBrowser::Pulse(), and SubtitleScreen::Pulse().
void MythUIType::Draw | ( | MythPainter * | p, |
int | xoffset, | ||
int | yoffset, | ||
int | alphaMod = 255 , |
||
QRect | clipRect = QRect() |
||
) |
Definition at line 484 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.
|
virtual |
Reimplemented in MythUIText.
Definition at line 543 of file mythuitype.cpp.
|
virtual |
Definition at line 564 of file mythuitype.cpp.
Referenced by MythNotificationScreen::AdjustYPosition(), and MythNotificationScreen::Create().
|
virtual |
Reimplemented in MythUIImage.
Definition at line 569 of file mythuitype.cpp.
Referenced by ExpandArea(), and MythUIImage::SetSize().
|
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().
|
virtual |
Definition at line 602 of file mythuitype.cpp.
Referenced by AdjustMinArea(), SetMinArea(), and SetMinAreaParent().
|
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(), InteractiveScreen::OptimiseDisplayedArea(), TeletextScreen::OptimiseDisplayedArea(), SubtitleScreen::OptimiseDisplayedArea(), MythUITextEdit::ParseElement(), MythScreenType::ParseElement(), MythUIImage::ParseElement(), ParseElement(), OSD::PositionWindow(), SubtitleScreen::RenderAssTrack(), MythUIText::SetArea(), Slide::Slide(), InteractiveScreen::UpdateArea(), ScreenWizard::updateScreen(), and WebPage::WebPage().
|
virtual |
Adjust the size of a sibling.
Definition at line 629 of file mythuitype.cpp.
|
virtual |
Definition at line 684 of file mythuitype.cpp.
|
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 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 |
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(), MythUIScrollBar::CalculatePosition(), MythUIProgressBar::CalculatePosition(), MythUIVirtualKeyboard::Create(), GuideGrid::Create(), MythUIEditBar::Display(), MythUIButtonList::DistributeRow(), MythUIGuideGrid::drawRecDecoration(), MythUIProcedural::DrawSelf(), MythUIVideo::DrawSelf(), MythUIShape::DrawSelf(), MythUISimpleText::DrawSelf(), MythUIImage::DrawSelf(), GuideGrid::fillProgramRowInfos(), MythUIScrollBar::Finalize(), MythUIButtonTree::gestureEvent(), GuideGrid::gestureEvent(), MythUIButtonList::gestureEvent(), GetChildAt(), MythNotificationScreen::GetHeight(), MythUIButtonList::Init(), TransitionSlide::Initialise(), TransitionZoom::Initialise(), MainVisual::MainVisual(), InteractiveScreen::OptimiseDisplayedArea(), TeletextScreen::OptimiseDisplayedArea(), MythUIAnimation::parsePosition(), OSD::PositionWindow(), MainVisual::setVisual(), Slide::Slide(), MythBrowser::slotAddTab(), and ThumbFinder::updatePositionBar().
|
virtual |
Definition at line 893 of file mythuitype.cpp.
Referenced by MythUIImage::customEvent(), MythUIImage::DrawSelf(), MythUIImage::Load(), MythUIStateType::RecalculateArea(), RecalculateArea(), MythUIButtonList::SetButtonArea(), MythUIImage::SetImages(), MythUITextEdit::SetInitialStates(), SetMinSize(), and SetPosition().
Reimplemented in MythUIStateType.
Definition at line 1331 of file mythuitype.cpp.
Referenced by CopyFrom(), SetArea(), SetPosition(), and SetSize().
void MythUIType::ExpandArea | ( | QRect | rect | ) |
Definition at line 869 of file mythuitype.cpp.
Referenced by MythUIStateType::AddObject(), SetArea(), and SetSize().
|
virtual |
Definition at line 898 of file mythuitype.cpp.
Referenced by SetChildNeedsRedraw().
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 |
Reimplemented in MythUIProgressBar.
Definition at line 1105 of file mythuitype.cpp.
Referenced by MythNavigationOverlay::AudioStateChanged(), MythUIButtonList::CalculateButtonPositions(), MythUIProgressBar::CalculatePosition(), Slide::Clear(), Ripper::compilationChanged(), MythUIStateType::CopyFrom(), MythNavigationOverlay::Create(), PlayerSettings::Create(), MetadataSettings::Create(), ProgInfoList::Create(), WelcomeDialog::Create(), NetSearch::Create(), InfoList::Create(), GalleryThumbView::Create(), ZMPlayer::Create(), ChannelScannerGUIScanPane::Create(), MythNotificationScreen::Create(), MythConfirmationDialog::Create(), MythTimeInputDialog::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(), ProgInfoList::Hide(), InfoList::Hide(), Hide(), ZMLivePlayer::hideAll(), MythMediaOverlay::HideWindow(), MythUIButtonTree::Init(), MythUIButtonList::Init(), ZMPlayer::keyPressEvent(), GalleryThumbView::LoadData(), NetSearch::LoadData(), NetTree::LoadData(), RSSEditor::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(), ProgInfoList::Toggle(), InfoList::Toggle(), PlayerSettings::toggleAlt(), MetadataSettings::toggleTrailers(), UpdateDependState(), ProgLister::UpdateDisplay(), PlaybackBox::updateIcons(), ChannelRecPriority::updateInfo(), ChannelRecPriority::updateList(), ProgramRecPriority::UpdateList(), MHIContext::UpdateOSD(), PlaybackBox::updateRecList(), GalleryThumbView::UpdateScanProgress(), IdleScreen::UpdateScreen(), WelcomeDialog::updateScreen(), FileAssocDialog::UpdateScreen(), WelcomeDialog::updateStatusMessage(), StreamView::updateStreamList(), MusicCommon::updateUIPlaylist(), and BookmarkManager::UpdateURLList().
void MythUIType::MoveTo | ( | QPoint | destXY, |
QPoint | speedXY | ||
) |
Definition at line 914 of file mythuitype.cpp.
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(), MythScreenStack::PopScreen(), MythNotificationScreenStack::PopScreen(), and MythUIScrollBar::timerEvent().
void MythUIType::SetAlpha | ( | int | newalpha | ) |
Definition at line 942 of file mythuitype.cpp.
Referenced by MythScreenStack::DoNewFadeTransition(), TransitionBlend::Finalise(), TransitionBlend::Initialise(), MythScreenStack::PopScreen(), MythNotificationScreenStack::PopScreen(), MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
int MythUIType::GetAlpha | ( | void | ) | const |
Definition at line 951 of file mythuitype.cpp.
Referenced by MythScreenStack::CheckNewFadeTransition().
|
virtual |
Key event handler.
event | Keypress event |
Reimplemented in ItemDetailPopup, VideoDialog, StandardSettingDialog, SearchButtonListDialog, MythConfirmationDialog, SchedEditChild, TrackInfoDialog, MythDialogBox, RipStatus, SmartPLResultViewer, MythMusicVolumeDialog, MythUIButtonList, ImportCoverArtDialog, MythNotificationScreen, ScheduleEditor, EditAlbumartDialog, MythUIWebBrowser, PlaybackBox, GuideGrid, Ripper, RSSEditor, SmartPlaylistEditor, PlaylistEditorView, ScreenSetup, ProgramRecPriority, EditMetadataDialog, BookmarkManager, ImportMusicDialog, ZMLivePlayer, MythUIProgressDialog, MythBurn, ZMConsole, ProgLister, MythScreenType, NetTree, ThumbFinder, StatusBox, TrackInfoPopup, RSSEditPopup, MythUIBusyDialog, MythUITextEdit, ExportNative, ZMPlayer, BrowserConfig, ViewScheduled, ZMEvents, GallerySlideView, ThemeChooser, GalleryThumbView, MythUISpinBox, GameUI, WeatherScreen, ViewScheduleDiff, ProgFinder, EditMetadataCommon, MythUIButton, SelectDestination, MythNewsEditor, DVDThemeSelector, NetEditorBase, MythNews, ChannelRecPriority, ScreenWizard, BookmarkEditor, NetSearch, Weather, MythUICheckBox, VideoSetupWizard, WelcomeDialog, MythBrowser, StreamView, CustomEdit, ProgDetails, AudioSetupWizard, LyricsView, SearchView, MythNewsConfig, PlaylistView, VisualizerView, GrabberSettings, KeyGrabPopupBox, GeneralSetupWizard, MythUIButtonTree, MetadataSettings, PlayerSettings, IdleScreen, MiniPlayer, MythNavigationOverlay, ImportSettings, ZMMiniPlayer, ChannelEditor, MythChannelOverlay, MythFlashPlayer, ImportNative, MythThemedMenu, EditLyricsDialog, MusicCommon, MythUIVirtualKeyboard, FileSelector, VideoSelector, RecordingSelector, PrevRecordedList, LogViewer, and EditMetadataDialog.
Definition at line 989 of file mythuitype.cpp.
Referenced by WeatherScreen::keyPressEvent(), and MythScreenType::keyPressEvent().
|
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 MythScreenType::inputMethodEvent(), and MythDialogBox::inputMethodEvent().
|
virtual |
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop.
Should not be used directly.
event | Mouse event |
Reimplemented in MythDialogBox, MythUIButtonList, GuideGrid, MythScreenType, MythUITextEdit, MythUIButton, MythUICheckBox, MythUIButtonTree, and TvPlayWindow.
Definition at line 1013 of file mythuitype.cpp.
Referenced by MythScreenType::gestureEvent().
|
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.
MythFontProperties * MythUIType::GetFont | ( | const QString & | text | ) | const |
Definition at line 1316 of file mythuitype.cpp.
Referenced by GetFont(), MythUIText::ParseElement(), MythUIGuideGrid::ParseElement(), and MythFontProperties::ParseFromXml().
bool MythUIType::AddFont | ( | const QString & | text, |
MythFontProperties * | fontProp | ||
) |
Definition at line 1326 of file mythuitype.cpp.
Referenced by SubtitleFormat::CreateProviderDefault(), XMLParseBase::doLoad(), XMLParseBase::ParseChildren(), and XMLParseBase::ParseUIType().
|
inline |
Definition at line 175 of file mythuitype.h.
Referenced by RatingSettings::Create(), VisualizationSettings::Create(), ChannelEditor::Create(), ImportSettings::Create(), GeneralSettings::Create(), FileAssocDialog::Create(), PlayerSettings::Create(), MetadataSettings::Create(), GrabberSettings::Create(), GeneralSetupWizard::Create(), AudioSetupWizard::Create(), VideoSetupWizard::Create(), and ImportIconsWizard::Create().
|
inline |
Definition at line 176 of file mythuitype.h.
Referenced by MythScreenType::SetFocusWidget().
|
inline |
Definition at line 178 of file mythuitype.h.
Referenced by XMLParseBase::ParseUIType().
|
inline |
Definition at line 180 of file mythuitype.h.
Referenced by ETPrintWarning::Child(), ETPrintError::Child(), MythUIText::CopyFrom(), MythUIImage::CopyFrom(), MythUIText::CursorPosition(), MythUIText::Finalize(), MythUIText::GetNarrowWidth(), MythUIButtonTree::Init(), MythUIButtonList::Init(), MythUIText::Layout(), MythUIText::MoveCursor(), MythUIText::ParseElement(), and MythUIText::SetCutDown().
|
inline |
Definition at line 182 of file mythuitype.h.
Referenced by XMLParseBase::ParseUIType().
|
inline |
Definition at line 183 of file mythuitype.h.
Referenced by ETPrintWarning::Child(), and ETPrintError::Child().
Definition at line 1383 of file mythuitype.cpp.
Referenced by IsDeferredLoading(), and MythUIImage::ParseElement().
|
inline |
Definition at line 186 of file mythuitype.h.
Referenced by ParseElement().
|
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 1399 of file mythuitype.cpp.
Referenced by MythUIStateType::DisplayState(), MythUIStateType::LoadNow(), and MythUIImage::LoadNow().
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 1412 of file mythuitype.cpp.
Referenced by MythMainWindow::eventFilter().
|
virtual |
Reimplemented in MythScreenType.
Definition at line 1417 of file mythuitype.cpp.
Referenced by AdjustAlpha(), MythUIText::CycleColor(), GetPainter(), HandleAlphaPulse(), HandleMovementPulse(), MythUIWebBrowser::Init(), MythNotificationScreen::Init(), MythUIImage::Load(), MoveTo(), MythUIText::ParseElement(), MythUIWebBrowser::Scroll(), and Slide::Slide().
|
inline |
Definition at line 192 of file mythuitype.h.
Referenced by OSD::DialogShow().
void MythUIType::SetCentre | ( | UIEffects::Centre | centre | ) |
Definition at line 956 of file mythuitype.cpp.
Referenced by MythUIAnimation::updateCurrentValue(), and Animation::updateCurrentValue().
void MythUIType::SetZoom | ( | float | zoom | ) |
Definition at line 961 of file mythuitype.cpp.
Referenced by MythUIAnimation::updateCurrentValue().
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().
void MythUIType::SetVerticalZoom | ( | float | zoom | ) |
Definition at line 973 of file mythuitype.cpp.
Referenced by SetZoom(), 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().
void MythUIType::SetDependIsDefault | ( | bool | isDefault | ) |
Definition at line 1123 of file mythuitype.cpp.
void MythUIType::SetReverseDependence | ( | MythUIType * | dependee, |
bool | reverse | ||
) |
Definition at line 1433 of file mythuitype.cpp.
Referenced by ConnectDependants().
void MythUIType::SetDependsMap | ( | QMap< QString, QString > | dependsMap | ) |
Definition at line 1428 of file mythuitype.cpp.
Referenced by XMLParseBase::ParseChildren(), and XMLParseBase::ParseUIType().
|
inline |
Definition at line 202 of file mythuitype.h.
Referenced by XMLParseBase::ParseUIType().
|
overrideprotected |
Definition at line 1003 of file mythuitype.cpp.
Referenced by IdleScreen::customEvent(), ZMLivePlayer::customEvent(), and Ripper::customEvent().
|
slot |
Definition at line 1026 of file mythuitype.cpp.
Referenced by MythScreenType::SetFocusWidget().
|
slot |
Definition at line 1036 of file mythuitype.cpp.
Referenced by MythScreenType::SetFocusWidget().
|
slot |
Definition at line 1047 of file mythuitype.cpp.
|
slot |
Definition at line 1139 of file mythuitype.cpp.
Referenced by MythNavigationOverlay::AudioStateChanged(), MythUIScrollBar::CalculatePosition(), MythNews::clearSites(), MythNavigationOverlay::Create(), GeneralSetupWizard::Create(), Weather::Create(), MythNews::Create(), RecordingSelector::Create(), TrackInfoDialog::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(), ExportNative::updateSizeBar(), MythBurn::updateSizeBar(), ViewScheduleDiff::updateUIList(), VideoSelector::updateVideoList(), and MusicCommon::updateVolume().
|
slot |
Definition at line 1144 of file mythuitype.cpp.
Referenced by MythUIScrollBar::CalculatePosition(), MythFlashPlayer::Create(), MythNavigationOverlay::Create(), RSSEditPopup::customEvent(), NetTree::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(), ExportNative::updateSizeBar(), MythBurn::updateSizeBar(), ViewScheduleDiff::updateUIList(), and VideoSelector::updateVideoList().
|
slot |
Definition at line 1051 of file mythuitype.cpp.
Referenced by LoseFocus(), BookmarkManager::slotGroupSelected(), WebPage::slotIconChanged(), TakeFocus(), and MythUIWebBrowser::UpdateBuffer().
|
slot |
Definition at line 1098 of file mythuitype.cpp.
Referenced by ConnectDependants().
|
slot |
Definition at line 1056 of file mythuitype.cpp.
|
signal |
|
signal |
|
signal |
Referenced by MythUIButtonList::Const(), BrowserConfig::Create(), MythControls::Create(), SourceSetup::Create(), ProgFinder::Init(), PrevRecordedList::Init(), MythUIButton::MythUIButton(), MythUIButtonTree::MythUIButtonTree(), MythUICheckBox::MythUICheckBox(), MythUITextEdit::MythUITextEdit(), and TakeFocus().
|
signal |
Referenced by MythUIButtonList::Const(), SelectDestination::Create(), EditMetadataDialog::Create(), RawSettingsEditor::Create(), FileSelector::Create(), ArchiveFileSelector::Create(), MythUIFileBrowser::Create(), SourceSetup::Create(), ScheduleEditor::Create(), StoreOptEditor::Create(), ProgFinder::Init(), PrevRecordedList::Init(), LoseFocus(), MythUIButton::MythUIButton(), MythUIButtonTree::MythUIButtonTree(), MythUICheckBox::MythUICheckBox(), and MythUITextEdit::MythUITextEdit().
|
signal |
Referenced by OSD::LoadWindows(), and SetVisible().
|
signal |
Referenced by MythUIWebBrowser::Init(), and SetVisible().
|
signal |
Referenced by MythUIWebBrowser::Init(), and SetVisible().
|
signal |
|
signal |
|
signal |
Referenced by HandleMovementPulse().
|
signal |
Referenced by MythUIScrollBar::DoneFading(), HandleAlphaPulse(), and MythUIScrollBar::timerEvent().
|
signal |
Referenced by MythUIStateType::AdjustDependence(), ConnectDependants(), MythUIButtonList::InsertItem(), MythUIImage::MythUIImage(), MythUIStateType::MythUIStateType(), MythUIButtonList::RemoveItem(), MythUIProgressBar::Reset(), MythUIText::Reset(), MythUIImage::Reset(), MythUIButtonList::Reset(), MythUICheckBox::SetCheckState(), MythUIImage::SetFilename(), MythUIImage::SetFilepattern(), MythUIText::SetText(), MythUIProgressBar::SetVisible(), and MythUICheckBox::toggleCheckState().
|
protectedvirtual |
Reimplemented in MythUIProcedural, MythUIButtonList, MythUIWebBrowser, MythUIImage, MythUIText, MythUIGuideGrid, MythUISimpleText, MythUIShape, and MythUIVideo.
Definition at line 479 of file mythuitype.cpp.
Referenced by Draw().
|
protected |
Definition at line 1149 of file mythuitype.cpp.
Referenced by MythScreenType::BuildFocusList().
|
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().
|
protected |
Definition at line 474 of file mythuitype.cpp.
Referenced by Draw(), MythUIShape::DrawSelf(), MythUISimpleText::DrawSelf(), MythUIText::DrawSelf(), and MythUIImage::DrawSelf().
|
staticprotected |
Definition at line 1158 of file mythuitype.cpp.
Referenced by MythUIShape::ParseElement(), MythUIButtonTree::ParseElement(), and MythUIButtonList::ParseElement().
|
staticprotected |
Definition at line 1163 of file mythuitype.cpp.
Referenced by MythUIButtonList::ParseElement().
Definition at line 1438 of file mythuitype.cpp.
Referenced by MythScreenType::CopyFrom(), XMLParseBase::doLoad(), and XMLParseBase::ParseChildren().
|
protectedvirtual |
Parse the xml definition of this widget setting the state of the object accordingly.
Reimplemented in MythUIButtonList, MythUIWebBrowser, MythUIImage, MythScreenType, MythUIGuideGrid, MythUITextEdit, MythUIText, MythUIStateType, MythUIButtonTree, MythUIButton, MythUISpinBox, MythUIScrollBar, MythUIClock, MythUIShape, MythUIProgressBar, MythUIVideo, and MythUIProcedural.
Definition at line 1237 of file mythuitype.cpp.
Referenced by XMLParseBase::ParseChildren(), MythUIProcedural::ParseElement(), MythUIProgressBar::ParseElement(), MythUIVideo::ParseElement(), MythUIShape::ParseElement(), MythUIScrollBar::ParseElement(), MythUIButton::ParseElement(), MythUIButtonTree::ParseElement(), MythUIStateType::ParseElement(), MythUIText::ParseElement(), MythUITextEdit::ParseElement(), MythUIGuideGrid::ParseElement(), MythScreenType::ParseElement(), MythUIImage::ParseElement(), MythUIWebBrowser::ParseElement(), MythUIButtonList::ParseElement(), and XMLParseBase::ParseUIType().
|
protectedvirtual |
Copy this widgets state from another.
Reimplemented in MythUIButtonList, MythUIWebBrowser, MythUIImage, MythScreenType, MythUIGuideGrid, MythUITextEdit, MythUIText, MythUIStateType, MythUIButtonTree, MythUIButton, MythThemedMenuState, MythUICheckBox, MythUISpinBox, MythUIScrollBar, MythUIClock, MythUIShape, MythUISimpleText, MythUIEditBar, MythUIProgressBar, MythUIVideo, MythUIGroup, and MythUIProcedural.
Definition at line 1171 of file mythuitype.cpp.
Referenced by MythUIProcedural::CopyFrom(), MythUIGroup::CopyFrom(), MythUIVideo::CopyFrom(), MythUIProgressBar::CopyFrom(), MythUIEditBar::CopyFrom(), MythUISimpleText::CopyFrom(), MythUIShape::CopyFrom(), MythUIScrollBar::CopyFrom(), MythUICheckBox::CopyFrom(), MythUIButton::CopyFrom(), MythUIButtonTree::CopyFrom(), MythUIStateType::CopyFrom(), MythUIText::CopyFrom(), MythUITextEdit::CopyFrom(), MythUIGuideGrid::CopyFrom(), MythScreenType::CopyFrom(), MythUIImage::CopyFrom(), MythUIWebBrowser::CopyFrom(), CopyFrom(), MythUIButtonList::CopyFrom(), and XMLParseBase::ParseUIType().
|
protectedvirtual |
Copy the state of this widget to the one given, it must be of the same type.
Reimplemented in MythUIButtonList, MythUIWebBrowser, MythUIImage, MythScreenType, MythUIGuideGrid, MythUITextEdit, MythUIText, MythUIStateType, MythUIButtonTree, MythUIButton, MythUICheckBox, MythUISpinBox, MythUIScrollBar, MythUIClock, MythUIShape, MythUISimpleText, MythUIEditBar, MythUIProgressBar, MythUIVideo, MythUIGroup, and MythUIProcedural.
Definition at line 1228 of file mythuitype.cpp.
|
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 MythUIButtonList, MythUIWebBrowser, MythUIImage, MythUITextEdit, MythUIText, MythUIGuideGrid, MythUIStateType, MythUIButton, MythUICheckBox, MythUIScrollBar, MythUIEditBar, MythUIProgressBar, and MythUIProcedural.
Definition at line 1312 of file mythuitype.cpp.
Referenced by MythUIGuideGrid::Finalize(), MythUIImage::Finalize(), MythUIWebBrowser::Finalize(), MythUIButtonList::Finalize(), XMLParseBase::ParseChildren(), and XMLParseBase::ParseUIType().
|
friend |
Definition at line 307 of file mythuitype.h.
|
friend |
Definition at line 308 of file mythuitype.h.
|
protected |
Definition at line 253 of file mythuitype.h.
Referenced by ActivateAnimations(), AddChild(), AddFocusableChildrenToList(), AdjustMinArea(), SubtitleScreen::Clear708Cache(), ConnectDependants(), CopyFrom(), DeleteAllChildren(), DeleteChild(), Draw(), GetAllChildren(), GetAllDescendants(), GetChildAt(), LoadNow(), MoveChildToTop(), InteractiveScreen::OptimiseDisplayedArea(), TeletextScreen::OptimiseDisplayedArea(), SubtitleScreen::OptimiseDisplayedArea(), Pulse(), SubtitleScreen::Pulse(), MythUIStateType::RecalculateArea(), RecalculateArea(), Reset(), ResetNeedsRedraw(), SetMinAreaParent(), InteractiveScreen::UpdateArea(), and VanishSibling().
|
protected |
Definition at line 254 of file mythuitype.h.
Referenced by ConnectDependants(), CopyFrom(), and SetDependsMap().
|
protected |
Definition at line 258 of file mythuitype.h.
Referenced by ConnectDependants(), and UpdateDependState().
|
protected |
Definition at line 259 of file mythuitype.h.
Referenced by ConnectDependants(), and UpdateDependState().
Definition at line 261 of file mythuitype.h.
Referenced by CopyFrom(), Draw(), IsVisible(), Pulse(), MythUIProgressBar::SetVisible(), and SetVisible().
Definition at line 262 of file mythuitype.h.
Referenced by LoseFocus(), MythUITextEdit::Pulse(), MythUIButton::SetLocked(), TakeFocus(), MythUIButton::UnPush(), and MythUIButtonList::updateLCD().
Definition at line 263 of file mythuitype.h.
Referenced by AddFocusableChildrenToList(), CanTakeFocus(), CopyFrom(), LoseFocus(), MythUITextEdit::MythUITextEdit(), SetCanTakeFocus(), and TakeFocus().
Definition at line 264 of file mythuitype.h.
Referenced by CopyFrom(), SetEnabled(), MythUIButton::SetLocked(), and MythUIButton::UnPush().
Definition at line 265 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().
Definition at line 266 of file mythuitype.h.
Referenced by MythUIButtonList::DistributeButtons(), MythUIText::FillCutMessage(), MythUIImage::Load(), MythUIButtonList::MythUIButtonList(), MythUIImage::SetImage(), MythUIImage::SetImages(), SetMinArea(), and SetMinAreaParent().
Definition at line 267 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), ParseElement(), SetMinArea(), SetMinAreaParent(), and VanishSibling().
Definition at line 268 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), Draw(), GetArea(), Pulse(), SetMinArea(), SetMinAreaParent(), and VanishSibling().
Definition at line 269 of file mythuitype.h.
Referenced by SetDependIsDefault(), SetVisible(), and UpdateDependState().
|
protected |
Definition at line 270 of file mythuitype.h.
Referenced by SetReverseDependence(), and UpdateDependState().
|
protected |
Definition at line 272 of file mythuitype.h.
Referenced by AddFocusableChildrenToList(), CopyFrom(), MythScreenType::NextPrevWidgetFocus(), and SetFocusOrder().
|
protected |
Definition at line 274 of file mythuitype.h.
Referenced by MythScreenType::aboutToShow(), AdjustMinArea(), ContainsPoint(), MythUIImage::CopyFrom(), 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(), MythUIButtonTree::Init(), MythUIWebBrowser::Init(), MythUIButtonList::Init(), MythUIText::Layout(), MythUITextEdit::MoveCursor(), MoveTo(), MythScreenType::MythScreenType(), MythUIButtonList::MythUIButtonList(), MythUIText::ParseElement(), MythScreenType::ParseElement(), MythUIImage::ParseElement(), MythUIStateType::RecalculateArea(), RecalculateArea(), MythUIText::SetArea(), SetArea(), MythUIButtonList::SetButtonArea(), SetChildNeedsRedraw(), SetMinArea(), SetMinAreaParent(), Slide::SetPan(), MythUIText::SetPosition(), SetPosition(), MythUIGuideGrid::SetProgPast(), SetRedraw(), SetSize(), and Slide::Slide().
|
protected |
Definition at line 275 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), GetArea(), SetMinArea(), SetMinAreaParent(), and VanishSibling().
|
protected |
Definition at line 276 of file mythuitype.h.
Referenced by AdjustMinArea(), CopyFrom(), MythUIButtonList::DistributeButtons(), MythUIText::FillCutMessage(), GetMinSize(), SetMinArea(), SetMinAreaParent(), SetMinSize(), and VanishSibling().
|
protected |
Definition at line 278 of file mythuitype.h.
Referenced by Draw(), GetDirtyArea(), HandleMovementPulse(), SetArea(), SetChildNeedsRedraw(), SetPosition(), SetRedraw(), and SetSize().
Definition at line 279 of file mythuitype.h.
Referenced by NeedsRedraw(), ResetNeedsRedraw(), SetChildNeedsRedraw(), and SetRedraw().
|
protected |
Definition at line 281 of file mythuitype.h.
Referenced by AdjustAlpha(), CalcAlpha(), CopyFrom(), Draw(), MythUIImage::DrawSelf(), GetAlpha(), HandleAlphaPulse(), ParseElement(), SetAlpha(), SetAngle(), SetCentre(), SetHorizontalZoom(), SetVerticalZoom(), and Slide::SetZoom().
|
protected |
Definition at line 283 of file mythuitype.h.
Referenced by AdjustAlpha(), CopyFrom(), HandleAlphaPulse(), and ParseElement().
|
protected |
Definition at line 284 of file mythuitype.h.
Referenced by AdjustAlpha(), CopyFrom(), HandleAlphaPulse(), and ParseElement().
|
protected |
Definition at line 285 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().
Definition at line 288 of file mythuitype.h.
Referenced by CopyFrom(), HandleMovementPulse(), and MoveTo().
|
protected |
Definition at line 289 of file mythuitype.h.
Referenced by CopyFrom(), HandleMovementPulse(), and MoveTo().
|
protected |
Definition at line 290 of file mythuitype.h.
Referenced by CopyFrom(), HandleMovementPulse(), and MoveTo().
|
protected |
Definition at line 292 of file mythuitype.h.
Referenced by AddFont(), GetFont(), MythUIType(), and ~MythUIType().
|
protected |
Definition at line 294 of file mythuitype.h.
Referenced by MythUIButtonTree::gestureEvent(), GuideGrid::gestureEvent(), MythUIButtonList::gestureEvent(), GetFont(), GetPainter(), IsDeferredLoading(), IsVisible(), MoveToTop(), MythUIType(), MythUIImage::ParseElement(), MythUIStateType::RecalculateArea(), RecalculateArea(), SetArea(), MythUIButtonList::SetButtonArea(), SetChildNeedsRedraw(), SetMinArea(), SetMinAreaParent(), SetMinSize(), SetPosition(), SetRedraw(), SetSize(), and Slide::Slide().
|
protected |
Definition at line 295 of file mythuitype.h.
Referenced by SubtitleScreen::AddScaledImage(), MythBDOverlayScreen::DisplayBDOverlay(), SubtitleScreen::DisplayScaledAVSubtitles(), MythScreenType::GetPainter(), GetPainter(), InteractiveScreen::InteractiveScreen(), MythBDOverlayScreen::MythBDOverlayScreen(), MythOverlayWindow::MythOverlayWindow(), TeletextScreen::OptimiseDisplayedArea(), SubtitleScreen::RenderAssTrack(), SubtitleScreen::SubtitleScreen(), and TeletextScreen::TeletextScreen().
|
protected |
Definition at line 297 of file mythuitype.h.
Referenced by ActivateAnimations(), CopyFrom(), Pulse(), and ~MythUIType().
|
protected |
Definition at line 298 of file mythuitype.h.
Referenced by ParseElement().
|
protected |
Definition at line 300 of file mythuitype.h.
Referenced by CopyFrom().
|
protected |
Definition at line 301 of file mythuitype.h.
Referenced by CopyFrom().
Definition at line 303 of file mythuitype.h.
Referenced by CopyFrom(), MythUIStateType::DisplayState(), IsDeferredLoading(), and MythUIStateType::LoadNow().
|
protected |
Definition at line 305 of file mythuitype.h.
Referenced by Draw(), and MythUIType().