MythTV  master
videodlg.h
Go to the documentation of this file.
1 #ifndef VIDEODLG_H_
2 #define VIDEODLG_H_
3 
4 #include <QPointer>
5 #include <QStringList>
6 
7 #include "mythscreentype.h"
8 #include "metadatacommon.h"
9 
10 #include "parentalcontrols.h"
11 #include "quicksp.h"
12 
13 class MythUIText;
14 class MythUIButtonList;
15 class MythUIButtonTree;
17 class MythUIBusyDialog;
18 class MythUIImage;
19 class MythUIStateType;
20 class MythDialogBox;
21 class MythGenericTree;
22 class MetadataFactory;
23 class VideoMetadata;
24 class VideoScanner;
25 class MythMenu;
26 
27 class QUrl;
28 
30 
32 {
33  Q_OBJECT
34 
35  public:
36  enum DialogType { DLG_DEFAULT = 0, DLG_BROWSER = 0x1, DLG_GALLERY = 0x2,
37  DLG_TREE = 0x4, DLG_MANAGER = 0x8, dtLast };
38 
39  enum BrowseType { BRS_FOLDER = 0, BRS_GENRE = 0x1, BRS_CATEGORY = 0x2,
40  BRS_YEAR = 0x4, BRS_DIRECTOR = 0x8, BRS_CAST = 0x10,
42  BRS_TVMOVIE = 0x80, BRS_STUDIO = 0x100, btLast };
43 
45  using VideoListDeathDelayPtr = QPointer<class VideoListDeathDelay>;
46 
48 
49  public:
50  VideoDialog(MythScreenStack *lparent, const QString& lname,
51  const VideoListPtr& video_list, DialogType type,
52  BrowseType browse);
53  ~VideoDialog() override;
54 
55  bool Create() override; // MythScreenType
56  bool keyPressEvent(QKeyEvent *levent) override; // MythScreenType
57 
58  private:
59  void searchStart();
60 
61  public slots:
62  void searchComplete(const QString& string);
63 
64  protected slots:
65  void Init() override;
66  void Load() override;
67 
68  private slots:
69  void UpdatePosition();
70  void UpdateText(MythUIButtonListItem *item);
72  void SetCurrentNode(MythGenericTree *node);
73 
74  void playVideo();
75  void playVideoAlt();
76  void playFolder();
77  void playVideoWithTrailers();
78  void playTrailer();
79 
80  void SwitchTree();
81  void SwitchGallery();
82  void SwitchBrowse();
83  void SwitchManager();
85  void SwitchVideoGenreGroup();
87  void SwitchVideoYearGroup();
90  void SwitchVideoCastGroup();
94 
95  void EditMetadata();
96  void VideoSearch(MythGenericTree *node,
97  bool automode = false);
98  void VideoSearch() { VideoSearch(nullptr, false); }
99  void VideoAutoSearch(MythGenericTree *node);
100  void VideoAutoSearch() { VideoAutoSearch(nullptr); }
101  void ResetMetadata();
102  void ToggleWatched();
103  void ToggleProcess();
104  void RemoveVideo();
105  void OnRemoveVideo(bool dodelete);
106 
107  void VideoMenu();
111  void DisplayMenu();
115 
116  void popupClosed(const QString& which, int result);
117 
118  void PromptToScan();
119 
120  void ChangeFilter();
121 
122  void ToggleBrowseMode();
123  void ToggleFlatView();
124 
125  void ViewPlot();
126  void ShowCastDialog();
127  void ShowHomepage();
128  bool DoItemDetailShow();
129  void DoItemDetailShow2() { static_cast<void>(DoItemDetailShow()); }
130  void ShowPlayerSettings();
131  void ShowExtensionSettings();
132  void ShowMetadataSettings();
133 
134  void OnParentalChange(int amount);
135 
136  // Called when the underlying data for an item changes
138 
139  void doVideoScan();
140 
141  protected slots:
142  void scanFinished(bool dbChanged);
143  void reloadData();
144  void refreshData();
145  void UpdateItem(MythUIButtonListItem *item);
146 
147  protected:
148  void customEvent(QEvent *levent) override; // MythUIType
149 
152 
153  virtual void loadData();
154  void fetchVideos();
155  static QString RemoteImageCheck(const QString& host, const QString& filename);
156  static QString GetCoverImage(MythGenericTree *node);
157  QString GetFirstImage(MythGenericTree *node, const QString& type,
158  const QString& gpnode = QString(), int levels = 0);
159  static QString GetImageFromFolder(VideoMetadata *metadata);
160  static QString GetScreenshot(MythGenericTree *node);
161  static QString GetBanner(MythGenericTree *node);
162  static QString GetFanart(MythGenericTree *node);
163 
165 
166  void handleDirSelect(MythGenericTree *node);
168  bool goBack();
170  void shiftParental(int amount);
171  bool createPopup();
172  void createBusyDialog(const QString &title);
173  void createFetchDialog(VideoMetadata *metadata);
174  void dismissFetchDialog(VideoMetadata *metadata, bool ok);
175  void createOkDialog(const QString& title);
176 
177  void SwitchLayout(DialogType type, BrowseType browse);
178 
179  void StartVideoImageSet(VideoMetadata *metadata);
180 
181  void SavePosition(void);
182 
183  private slots:
184 
185  void OnVideoImageSetDone(VideoMetadata *metadata);
186  void OnVideoSearchDone(MetadataLookup *lookup);
187 
188  private:
193 
196 
199 
202 
205  MythUIImage *m_banner {nullptr};
206  MythUIImage *m_fanart {nullptr};
207 
214 
216 
217  class VideoDialogPrivate *m_d {nullptr};
218 };
219 
220 class VideoListDeathDelay : public QObject
221 {
222  Q_OBJECT
223 
224  public:
225  explicit VideoListDeathDelay(const VideoDialog::VideoListPtr& toSave);
226  ~VideoListDeathDelay() override;
227 
229  // When exiting MythVideo, we delay destroying the data for kDelayTimeMS
230  // milliseconds, and reuse the data (possibly avoiding a rescan) if the user
231  // restarts MythVideo within that time period.
232  static const int kDelayTimeMS = 3000;
233 
234  private slots:
235  void OnTimeUp();
236 
237  private:
238  class VideoListDeathDelayPrivate *m_d {nullptr};
239 };
240 
241 #endif
VideoDialog::GetBanner
static QString GetBanner(MythGenericTree *node)
Find the Banner for a given node.
Definition: videodlg.cpp:1941
VideoMetadata
Definition: videometadata.h:24
esTimeout
@ esTimeout
Definition: videodlg.h:29
VideoDialog::m_d
class VideoDialogPrivate * m_d
Definition: videodlg.h:217
RefCountHandler
Definition: referencecounterlist.h:17
VideoDialog::CreateMetadataBrowseMenu
MythMenu * CreateMetadataBrowseMenu()
Create a MythMenu for MythVideo Metadata Browse modes.
Definition: videodlg.cpp:2639
VideoDialog::OnVideoImageSetDone
void OnVideoImageSetDone(VideoMetadata *metadata)
Definition: videodlg.cpp:3387
VideoDialog::GetImageFromFolder
static QString GetImageFromFolder(VideoMetadata *metadata)
Attempt to find/fallback a cover image for a given metadata item.
Definition: videodlg.cpp:1409
VideoDialog::playVideoAlt
void playVideoAlt()
Play the selected item in an alternate player.
Definition: videodlg.cpp:3086
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:97
VideoDialog::CreateSettingsMenu
MythMenu * CreateSettingsMenu()
Create a MythMenu for MythVideo Settings.
Definition: videodlg.cpp:2580
VideoDialog::BRS_USERRATING
@ BRS_USERRATING
Definition: videodlg.h:41
VideoDialog::StartVideoImageSet
void StartVideoImageSet(VideoMetadata *metadata)
Definition: videodlg.cpp:3638
VideoDialog::playTrailer
void playTrailer()
Play the trailer associated with the selected item.
Definition: videodlg.cpp:3215
VideoDialog::ShowMetadataSettings
void ShowMetadataSettings()
Pop up a MythUI Menu for MythVideo Metadata Settings.
Definition: videodlg.cpp:2611
VideoDialog::m_menuPopup
MythDialogBox * m_menuPopup
Definition: videodlg.h:189
VideoDialog::SwitchManager
void SwitchManager()
Switch to Video Manager View.
Definition: videodlg.cpp:2854
VideoDialog::BRS_INSERTDATE
@ BRS_INSERTDATE
Definition: videodlg.h:41
title
QString title
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:636
simple_ref_ptr< class VideoList >
VideoDialog::createPopup
bool createPopup()
parentalcontrols.h
VideoDialog::refreshData
void refreshData()
Reloads the tree without invalidating the data.
Definition: videodlg.cpp:1062
VideoDialog::DLG_BROWSER
@ DLG_BROWSER
Definition: videodlg.h:36
VideoDialog::VideoAutoSearch
void VideoAutoSearch()
Definition: videodlg.h:100
VideoDialog::SwitchVideoGenreGroup
void SwitchVideoGenreGroup()
Switch to Genre browse mode.
Definition: videodlg.cpp:2872
MythScreenStack
Definition: mythscreenstack.h:15
VideoListDeathDelay::~VideoListDeathDelay
~VideoListDeathDelay() override
Definition: videodlg.cpp:830
VideoDialog::dismissFetchDialog
void dismissFetchDialog(VideoMetadata *metadata, bool ok)
Definition: videodlg.cpp:2146
VideoDialog::SwitchVideoInsertDateGroup
void SwitchVideoInsertDateGroup()
Switch to Insert Date browse mode.
Definition: videodlg.cpp:2935
VideoDialog::handleSelect
void handleSelect(MythUIButtonListItem *item)
Handle SELECT action for a given MythUIButtonListItem.
Definition: videodlg.cpp:2793
VideoDialog::ShowHomepage
void ShowHomepage()
Definition: videodlg.cpp:3031
esOK
@ esOK
Definition: videodlg.h:29
VideoDialog::CreateManageMenu
MythMenu * CreateManageMenu()
Create a MythMenu for metadata management.
Definition: videodlg.cpp:2709
VideoDialog::m_userRatingState
MythUIStateType * m_userRatingState
Definition: videodlg.h:211
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:44
VideoListDeathDelay::kDelayTimeMS
static const int kDelayTimeMS
Definition: videodlg.h:232
VideoDialog::Load
void Load() override
Called after the screen is created by MythScreenStack.
Definition: videodlg.cpp:1049
VideoDialog::m_videoLevelState
MythUIStateType * m_videoLevelState
Definition: videodlg.h:210
VideoDialog::GetSavedVideoList
static VideoListDeathDelayPtr & GetSavedVideoList()
Definition: videodlg.cpp:845
VideoListDeathDelay::VideoListDeathDelay
VideoListDeathDelay(const VideoDialog::VideoListPtr &toSave)
Definition: videodlg.cpp:823
VideoDialog::EditMetadata
void EditMetadata()
Definition: videodlg.cpp:3553
VideoDialog::CreateViewMenu
MythMenu * CreateViewMenu()
Create a MythMenu for MythVideo Views.
Definition: videodlg.cpp:2544
VideoDialog::SwitchVideoUserRatingGroup
void SwitchVideoUserRatingGroup()
Switch to User Rating browse mode.
Definition: videodlg.cpp:2926
VideoDialog::BRS_STUDIO
@ BRS_STUDIO
Definition: videodlg.h:42
VideoDialog::m_fanart
MythUIImage * m_fanart
Definition: videodlg.h:206
VideoDialog::m_studioState
MythUIStateType * m_studioState
Definition: videodlg.h:213
VideoDialog::shiftParental
void shiftParental(int amount)
Shift the parental level for the library by an integer amount.
Definition: videodlg.cpp:3247
VideoDialog::BRS_CATEGORY
@ BRS_CATEGORY
Definition: videodlg.h:39
VideoDialog::DialogType
DialogType
Definition: videodlg.h:36
VideoDialog::m_positionText
MythUIText * m_positionText
Definition: videodlg.h:200
VideoDialog::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: videodlg.h:190
VideoDialog::m_videoButtonTree
MythUIButtonTree * m_videoButtonTree
Definition: videodlg.h:195
VideoDialog::BRS_CAST
@ BRS_CAST
Definition: videodlg.h:40
MetadataLookup
Definition: metadatacommon.h:86
VideoDialog::m_trailerState
MythUIStateType * m_trailerState
Definition: videodlg.h:208
VideoListDeathDelay
Definition: videodlg.h:220
VideoDialog::GetFirstImage
QString GetFirstImage(MythGenericTree *node, const QString &type, const QString &gpnode=QString(), int levels=0)
Find the first image of "type" within a folder structure.
Definition: videodlg.cpp:1776
VideoDialog::GetItemByMetadata
virtual MythUIButtonListItem * GetItemByMetadata(VideoMetadata *metadata)
Definition: videodlg.cpp:3410
VideoDialog::searchComplete
void searchComplete(const QString &string)
After using incremental search, move to the selected item.
Definition: videodlg.cpp:2204
VideoDialog::m_banner
MythUIImage * m_banner
Definition: videodlg.h:205
VideoListDeathDelay::GetSaved
VideoDialog::VideoListPtr GetSaved()
Definition: videodlg.cpp:835
MythUIButtonListItem
Definition: mythuibuttonlist.h:27
VideoDialog::SwitchVideoTVMovieGroup
void SwitchVideoTVMovieGroup()
Switch to Television/Movie browse mode.
Definition: videodlg.cpp:2944
VideoDialog::GetScreenshot
static QString GetScreenshot(MythGenericTree *node)
Find the Screenshot for a given node.
Definition: videodlg.cpp:1901
VideoDialog::BRS_TVMOVIE
@ BRS_TVMOVIE
Definition: videodlg.h:42
VideoDialog::playVideoWithTrailers
void playVideoWithTrailers()
Play the selected item w/ a User selectable # of trailers.
Definition: videodlg.cpp:3182
VideoDialog::GetFanart
static QString GetFanart(MythGenericTree *node)
Find the Fanart for a given node.
Definition: videodlg.cpp:1976
VideoDialog::scanFinished
void scanFinished(bool dbChanged)
Definition: videodlg.cpp:1077
VideoDialog::SwitchBrowse
void SwitchBrowse()
Switch to Browser View.
Definition: videodlg.cpp:2845
VideoDialog::OnVideoSearchListSelection
void OnVideoSearchListSelection(RefCountHandler< MetadataLookup > lookup)
Definition: videodlg.cpp:3506
VideoDialog::m_titleText
MythUIText * m_titleText
Definition: videodlg.h:197
VideoDialog::m_crumbText
MythUIText * m_crumbText
Definition: videodlg.h:201
VideoDialog::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: videodlg.h:215
VideoDialog::goBack
bool goBack()
Move one level up in the tree.
Definition: videodlg.cpp:2279
VideoDialog::m_popupStack
MythScreenStack * m_popupStack
Definition: videodlg.h:191
VideoDialog::RemoteImageCheck
static QString RemoteImageCheck(const QString &host, const QString &filename)
Search for a given (image) filename in the Video SG.
Definition: videodlg.cpp:1353
VideoDialog::VideoListDeathDelayPtr
QPointer< class VideoListDeathDelay > VideoListDeathDelayPtr
Definition: videodlg.h:45
ParentalLevel::Level
Level
Definition: parentalcontrols.h:12
VideoDialog::VideoSearch
void VideoSearch()
Definition: videodlg.h:98
VideoDialog::PromptToScan
void PromptToScan()
Definition: videodlg.cpp:3845
MythDialogBox
Basic menu dialog, message and a list of options.
Definition: mythdialogbox.h:166
VideoDialog::SwitchVideoYearGroup
void SwitchVideoYearGroup()
Switch to Year browse mode.
Definition: videodlg.cpp:2890
VideoDialog::SwitchTree
void SwitchTree()
Switch to Tree (List) View.
Definition: videodlg.cpp:2827
VideoDialog::ShowCastDialog
void ShowCastDialog()
Display the Cast if the selected item.
Definition: videodlg.cpp:3021
VideoDialog::DLG_GALLERY
@ DLG_GALLERY
Definition: videodlg.h:36
VideoListDeathDelay::m_d
class VideoListDeathDelayPrivate * m_d
Definition: videodlg.h:238
VideoDialog::GetItemCurrent
virtual MythUIButtonListItem * GetItemCurrent()
Definition: videodlg.cpp:3400
VideoDialog::btLast
@ btLast
Definition: videodlg.h:42
VideoDialog::Init
void Init() override
Definition: videodlg.cpp:1043
VideoDialog::m_mainStack
MythScreenStack * m_mainStack
Definition: videodlg.h:192
DialogType
DialogType
Definition: nettree.h:20
VideoDialog::searchStart
void searchStart()
Create an incremental search dialog for the current tree level.
Definition: videodlg.cpp:2243
VideoDialog::BRS_YEAR
@ BRS_YEAR
Definition: videodlg.h:40
VideoDialog::SwitchVideoDirectorGroup
void SwitchVideoDirectorGroup()
Switch to Director browse mode.
Definition: videodlg.cpp:2899
filename
QString filename
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:637
VideoDialog::SetCurrentNode
void SetCurrentNode(MythGenericTree *node)
Switch to a given MythGenericTree node.
Definition: videodlg.cpp:2303
MythUIButtonTree
A tree widget for displaying and navigating a MythGenericTree()
Definition: mythuibuttontree.h:16
VideoDialog::SwitchVideoFolderGroup
void SwitchVideoFolderGroup()
Switch to Folder (filesystem) browse mode.
Definition: videodlg.cpp:2863
VideoDialog::BRS_DIRECTOR
@ BRS_DIRECTOR
Definition: videodlg.h:40
VideoDialog::SwitchLayout
void SwitchLayout(DialogType type, BrowseType browse)
Handle a layout or browse mode switch.
Definition: videodlg.cpp:2953
VideoDialog::SwitchVideoCastGroup
void SwitchVideoCastGroup()
Switch to Cast browse mode.
Definition: videodlg.cpp:2917
MythUIBusyDialog
Definition: mythprogressdialog.h:36
VideoDialog::setParentalLevel
void setParentalLevel(ParentalLevel::Level level)
Set the parental level for the library.
Definition: videodlg.cpp:3238
VideoDialog::BRS_FOLDER
@ BRS_FOLDER
Definition: videodlg.h:39
VideoDialog::RemoveVideo
void RemoveVideo()
Definition: videodlg.cpp:3571
VideoDialog::ToggleProcess
void ToggleProcess()
Definition: videodlg.cpp:2728
VideoDialog::handleDynamicDirSelect
void handleDynamicDirSelect(MythGenericTree *node)
Request the latest metadata for a folder.
Definition: videodlg.cpp:2781
VideoDialog::CreateInfoMenu
MythMenu * CreateInfoMenu()
Create a MythMenu for Info pertaining to the selected item.
Definition: videodlg.cpp:2682
esError
@ esError
Definition: videodlg.h:29
VideoDialog::m_parentalLevelState
MythUIStateType * m_parentalLevelState
Definition: videodlg.h:209
VideoDialog::createOkDialog
void createOkDialog(const QString &title)
Create a MythUI "OK" Dialog.
Definition: videodlg.cpp:2190
VideoDialog
Definition: videodlg.h:31
VideoDialog::doVideoScan
void doVideoScan()
Definition: videodlg.cpp:3837
VideoDialog::ShowExtensionSettings
void ShowExtensionSettings()
Pop up a MythUI Menu for MythVideo filte Type Settings.
Definition: videodlg.cpp:2625
VideoDialog::Create
bool Create() override
Definition: videodlg.cpp:902
VideoDialog::CreatePlayMenu
MythMenu * CreatePlayMenu()
Create a "Play Menu" for MythVideo. Appears if multiple play options exist.
Definition: videodlg.cpp:2464
VideoDialog::m_watchedState
MythUIStateType * m_watchedState
Definition: videodlg.h:212
MetadataFactory
Definition: metadatafactory.h:85
VideoDialog::loadData
virtual void loadData()
load the data used to build the ButtonTree/List for MythVideo.
Definition: videodlg.cpp:1114
VideoDialog::SwitchVideoCategoryGroup
void SwitchVideoCategoryGroup()
Switch to Category browse mode.
Definition: videodlg.cpp:2881
VideoDialog::~VideoDialog
~VideoDialog() override
Definition: videodlg.cpp:868
VideoDialog::customEvent
void customEvent(QEvent *levent) override
Definition: videodlg.cpp:3293
VideoListDeathDelayPrivate
Definition: videodlg.cpp:806
VideoDialog::popupClosed
void popupClosed(const QString &which, int result)
Definition: videodlg.cpp:2529
VideoDialog::UpdatePosition
void UpdatePosition()
Called after the screen is created by MythScreenStack.
Definition: videodlg.cpp:2315
VideoDialog::createBusyDialog
void createBusyDialog(const QString &title)
Create a busy dialog, used during metadata search, etc.
Definition: videodlg.cpp:2106
VideoDialog::VideoDialog
VideoDialog(MythScreenStack *lparent, const QString &lname, const VideoListPtr &video_list, DialogType type, BrowseType browse)
Definition: videodlg.cpp:850
MythMenu
Definition: mythdialogbox.h:99
VideoDialog::handleDirSelect
void handleDirSelect(MythGenericTree *node)
Descend into a selected folder.
Definition: videodlg.cpp:2771
MythUIText
All purpose text widget, displays a text string.
Definition: mythuitext.h:30
VideoDialog::DLG_DEFAULT
@ DLG_DEFAULT
Definition: videodlg.h:36
VideoDialog::dtLast
@ dtLast
Definition: videodlg.h:37
VideoDialog::reloadData
void reloadData()
Reloads the tree after having invalidated the data.
Definition: videodlg.cpp:1104
VideoDialog::ShowPlayerSettings
void ShowPlayerSettings()
Pop up a MythUI Menu for MythVideo Player Settings.
Definition: videodlg.cpp:2597
VideoDialog::DoItemDetailShow2
void DoItemDetailShow2()
Definition: videodlg.h:129
VideoDialog::BRS_GENRE
@ BRS_GENRE
Definition: videodlg.h:39
VideoDialog::BrowseType
BrowseType
Definition: videodlg.h:39
VideoDialogPrivate
Definition: videodlg.cpp:669
VideoDialog::DLG_MANAGER
@ DLG_MANAGER
Definition: videodlg.h:37
VideoDialog::ChangeFilter
void ChangeFilter()
Change the filtering of the library.
Definition: videodlg.cpp:3257
VideoDialog::OnVideoSearchDone
void OnVideoSearchDone(MetadataLookup *lookup)
Definition: videodlg.cpp:3716
MythGenericTree
Definition: mythgenerictree.h:20
VideoDialog::ToggleWatched
void ToggleWatched()
Definition: videodlg.cpp:3490
VideoDialog::UpdateText
void UpdateText(MythUIButtonListItem *item)
Update the visible text values for a given ButtonListItem.
Definition: videodlg.cpp:2332
VideoDialog::GetMetadata
static VideoMetadata * GetMetadata(MythUIButtonListItem *item)
Retrieve the Database Metadata for a given MythUIButtonListItem.
Definition: videodlg.cpp:3274
VideoDialog::OnParentalChange
void OnParentalChange(int amount)
Definition: videodlg.cpp:3535
VideoDialog::createFetchDialog
void createFetchDialog(VideoMetadata *metadata)
Create a fetch notification, used during metadata search.
Definition: videodlg.cpp:2124
VideoDialog::m_coverImage
MythUIImage * m_coverImage
Definition: videodlg.h:203
ImageDownloadErrorState
ImageDownloadErrorState
Definition: videodlg.h:29
VideoDialog::SavePosition
void SavePosition(void)
Definition: videodlg.cpp:878
VideoDialog::fetchVideos
void fetchVideos()
Build the buttonlist/tree.
Definition: videodlg.cpp:1314
VideoDialog::SwitchGallery
void SwitchGallery()
Switch to Gallery View.
Definition: videodlg.cpp:2836
VideoDialog::playVideo
void playVideo()
Play the selected item.
Definition: videodlg.cpp:3075
VideoListDeathDelay::OnTimeUp
void OnTimeUp()
Definition: videodlg.cpp:840
quicksp.h
VideoDialog::playFolder
void playFolder()
Play all the items in the selected folder.
Definition: videodlg.cpp:3098
VideoScanner
Definition: videoscan.h:22
VideoDialog::DLG_TREE
@ DLG_TREE
Definition: videodlg.h:37
VideoDialog::m_screenshot
MythUIImage * m_screenshot
Definition: videodlg.h:204
VideoDialog::SwitchVideoStudioGroup
void SwitchVideoStudioGroup()
Switch to Studio browse mode.
Definition: videodlg.cpp:2908
VideoDialog::ResetMetadata
void ResetMetadata()
Definition: videodlg.cpp:3625
VideoDialog::OnRemoveVideo
void OnRemoveVideo(bool dodelete)
Definition: videodlg.cpp:3590
VideoDialog::ToggleFlatView
void ToggleFlatView()
Toggle Flat View.
Definition: videodlg.cpp:2756
VideoDialog::UpdateItem
void UpdateItem(MythUIButtonListItem *item)
Update the visible representation of a MythUIButtonListItem.
Definition: videodlg.cpp:1221
VideoDialog::m_novideoText
MythUIText * m_novideoText
Definition: videodlg.h:198
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:151
VideoDialog::DisplayMenu
void DisplayMenu()
Pop up a MythUI Menu for MythVideo Global Functions. Bound to MENU.
Definition: videodlg.cpp:2502
VideoDialog::VideoMenu
void VideoMenu()
Pop up a MythUI "Playback Menu" for MythVideo. Bound to INFO.
Definition: videodlg.cpp:2399
VideoDialog::ToggleBrowseMode
void ToggleBrowseMode()
Toggle the browseable status for the selected item.
Definition: videodlg.cpp:2744
VideoDialog::m_videoButtonList
MythUIButtonList * m_videoButtonList
Definition: videodlg.h:194
VideoDialog::ViewPlot
void ViewPlot()
Display a MythUI Popup with the selected item's plot.
Definition: videodlg.cpp:2983
VideoDialog::GetCoverImage
static QString GetCoverImage(MythGenericTree *node)
A "hunt" for cover art to apply for a folder item.
Definition: videodlg.cpp:1548
metadatacommon.h
MythUIStateType
This widget is used for grouping other widgets for display when a particular named state is called....
Definition: mythuistatetype.h:22
mythscreentype.h
VideoDialog::keyPressEvent
bool keyPressEvent(QKeyEvent *levent) override
Handle keypresses and keybindings.
Definition: videodlg.cpp:2011
VideoDialog::DoItemDetailShow
bool DoItemDetailShow()
Display the Item Detail Popup.
Definition: videodlg.cpp:2997