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 = nullptr,
97  bool automode = false);
98  void VideoAutoSearch(MythGenericTree *node = nullptr);
99  void ResetMetadata();
100  void ToggleWatched();
101  void ToggleProcess();
102  void RemoveVideo();
103  void OnRemoveVideo(bool dodelete);
104 
105  void VideoMenu();
109  void DisplayMenu();
113 
114  void popupClosed(const QString& which, int result);
115 
116  void PromptToScan();
117 
118  void ChangeFilter();
119 
120  void ToggleBrowseMode();
121  void ToggleFlatView();
122 
123  void ViewPlot();
124  void ShowCastDialog();
125  void ShowHomepage();
126  bool DoItemDetailShow();
127  void ShowPlayerSettings();
128  void ShowExtensionSettings();
129  void ShowMetadataSettings();
130 
131  void OnParentalChange(int amount);
132 
133  // Called when the underlying data for an item changes
135 
136  void doVideoScan();
137 
138  protected slots:
139  void scanFinished(bool dbChanged);
140  void reloadData();
141  void refreshData();
142  void UpdateItem(MythUIButtonListItem *item);
143 
144  protected:
145  void customEvent(QEvent *levent) override; // MythUIType
146 
149 
150  virtual void loadData();
151  void fetchVideos();
152  static QString RemoteImageCheck(const QString& host, const QString& filename);
153  static QString GetCoverImage(MythGenericTree *node);
154  QString GetFirstImage(MythGenericTree *node, const QString& type,
155  const QString& gpnode = QString(), int levels = 0);
156  static QString GetImageFromFolder(VideoMetadata *metadata);
157  static QString GetScreenshot(MythGenericTree *node);
158  static QString GetBanner(MythGenericTree *node);
159  static QString GetFanart(MythGenericTree *node);
160 
162 
163  void handleDirSelect(MythGenericTree *node);
165  bool goBack();
166  void setParentalLevel(const ParentalLevel::Level &level);
167  void shiftParental(int amount);
168  bool createPopup();
169  void createBusyDialog(const QString &title);
170  void createFetchDialog(VideoMetadata *metadata);
171  void dismissFetchDialog(VideoMetadata *metadata, bool ok);
172  void createOkDialog(const QString& title);
173 
174  void SwitchLayout(DialogType type, BrowseType browse);
175 
176  void StartVideoImageSet(VideoMetadata *metadata);
177 
178  void SavePosition(void);
179 
180  private slots:
181 
182  void OnVideoImageSetDone(VideoMetadata *metadata);
183  void OnVideoSearchDone(MetadataLookup *lookup);
184 
185  private:
190 
193 
196 
199 
202  MythUIImage *m_banner {nullptr};
203  MythUIImage *m_fanart {nullptr};
204 
211 
213 
214  class VideoDialogPrivate *m_d {nullptr};
215 };
216 
217 class VideoListDeathDelay : public QObject
218 {
219  Q_OBJECT
220 
221  public:
222  explicit VideoListDeathDelay(const VideoDialog::VideoListPtr& toSave);
223  ~VideoListDeathDelay() override;
224 
226  // When exiting MythVideo, we delay destroying the data for kDelayTimeMS
227  // milliseconds, and reuse the data (possibly avoiding a rescan) if the user
228  // restarts MythVideo within that time period.
229  static const int kDelayTimeMS = 3000;
230 
231  private slots:
232  void OnTimeUp();
233 
234  private:
235  class VideoListDeathDelayPrivate *m_d {nullptr};
236 };
237 
238 #endif
VideoDialog::GetBanner
static QString GetBanner(MythGenericTree *node)
Find the Banner for a given node.
Definition: videodlg.cpp:1941
VideoMetadata
Definition: videometadata.h:25
esTimeout
@ esTimeout
Definition: videodlg.h:29
VideoDialog::m_d
class VideoDialogPrivate * m_d
Definition: videodlg.h:214
RefCountHandler
Definition: referencecounterlist.h:18
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:1408
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:98
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:186
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:1061
VideoDialog::DLG_BROWSER
@ DLG_BROWSER
Definition: videodlg.h:36
VideoDialog::SwitchVideoGenreGroup
void SwitchVideoGenreGroup()
Switch to Genre browse mode.
Definition: videodlg.cpp:2872
MythScreenStack
Definition: mythscreenstack.h:16
VideoListDeathDelay::~VideoListDeathDelay
~VideoListDeathDelay() override
Definition: videodlg.cpp:829
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:208
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
VideoListDeathDelay::kDelayTimeMS
static const int kDelayTimeMS
Definition: videodlg.h:229
VideoDialog::VideoAutoSearch
void VideoAutoSearch(MythGenericTree *node=nullptr)
Definition: videodlg.cpp:3462
VideoDialog::setParentalLevel
void setParentalLevel(const ParentalLevel::Level &level)
Set the parental level for the library.
Definition: videodlg.cpp:3238
VideoDialog::Load
void Load() override
Called after the screen is created by MythScreenStack.
Definition: videodlg.cpp:1048
VideoDialog::m_videoLevelState
MythUIStateType * m_videoLevelState
Definition: videodlg.h:207
VideoDialog::GetSavedVideoList
static VideoListDeathDelayPtr & GetSavedVideoList()
Definition: videodlg.cpp:844
VideoListDeathDelay::VideoListDeathDelay
VideoListDeathDelay(const VideoDialog::VideoListPtr &toSave)
Definition: videodlg.cpp:822
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:203
VideoDialog::m_studioState
MythUIStateType * m_studioState
Definition: videodlg.h:210
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:197
VideoDialog::m_busyPopup
MythUIBusyDialog * m_busyPopup
Definition: videodlg.h:187
VideoDialog::m_videoButtonTree
MythUIButtonTree * m_videoButtonTree
Definition: videodlg.h:192
VideoDialog::BRS_CAST
@ BRS_CAST
Definition: videodlg.h:40
MetadataLookup
Definition: metadatacommon.h:87
VideoDialog::m_trailerState
MythUIStateType * m_trailerState
Definition: videodlg.h:205
VideoListDeathDelay
Definition: videodlg.h:218
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:1775
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:202
VideoListDeathDelay::GetSaved
VideoDialog::VideoListPtr GetSaved()
Definition: videodlg.cpp:834
MythUIButtonListItem
Definition: mythuibuttonlist.h:28
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:1076
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:194
VideoDialog::m_crumbText
MythUIText * m_crumbText
Definition: videodlg.h:198
VideoDialog::m_metadataFactory
MetadataFactory * m_metadataFactory
Definition: videodlg.h:212
VideoDialog::goBack
bool goBack()
Move one level up in the tree.
Definition: videodlg.cpp:2279
VideoDialog::m_popupStack
MythScreenStack * m_popupStack
Definition: videodlg.h:188
VideoDialog::RemoteImageCheck
static QString RemoteImageCheck(const QString &host, const QString &filename)
Search for a given (image) filename in the Video SG.
Definition: videodlg.cpp:1352
VideoDialog::VideoListDeathDelayPtr
QPointer< class VideoListDeathDelay > VideoListDeathDelayPtr
Definition: videodlg.h:45
ParentalLevel::Level
Level
Definition: parentalcontrols.h:12
VideoDialog::PromptToScan
void PromptToScan()
Definition: videodlg.cpp:3845
MythDialogBox
Basic menu dialog, message and a list of options.
Definition: mythdialogbox.h:138
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:235
VideoDialog::GetItemCurrent
virtual MythUIButtonListItem * GetItemCurrent()
Definition: videodlg.cpp:3400
VideoDialog::btLast
@ btLast
Definition: videodlg.h:42
VideoDialog::Init
void Init() override
Definition: videodlg.cpp:1042
VideoDialog::m_mainStack
MythScreenStack * m_mainStack
Definition: videodlg.h:189
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:17
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:37
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:206
VideoDialog::createOkDialog
void createOkDialog(const QString &title)
Create a MythUI "OK" Dialog.
Definition: videodlg.cpp:2190
VideoDialog
Definition: videodlg.h:32
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:901
VideoDialog::CreatePlayMenu
MythMenu * CreatePlayMenu()
Create a "Play Menu" for MythVideo.
Definition: videodlg.cpp:2464
VideoDialog::m_watchedState
MythUIStateType * m_watchedState
Definition: videodlg.h:209
MetadataFactory
Definition: metadatafactory.h:86
VideoDialog::loadData
virtual void loadData()
load the data used to build the ButtonTree/List for MythVideo.
Definition: videodlg.cpp:1113
VideoDialog::SwitchVideoCategoryGroup
void SwitchVideoCategoryGroup()
Switch to Category browse mode.
Definition: videodlg.cpp:2881
VideoDialog::~VideoDialog
~VideoDialog() override
Definition: videodlg.cpp:867
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:849
MythMenu
Definition: mythdialogbox.h:93
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:29
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:1103
VideoDialog::ShowPlayerSettings
void ShowPlayerSettings()
Pop up a MythUI Menu for MythVideo Player Settings.
Definition: videodlg.cpp:2597
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:21
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:200
ImageDownloadErrorState
ImageDownloadErrorState
Definition: videodlg.h:29
VideoDialog::SavePosition
void SavePosition(void)
Definition: videodlg.cpp:877
VideoDialog::fetchVideos
void fetchVideos()
Build the buttonlist/tree.
Definition: videodlg.cpp:1313
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:839
quicksp.h
VideoDialog::playFolder
void playFolder()
Play all the items in the selected folder.
Definition: videodlg.cpp:3098
VideoScanner
Definition: videoscan.h:23
VideoDialog::DLG_TREE
@ DLG_TREE
Definition: videodlg.h:37
VideoDialog::m_screenshot
MythUIImage * m_screenshot
Definition: videodlg.h:201
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:1220
VideoDialog::m_novideoText
MythUIText * m_novideoText
Definition: videodlg.h:195
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:144
VideoDialog::DisplayMenu
void DisplayMenu()
Pop up a MythUI Menu for MythVideo Global Functions.
Definition: videodlg.cpp:2502
VideoDialog::VideoMenu
void VideoMenu()
Pop up a MythUI "Playback Menu" for MythVideo.
Definition: videodlg.cpp:2399
VideoDialog::VideoSearch
void VideoSearch(MythGenericTree *node=nullptr, bool automode=false)
Definition: videodlg.cpp:3440
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:191
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:1547
metadatacommon.h
MythUIStateType
This widget is used for grouping other widgets for display when a particular named state is called.
Definition: mythuistatetype.h:23
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