|
MythTV master
|
#include <mythfrontend/videodlg.h>
Public Types | |
| enum | DialogType : std::uint8_t { DLG_DEFAULT = 0 , DLG_BROWSER = 0x1 , DLG_GALLERY = 0x2 , DLG_TREE = 0x4 , DLG_MANAGER = 0x8 , dtLast = 0x9 } |
| enum | BrowseType : std::uint16_t { BRS_FOLDER = 0 , BRS_GENRE = 0x1 , BRS_CATEGORY = 0x2 , BRS_YEAR = 0x4 , BRS_DIRECTOR = 0x8 , BRS_CAST = 0x10 , BRS_USERRATING = 0x20 , BRS_INSERTDATE = 0x40 , BRS_TVMOVIE = 0x80 , BRS_STUDIO = 0x100 , btLast = 0x101 } |
| using | VideoListPtr = simple_ref_ptr< class VideoList > |
| using | VideoListDeathDelayPtr = QPointer< class VideoListDeathDelay > |
Public Slots | |
| void | searchComplete (const QString &string) |
| After using incremental search, move to the selected item. More... | |
| void | playbackStateChanged (const QString &filename) |
Public Slots inherited from MythScreenType | |
| virtual void | Close () |
Public Slots inherited from MythUIType | |
| 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) |
Public Member Functions | |
| VideoDialog (MythScreenStack *lparent, const QString &lname, const VideoListPtr &video_list, DialogType type, BrowseType browse) | |
| ~VideoDialog () override | |
| bool | Create () override |
| bool | keyPressEvent (QKeyEvent *levent) override |
| Handle keypresses and keybindings. More... | |
Public Member Functions inherited from MythScreenType | |
| MythScreenType (MythScreenStack *parent, const QString &name, bool fullscreen=true) | |
| ~MythScreenType () override | |
| virtual bool | Create (void) |
| bool | keyPressEvent (QKeyEvent *event) override |
| Key event handler. More... | |
| bool | inputMethodEvent (QInputMethodEvent *event) override |
| Input Method event handler. More... | |
| bool | gestureEvent (MythGestureEvent *event) override |
| Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More... | |
| virtual void | ShowMenu (void) |
| void | doInit (void) |
| void | LoadInForeground (void) |
| bool | IsInitialized (void) const |
| Has Init() been called on this screen? More... | |
| bool | IsFullscreen (void) const |
| void | SetFullscreen (bool full) |
| MythUIType * | GetFocusWidget (void) const |
| bool | SetFocusWidget (MythUIType *widget=nullptr) |
| virtual bool | NextPrevWidgetFocus (bool up_or_down) |
| void | BuildFocusList (void) |
| MythScreenStack * | GetScreenStack () const |
| virtual void | aboutToHide (void) |
| virtual void | aboutToShow (void) |
| bool | IsDeleting (void) const |
| void | SetDeleting (bool deleting) |
| bool | IsLoading (void) const |
| bool | IsLoaded (void) const |
| MythPainter * | GetPainter (void) override |
Public Member Functions inherited from MythUIComposite | |
| MythUIComposite (QObject *parent, const QString &name) | |
| ~MythUIComposite () override=default | |
| virtual void | SetTextFromMap (const InfoMap &infoMap) |
| virtual void | ResetMap (const InfoMap &infoMap) |
Public Member Functions inherited from MythUIType | |
| 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 |
Static Public Member Functions | |
| static VideoListDeathDelayPtr & | GetSavedVideoList () |
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) |
Protected Slots | |
| void | Init () override |
| void | Load () override |
| Called after the screen is created by MythScreenStack. More... | |
| void | scanFinished (bool dbChanged) |
| void | reloadData () |
| Reloads the tree after having invalidated the data. More... | |
| void | refreshData () |
| Reloads the tree without invalidating the data. More... | |
| void | UpdateItem (MythUIButtonListItem *item) |
| Update the visible representation of a MythUIButtonListItem. More... | |
Protected Member Functions | |
| void | customEvent (QEvent *levent) override |
| virtual MythUIButtonListItem * | GetItemCurrent () |
| virtual MythUIButtonListItem * | GetItemByMetadata (VideoMetadata *metadata) |
| virtual void | loadData () |
| load the data used to build the ButtonTree/List for MythVideo. More... | |
| void | fetchVideos () |
| Build the buttonlist/tree. More... | |
| QString | GetFirstImage (MythGenericTree *node, const QString &type, const QString &gpnode=QString(), int levels=0) |
| Find the first image of "type" within a folder structure. More... | |
| void | handleDirSelect (MythGenericTree *node) |
| Descend into a selected folder. More... | |
| void | handleDynamicDirSelect (MythGenericTree *node) |
| Request the latest metadata for a folder. More... | |
| bool | goBack () |
| Move one level up in the tree. More... | |
| void | setParentalLevel (ParentalLevel::Level level) |
| Set the parental level for the library. More... | |
| void | shiftParental (int amount) |
| Shift the parental level for the library by an integer amount. More... | |
| bool | createPopup () |
| void | createBusyDialog (const QString &title) |
| Create a busy dialog, used during metadata search, etc. More... | |
| void | createFetchDialog (VideoMetadata *metadata) |
| Create a fetch notification, used during metadata search. More... | |
| void | dismissFetchDialog (VideoMetadata *metadata, bool ok) |
| void | createOkDialog (const QString &title) |
| Create a MythUI "OK" Dialog. More... | |
| void | SwitchLayout (DialogType type, BrowseType browse) |
| Handle a layout or browse mode switch. More... | |
| void | StartVideoImageSet (VideoMetadata *metadata) |
| void | SavePosition (void) |
Protected Member Functions inherited from MythScreenType | |
| MythScreenType (MythUIType *parent, const QString &name, bool fullscreen=true) | |
| void | CopyFrom (MythUIType *base) override |
| Copy this widgets state from another. More... | |
| void | CreateCopy (MythUIType *parent) override |
| Copy the state of this widget to the one given, it must be of the same type. More... | |
| bool | ParseElement (const QString &filename, QDomElement &element, bool showWarnings) override |
| Parse the xml definition of this widget setting the state of the object accordingly. More... | |
| virtual void | Load (void) |
| Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning) More... | |
| virtual void | Init (void) |
| Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load() More... | |
| void | LoadInBackground (const QString &message="") |
| void | ReloadInBackground (void) |
| void | OpenBusyPopup (const QString &message="") |
| void | CloseBusyPopup (void) |
| void | SetBusyPopupMessage (const QString &message) |
| void | ResetBusyPopup (void) |
Protected Member Functions inherited from MythUIType | |
| ~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 QString | RemoteImageCheck (const QString &host, const QString &filename) |
| Search for a given (image) filename in the Video SG. More... | |
| static QString | GetCoverImage (MythGenericTree *node) |
| A "hunt" for cover art to apply for a folder item. More... | |
| static QString | GetScreenshot (MythGenericTree *node) |
| Find the Screenshot for a given node. More... | |
| static QString | GetBanner (MythGenericTree *node) |
| Find the Banner for a given node. More... | |
| static QString | GetFanart (MythGenericTree *node) |
| Find the Fanart for a given node. More... | |
| static VideoMetadata * | GetMetadata (MythUIButtonListItem *item) |
| Retrieve the Database Metadata for a given MythUIButtonListItem. More... | |
Static Protected Member Functions inherited from MythUIType | |
| static int | NormX (int width) |
| static int | NormY (int height) |
Private Slots | |
| void | UpdatePosition () |
| Called after the screen is created by MythScreenStack. More... | |
| void | UpdateVisible (MythUIButtonListItem *item) |
| Update playback state for for a given visible ButtonListItem. More... | |
| static void | UpdateWatchedState (MythUIButtonListItem *item) |
| Update the watched state for a given ButtonListItem from the database. More... | |
| void | UpdateText (MythUIButtonListItem *item) |
| Update the visible text values for a given ButtonListItem. More... | |
| void | handleSelect (MythUIButtonListItem *item) |
| Handle SELECT action for a given MythUIButtonListItem. More... | |
| void | SetCurrentNode (MythGenericTree *node) |
| Switch to a given MythGenericTree node. More... | |
| void | playVideo () |
| Play the selected item. More... | |
| void | playVideoAlt () |
| Play the selected item in an alternate player. More... | |
| void | playFolder () |
| Play all the items in the selected folder. More... | |
| void | playVideoWithTrailers () |
| Play the selected item w/ a User selectable # of trailers. More... | |
| void | playTrailer () |
| Play the trailer associated with the selected item. More... | |
| void | SwitchTree () |
| Switch to Tree (List) View. More... | |
| void | SwitchGallery () |
| Switch to Gallery View. More... | |
| void | SwitchBrowse () |
| Switch to Browser View. More... | |
| void | SwitchManager () |
| Switch to Video Manager View. More... | |
| void | SwitchVideoFolderGroup () |
| Switch to Folder (filesystem) browse mode. More... | |
| void | SwitchVideoGenreGroup () |
| Switch to Genre browse mode. More... | |
| void | SwitchVideoCategoryGroup () |
| Switch to Category browse mode. More... | |
| void | SwitchVideoYearGroup () |
| Switch to Year browse mode. More... | |
| void | SwitchVideoDirectorGroup () |
| Switch to Director browse mode. More... | |
| void | SwitchVideoStudioGroup () |
| Switch to Studio browse mode. More... | |
| void | SwitchVideoCastGroup () |
| Switch to Cast browse mode. More... | |
| void | SwitchVideoUserRatingGroup () |
| Switch to User Rating browse mode. More... | |
| void | SwitchVideoInsertDateGroup () |
| Switch to Insert Date browse mode. More... | |
| void | SwitchVideoTVMovieGroup () |
| Switch to Television/Movie browse mode. More... | |
| void | EditMetadata () |
| void | VideoSearch (MythGenericTree *node, bool automode=false) |
| void | VideoSearch () |
| void | VideoAutoSearch (MythGenericTree *node) |
| void | VideoAutoSearch () |
| void | ResetMetadata () |
| void | ToggleWatched () |
| void | ToggleProcess () |
| void | RemoveVideo () |
| void | OnRemoveVideo (bool dodelete) |
| void | VideoMenu () |
| Pop up a MythUI "Playback Menu" for MythVideo. More... | |
| MythMenu * | CreateInfoMenu () |
| Create a MythMenu for Info pertaining to the selected item. More... | |
| MythMenu * | CreateManageMenu () |
| Create a MythMenu for metadata management. More... | |
| MythMenu * | CreatePlayMenu () |
| Create a "Play Menu" for MythVideo. More... | |
| void | DisplayMenu () |
| Pop up a MythUI Menu for MythVideo Global Functions. More... | |
| MythMenu * | CreateViewMenu () |
| Create a MythMenu for MythVideo Views. More... | |
| MythMenu * | CreateSettingsMenu () |
| Create a MythMenu for MythVideo Settings. More... | |
| MythMenu * | CreateMetadataBrowseMenu () |
| Create a MythMenu for MythVideo Metadata Browse modes. More... | |
| void | popupClosed (const QString &which, int result) |
| void | PromptToScan () |
| void | ChangeFilter () |
| Change the filtering of the library. More... | |
| void | ToggleBrowseMode () |
| Toggle the browseable status for the selected item. More... | |
| void | ToggleFlatView () |
| Toggle Flat View. More... | |
| void | ViewPlot () |
| Display a MythUI Popup with the selected item's plot. More... | |
| void | ShowCastDialog () |
| Display the Cast if the selected item. More... | |
| void | ShowHomepage () |
| bool | DoItemDetailShow () |
| Display the Item Detail Popup. More... | |
| void | DoItemDetailShow2 () |
| void | ShowPlayerSettings () |
| Pop up a MythUI Menu for MythVideo Player Settings. More... | |
| void | ShowExtensionSettings () |
| Pop up a MythUI Menu for MythVideo filte Type Settings. More... | |
| void | ShowMetadataSettings () |
| Pop up a MythUI Menu for MythVideo Metadata Settings. More... | |
| void | OnParentalChange (int amount) |
| void | OnVideoSearchListSelection (RefCountHandler< MetadataLookup > lookup) |
| void | doVideoScan () |
| void | OnVideoImageSetDone (VideoMetadata *metadata) |
| void | OnVideoSearchDone (MetadataLookup *lookup) |
| void | OnPlaybackStopped () |
Private Member Functions | |
| void | searchStart () |
| Create an incremental search dialog for the current tree level. More... | |
Private Attributes | |
| MythDialogBox * | m_menuPopup {nullptr} |
| MythUIBusyDialog * | m_busyPopup {nullptr} |
| MythScreenStack * | m_popupStack {nullptr} |
| MythScreenStack * | m_mainStack {nullptr} |
| MythUIButtonList * | m_videoButtonList {nullptr} |
| MythUIButtonTree * | m_videoButtonTree {nullptr} |
| MythUIText * | m_titleText {nullptr} |
| MythUIText * | m_novideoText {nullptr} |
| MythUIText * | m_positionText {nullptr} |
| MythUIText * | m_crumbText {nullptr} |
| MythUIImage * | m_coverImage {nullptr} |
| MythUIImage * | m_screenshot {nullptr} |
| MythUIImage * | m_banner {nullptr} |
| MythUIImage * | m_fanart {nullptr} |
| MythUIStateType * | m_trailerState {nullptr} |
| MythUIStateType * | m_parentalLevelState {nullptr} |
| MythUIStateType * | m_videoLevelState {nullptr} |
| MythUIStateType * | m_userRatingState {nullptr} |
| MythUIStateType * | m_watchedState {nullptr} |
| MythUIStateType * | m_studioState {nullptr} |
| MythUIStateType * | m_bookmarkState {nullptr} |
| MetadataFactory * | m_metadataFactory {nullptr} |
| class VideoDialogPrivate * | m_d {nullptr} |
Definition at line 32 of file videodlg.h.
| using VideoDialog::VideoListDeathDelayPtr = QPointer<class VideoListDeathDelay> |
Definition at line 48 of file videodlg.h.
| using VideoDialog::VideoListPtr = simple_ref_ptr<class VideoList> |
Definition at line 47 of file videodlg.h.
| Enumerator | |
|---|---|
| BRS_FOLDER | |
| BRS_GENRE | |
| BRS_CATEGORY | |
| BRS_YEAR | |
| BRS_DIRECTOR | |
| BRS_CAST | |
| BRS_USERRATING | |
| BRS_INSERTDATE | |
| BRS_TVMOVIE | |
| BRS_STUDIO | |
| btLast | |
Definition at line 41 of file videodlg.h.
| enum VideoDialog::DialogType : std::uint8_t |
| Enumerator | |
|---|---|
| DLG_DEFAULT | |
| DLG_BROWSER | |
| DLG_GALLERY | |
| DLG_TREE | |
| DLG_MANAGER | |
| dtLast | |
Definition at line 37 of file videodlg.h.
| VideoDialog::VideoDialog | ( | MythScreenStack * | lparent, |
| const QString & | lname, | ||
| const VideoListPtr & | video_list, | ||
| DialogType | type, | ||
| BrowseType | browse | ||
| ) |
Definition at line 884 of file videodlg.cpp.
Referenced by SwitchLayout().
|
override |
Definition at line 930 of file videodlg.cpp.
|
privateslot |
Change the filtering of the library.
Definition at line 3271 of file videodlg.cpp.
Referenced by DisplayMenu(), and keyPressEvent().
|
overridevirtual |
Reimplemented from MythScreenType.
Definition at line 964 of file videodlg.cpp.
|
protected |
Create a busy dialog, used during metadata search, etc.
Definition at line 2071 of file videodlg.cpp.
|
protected |
Create a fetch notification, used during metadata search.
Definition at line 2089 of file videodlg.cpp.
Referenced by VideoSearch().
|
privateslot |
Create a MythMenu for Info pertaining to the selected item.
Definition at line 2701 of file videodlg.cpp.
Referenced by VideoMenu().
|
privateslot |
Create a MythMenu for metadata management.
Definition at line 2728 of file videodlg.cpp.
Referenced by VideoMenu().
|
privateslot |
Create a MythMenu for MythVideo Metadata Browse modes.
Definition at line 2658 of file videodlg.cpp.
Referenced by DisplayMenu().
|
protected |
|
privateslot |
Create a "Play Menu" for MythVideo.
Appears if multiple play options exist.
Definition at line 2481 of file videodlg.cpp.
Referenced by VideoMenu().
|
protected |
|
privateslot |
Create a MythMenu for MythVideo Settings.
Definition at line 2599 of file videodlg.cpp.
Referenced by DisplayMenu().
|
privateslot |
Create a MythMenu for MythVideo Views.
Definition at line 2563 of file videodlg.cpp.
Referenced by DisplayMenu().
|
overrideprotected |
Definition at line 3307 of file videodlg.cpp.
|
protected |
Definition at line 2111 of file videodlg.cpp.
Referenced by customEvent(), OnVideoImageSetDone(), and OnVideoSearchDone().
|
privateslot |
Pop up a MythUI Menu for MythVideo Global Functions.
Bound to MENU.
Definition at line 2519 of file videodlg.cpp.
Referenced by keyPressEvent().
|
privateslot |
Display the Item Detail Popup.
Definition at line 3016 of file videodlg.cpp.
Referenced by DoItemDetailShow2(), handleSelect(), and keyPressEvent().
|
inlineprivateslot |
Definition at line 135 of file videodlg.h.
Referenced by CreateInfoMenu().
|
privateslot |
Definition at line 3847 of file videodlg.cpp.
Referenced by customEvent(), and DisplayMenu().
|
privateslot |
Definition at line 3567 of file videodlg.cpp.
Referenced by CreateManageMenu(), and keyPressEvent().
|
protected |
Build the buttonlist/tree.
Definition at line 1383 of file videodlg.cpp.
Referenced by refreshData().
|
staticprotected |
Find the Banner for a given node.
Definition at line 1890 of file videodlg.cpp.
Referenced by UpdateItem().
|
staticprotected |
A "hunt" for cover art to apply for a folder item.
Definition at line 1485 of file videodlg.cpp.
Referenced by UpdateItem().
|
staticprotected |
Find the Fanart for a given node.
Definition at line 1925 of file videodlg.cpp.
Referenced by UpdateItem().
|
protected |
Find the first image of "type" within a folder structure.
Will try immediate children (files) first, if no hits, will continue through subfolders recursively. Will only return a value on a grandchild node if it matches the grandparent title, eg:
Lost->Season 1->Lost
Definition at line 1717 of file videodlg.cpp.
Referenced by GetFirstImage(), UpdateItem(), and UpdateText().
|
protectedvirtual |
Definition at line 3424 of file videodlg.cpp.
Referenced by OnVideoImageSetDone(), and OnVideoSearchDone().
|
protectedvirtual |
Definition at line 3414 of file videodlg.cpp.
Referenced by CreateInfoMenu(), CreateManageMenu(), CreatePlayMenu(), DoItemDetailShow(), EditMetadata(), keyPressEvent(), OnParentalChange(), OnPlaybackStopped(), OnRemoveVideo(), playbackStateChanged(), playFolder(), playTrailer(), playVideo(), playVideoAlt(), playVideoWithTrailers(), RemoveVideo(), ResetMetadata(), ShowCastDialog(), ShowHomepage(), ToggleProcess(), ToggleWatched(), UpdateItem(), UpdatePosition(), VideoMenu(), VideoSearch(), and ViewPlot().
|
staticprotected |
Retrieve the Database Metadata for a given MythUIButtonListItem.
Definition at line 3288 of file videodlg.cpp.
Referenced by CreateInfoMenu(), CreateManageMenu(), CreatePlayMenu(), DoItemDetailShow(), EditMetadata(), keyPressEvent(), OnParentalChange(), OnPlaybackStopped(), OnRemoveVideo(), playbackStateChanged(), playTrailer(), playVideo(), playVideoAlt(), playVideoWithTrailers(), RemoveVideo(), ResetMetadata(), ShowCastDialog(), ShowHomepage(), ToggleProcess(), ToggleWatched(), UpdateItem(), UpdateText(), UpdateVisible(), UpdateWatchedState(), VideoMenu(), and ViewPlot().
|
static |
Definition at line 879 of file videodlg.cpp.
Referenced by RunVideoScreen().
|
staticprotected |
Find the Screenshot for a given node.
Definition at line 1850 of file videodlg.cpp.
Referenced by UpdateItem().
|
protected |
Move one level up in the tree.
Definition at line 2247 of file videodlg.cpp.
Referenced by handleSelect(), and keyPressEvent().
|
protected |
Descend into a selected folder.
Definition at line 2790 of file videodlg.cpp.
Referenced by handleSelect().
|
protected |
Request the latest metadata for a folder.
Definition at line 2800 of file videodlg.cpp.
Referenced by handleSelect().
|
privateslot |
Handle SELECT action for a given MythUIButtonListItem.
Definition at line 2812 of file videodlg.cpp.
Referenced by Create().
|
overrideprotectedslot |
Definition at line 1111 of file videodlg.cpp.
|
overridevirtual |
Handle keypresses and keybindings.
Reimplemented from MythScreenType.
Definition at line 1960 of file videodlg.cpp.
Referenced by keyPressEvent().
|
overrideprotectedslot |
Called after the screen is created by MythScreenStack.
Definition at line 1117 of file videodlg.cpp.
|
protectedvirtual |
load the data used to build the ButtonTree/List for MythVideo.
Definition at line 1182 of file videodlg.cpp.
Referenced by goBack(), handleDirSelect(), and refreshData().
|
privateslot |
Definition at line 3549 of file videodlg.cpp.
|
privateslot |
Definition at line 917 of file videodlg.cpp.
Referenced by VideoDialog().
|
privateslot |
Definition at line 3604 of file videodlg.cpp.
Referenced by RemoveVideo().
|
privateslot |
Definition at line 3401 of file videodlg.cpp.
Referenced by StartVideoImageSet().
|
privateslot |
Definition at line 3730 of file videodlg.cpp.
Referenced by customEvent(), and OnVideoSearchListSelection().
|
privateslot |
Definition at line 3520 of file videodlg.cpp.
Referenced by customEvent().
|
slot |
Definition at line 906 of file videodlg.cpp.
|
privateslot |
Play all the items in the selected folder.
Definition at line 3116 of file videodlg.cpp.
Referenced by VideoMenu().
|
privateslot |
Play the trailer associated with the selected item.
Definition at line 3229 of file videodlg.cpp.
Referenced by CreatePlayMenu().
|
privateslot |
Play the selected item.
Definition at line 3094 of file videodlg.cpp.
Referenced by CreatePlayMenu(), handleSelect(), keyPressEvent(), and VideoMenu().
|
privateslot |
Play the selected item in an alternate player.
Definition at line 3105 of file videodlg.cpp.
Referenced by CreatePlayMenu(), and keyPressEvent().
|
privateslot |
Play the selected item w/ a User selectable # of trailers.
Definition at line 3196 of file videodlg.cpp.
Referenced by CreatePlayMenu().
|
privateslot |
Definition at line 2548 of file videodlg.cpp.
Referenced by DisplayMenu(), and VideoMenu().
|
privateslot |
Definition at line 3855 of file videodlg.cpp.
Referenced by Load().
|
protectedslot |
Reloads the tree without invalidating the data.
Definition at line 1130 of file videodlg.cpp.
Referenced by EditMetadata(), OnParentalChange(), reloadData(), and ToggleProcess().
|
protectedslot |
Reloads the tree after having invalidated the data.
Definition at line 1172 of file videodlg.cpp.
Referenced by ChangeFilter(), handleDynamicDirSelect(), Init(), Load(), scanFinished(), ToggleBrowseMode(), and ToggleFlatView().
|
staticprotected |
Search for a given (image) filename in the Video SG.
Definition at line 1429 of file videodlg.cpp.
Referenced by GetCoverImage().
|
privateslot |
Definition at line 3585 of file videodlg.cpp.
Referenced by keyPressEvent(), and VideoMenu().
|
privateslot |
Definition at line 3639 of file videodlg.cpp.
Referenced by CreateManageMenu().
|
protected |
Definition at line 940 of file videodlg.cpp.
Referenced by SwitchLayout(), and ~VideoDialog().
|
protectedslot |
Definition at line 1145 of file videodlg.cpp.
Referenced by doVideoScan().
|
slot |
After using incremental search, move to the selected item.
Definition at line 2169 of file videodlg.cpp.
Referenced by searchStart().
|
private |
Create an incremental search dialog for the current tree level.
Definition at line 2209 of file videodlg.cpp.
Referenced by keyPressEvent().
|
privateslot |
Switch to a given MythGenericTree node.
Definition at line 2271 of file videodlg.cpp.
Referenced by Create(), fetchVideos(), goBack(), handleDirSelect(), and loadData().
|
protected |
Set the parental level for the library.
Definition at line 3252 of file videodlg.cpp.
Referenced by keyPressEvent(), and shiftParental().
|
protected |
Shift the parental level for the library by an integer amount.
Definition at line 3261 of file videodlg.cpp.
Referenced by keyPressEvent().
|
privateslot |
Display the Cast if the selected item.
Definition at line 3040 of file videodlg.cpp.
Referenced by CreateInfoMenu().
|
privateslot |
Pop up a MythUI Menu for MythVideo filte Type Settings.
Definition at line 2644 of file videodlg.cpp.
Referenced by CreateSettingsMenu().
|
privateslot |
Definition at line 3050 of file videodlg.cpp.
Referenced by CreateInfoMenu().
|
privateslot |
Pop up a MythUI Menu for MythVideo Metadata Settings.
Definition at line 2630 of file videodlg.cpp.
Referenced by CreateSettingsMenu().
|
privateslot |
Pop up a MythUI Menu for MythVideo Player Settings.
Definition at line 2616 of file videodlg.cpp.
Referenced by CreateSettingsMenu().
|
protected |
Definition at line 3652 of file videodlg.cpp.
Referenced by OnVideoSearchDone().
|
privateslot |
Switch to Browser View.
Definition at line 2864 of file videodlg.cpp.
Referenced by CreateViewMenu().
|
privateslot |
Switch to Gallery View.
Definition at line 2855 of file videodlg.cpp.
Referenced by CreateViewMenu().
|
protected |
Handle a layout or browse mode switch.
Definition at line 2972 of file videodlg.cpp.
Referenced by SwitchBrowse(), SwitchGallery(), SwitchManager(), SwitchTree(), SwitchVideoCastGroup(), SwitchVideoCategoryGroup(), SwitchVideoDirectorGroup(), SwitchVideoFolderGroup(), SwitchVideoGenreGroup(), SwitchVideoInsertDateGroup(), SwitchVideoStudioGroup(), SwitchVideoTVMovieGroup(), SwitchVideoUserRatingGroup(), and SwitchVideoYearGroup().
|
privateslot |
Switch to Video Manager View.
Definition at line 2873 of file videodlg.cpp.
Referenced by CreateViewMenu().
|
privateslot |
Switch to Tree (List) View.
Definition at line 2846 of file videodlg.cpp.
Referenced by CreateViewMenu().
|
privateslot |
Switch to Cast browse mode.
Definition at line 2936 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Category browse mode.
Definition at line 2900 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Director browse mode.
Definition at line 2918 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Folder (filesystem) browse mode.
Definition at line 2882 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Genre browse mode.
Definition at line 2891 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Insert Date browse mode.
Definition at line 2954 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Studio browse mode.
Definition at line 2927 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Television/Movie browse mode.
Definition at line 2963 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to User Rating browse mode.
Definition at line 2945 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Switch to Year browse mode.
Definition at line 2909 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
|
privateslot |
Toggle the browseable status for the selected item.
Definition at line 2763 of file videodlg.cpp.
Referenced by CreateViewMenu().
|
privateslot |
Toggle Flat View.
Definition at line 2775 of file videodlg.cpp.
Referenced by CreateViewMenu().
|
privateslot |
Definition at line 2747 of file videodlg.cpp.
Referenced by CreateManageMenu().
|
privateslot |
Definition at line 3504 of file videodlg.cpp.
Referenced by VideoMenu().
|
protectedslot |
Update the visible representation of a MythUIButtonListItem.
Definition at line 1289 of file videodlg.cpp.
Referenced by loadData(), OnVideoImageSetDone(), OnVideoSearchDone(), and ResetMetadata().
|
privateslot |
Called after the screen is created by MythScreenStack.
Update the "x of y" textarea to curent position.
Definition at line 2283 of file videodlg.cpp.
Referenced by loadData(), and UpdateText().
|
privateslot |
Update the visible text values for a given ButtonListItem.
Definition at line 2316 of file videodlg.cpp.
Referenced by Create(), OnPlaybackStopped(), playbackStateChanged(), and UpdateItem().
|
privateslot |
Update playback state for for a given visible ButtonListItem.
Definition at line 2300 of file videodlg.cpp.
Referenced by Create().
|
staticprivateslot |
Update the watched state for a given ButtonListItem from the database.
The player could have updated the watched state of a video after watching. We load the metadata of the current item from the database and sync the watched state of the current item if it was changed by the player.
Definition at line 2388 of file videodlg.cpp.
Referenced by OnPlaybackStopped().
|
inlineprivateslot |
Definition at line 106 of file videodlg.h.
Referenced by DisplayMenu(), scanFinished(), and VideoAutoSearch().
|
privateslot |
Definition at line 3476 of file videodlg.cpp.
|
privateslot |
Pop up a MythUI "Playback Menu" for MythVideo.
Bound to INFO.
Definition at line 2412 of file videodlg.cpp.
Referenced by keyPressEvent(), and popupClosed().
|
inlineprivateslot |
Definition at line 104 of file videodlg.h.
Referenced by CreateManageMenu(), keyPressEvent(), VideoAutoSearch(), and VideoSearch().
|
privateslot |
Definition at line 3454 of file videodlg.cpp.
|
privateslot |
Display a MythUI Popup with the selected item's plot.
Definition at line 3002 of file videodlg.cpp.
Referenced by CreateInfoMenu().
|
private |
Definition at line 211 of file videodlg.h.
Referenced by Create(), and UpdateText().
|
private |
Definition at line 220 of file videodlg.h.
Referenced by Create().
|
private |
Definition at line 196 of file videodlg.h.
Referenced by createBusyDialog().
|
private |
Definition at line 209 of file videodlg.h.
Referenced by Create(), and UpdateText().
|
private |
Definition at line 207 of file videodlg.h.
Referenced by Create(), and UpdateText().
|
private |
Definition at line 224 of file videodlg.h.
Referenced by ChangeFilter(), Create(), createFetchDialog(), CreateMetadataBrowseMenu(), CreatePlayMenu(), CreateViewMenu(), dismissFetchDialog(), DoItemDetailShow(), doVideoScan(), EditMetadata(), fetchVideos(), GetItemByMetadata(), goBack(), handleDynamicDirSelect(), handleSelect(), Init(), keyPressEvent(), Load(), loadData(), OnPlaybackStopped(), OnRemoveVideo(), OnVideoSearchDone(), playbackStateChanged(), playFolder(), playVideo(), playVideoAlt(), playVideoWithTrailers(), refreshData(), reloadData(), SavePosition(), scanFinished(), searchComplete(), searchStart(), SetCurrentNode(), setParentalLevel(), shiftParental(), StartVideoImageSet(), SwitchBrowse(), SwitchGallery(), SwitchLayout(), SwitchManager(), SwitchTree(), SwitchVideoCastGroup(), SwitchVideoCategoryGroup(), SwitchVideoDirectorGroup(), SwitchVideoFolderGroup(), SwitchVideoGenreGroup(), SwitchVideoInsertDateGroup(), SwitchVideoStudioGroup(), SwitchVideoTVMovieGroup(), SwitchVideoUserRatingGroup(), SwitchVideoYearGroup(), ToggleBrowseMode(), ToggleFlatView(), UpdateItem(), UpdateText(), UpdateVisible(), VideoAutoSearch(), VideoDialog(), VideoMenu(), and ~VideoDialog().
|
private |
Definition at line 212 of file videodlg.h.
Referenced by Create(), and UpdateText().
|
private |
Definition at line 198 of file videodlg.h.
Referenced by ShowExtensionSettings(), ShowMetadataSettings(), and ShowPlayerSettings().
|
private |
Definition at line 195 of file videodlg.h.
Referenced by customEvent(), DisplayMenu(), keyPressEvent(), popupClosed(), and VideoMenu().
|
private |
Definition at line 222 of file videodlg.h.
Referenced by OnVideoSearchListSelection(), and VideoSearch().
|
private |
Definition at line 204 of file videodlg.h.
Referenced by Create(), and refreshData().
|
private |
Definition at line 215 of file videodlg.h.
Referenced by Create(), and refreshData().
|
private |
Definition at line 197 of file videodlg.h.
Referenced by createBusyDialog(), createOkDialog(), customEvent(), DisplayMenu(), OnRemoveVideo(), PromptToScan(), RemoveVideo(), ShowCastDialog(), VideoMenu(), and ViewPlot().
|
private |
Definition at line 206 of file videodlg.h.
Referenced by Create(), and UpdatePosition().
|
private |
Definition at line 210 of file videodlg.h.
Referenced by Create(), and UpdateText().
|
private |
Definition at line 219 of file videodlg.h.
Referenced by Create().
|
private |
Definition at line 203 of file videodlg.h.
Referenced by Create(), and UpdateText().
|
private |
Definition at line 214 of file videodlg.h.
Referenced by Create().
|
private |
Definition at line 217 of file videodlg.h.
|
private |
Definition at line 200 of file videodlg.h.
Referenced by Create(), GetItemByMetadata(), GetItemCurrent(), loadData(), OnRemoveVideo(), SavePosition(), and searchComplete().
|
private |
Definition at line 201 of file videodlg.h.
Referenced by Create(), GetItemByMetadata(), GetItemCurrent(), handleDynamicDirSelect(), loadData(), OnRemoveVideo(), SavePosition(), and searchComplete().
|
private |
Definition at line 216 of file videodlg.h.
|
private |
Definition at line 218 of file videodlg.h.
Referenced by Create().