MythTV master
editvideometadata.h
Go to the documentation of this file.
1#ifndef EDITVIDEOMETADATA_H_
2#define EDITVIDEOMETADATA_H_
3
8
9class VideoMetadata;
13class MythUIText;
14class MythUITextEdit;
15class MythUIButton;
16class MythUISpinBox;
17class MythUICheckBox;
18
20{
21 Q_OBJECT
22
23 public:
25 const QString& lname,
26 VideoMetadata *source_metadata,
27 const VideoMetadataListManager &cache);
28 ~EditMetadataDialog() override;
29
30 bool Create() override; // MythScreenType
31 void customEvent(QEvent *levent) override; // MythUIType
32
33 void fillWidgets();
34
35 protected:
36 void createBusyDialog(const QString& title);
37
38 signals:
39 void Finished();
40
41 public slots:
42 void SaveAndExit();
43 void SetTitle();
44 void SetSubtitle();
45 void SetTagline();
46 void SetRating();
47 void SetDirector();
48 void SetInetRef();
49 void SetHomepage();
50 void SetPlot();
51 void SetYear();
52 void SetUserRating();
53 void SetLength();
55 void SetPlayer();
56 void SetSeason();
57 void SetEpisode();
60 void ToggleBrowse();
61 void ToggleWatched();
62 void FindCoverArt();
63 void FindBanner();
64 void FindFanart();
65 void FindScreenshot();
66 void FindTrailer();
67 void NewCategoryPopup();
68 void AddCategory(const QString& category);
69 void SetCoverArt(QString file);
70 void SetBanner(QString file);
71 void SetFanart(QString file);
72 void SetScreenshot(QString file);
73 void SetTrailer(QString file);
75 void FindNetCoverArt();
76 void FindNetBanner();
77 void FindNetFanart();
78 void FindNetScreenshot();
81
82 private:
85
88
89 //
90 // GUI stuff
91 //
92
102
132
133 //
134 // Remember video-to-play-next index number when the user is toggling
135 // child videos on and off
136 //
137
139
143
146};
147
148#endif
MetadataImageDownload * m_imageDownload
MetadataDownload * m_query
void AddCategory(const QString &category)
MythUISpinBox * m_userRatingSpin
MythUIText * m_trailerText
MythUIText * m_coverartText
void SetLevel(MythUIButtonListItem *item)
void customEvent(QEvent *levent) override
void createBusyDialog(const QString &title)
MythUIButton * m_trailerButton
MythUITextEdit * m_taglineEdit
void SetBanner(QString file)
void OnSearchListSelection(const ArtworkInfo &info, VideoArtworkType type)
MythScreenStack * m_popupStack
void OnArtworkSearchDone(MetadataLookup *lookup)
void SetCoverArt(QString file)
MythUITextEdit * m_playerEdit
MythUIButton * m_netCoverartButton
MythUICheckBox * m_browseCheck
MythUIText * m_bannerText
MythUISpinBox * m_episodeSpin
void SetScreenshot(QString file)
const VideoMetadataListManager & m_metaCache
MythUITextEdit * m_inetrefEdit
MythUITextEdit * m_titleEdit
MythUIButton * m_bannerButton
MythUICheckBox * m_watchedCheck
MythUITextEdit * m_ratingEdit
bool Create() override
MythUITextEdit * m_directorEdit
void SetTrailer(QString file)
MythUIImage * m_fanart
EditMetadataDialog(MythScreenStack *lparent, const QString &lname, VideoMetadata *source_metadata, const VideoMetadataListManager &cache)
MythUIButton * m_screenshotButton
MythUIButton * m_netFanartButton
void SetFanart(QString file)
MythUIButton * m_fanartButton
VideoMetadata * m_workingMetadata
MythUITextEdit * m_subtitleEdit
void SetChild(MythUIButtonListItem *item)
MythUIImage * m_banner
MythUIButton * m_netScreenshotButton
MythUIButton * m_coverartButton
MythUIBusyDialog * m_busyPopup
~EditMetadataDialog() override
MythUIButtonList * m_categoryList
MythUIImage * m_screenshot
void SetCategory(MythUIButtonListItem *item)
MythUISpinBox * m_seasonSpin
MythUIButtonList * m_levelList
MythUITextEdit * m_plotEdit
MythUIButtonList * m_childList
MythUITextEdit * m_homepageEdit
MythUIButton * m_netBannerButton
MythUIText * m_fanartText
MythUIButton * m_doneButton
MythUIImage * m_coverart
void handleDownloadedImages(MetadataLookup *lookup)
MythUISpinBox * m_yearSpin
MythUIText * m_screenshotText
VideoMetadata * m_origMetadata
MythUISpinBox * m_lengthSpin
void FindNetArt(VideoArtworkType type)
Screen in which all other widgets are contained and rendered.
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
A single button widget.
Definition: mythuibutton.h:22
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Image widget, displays a single image or multiple images in sequence.
Definition: mythuiimage.h:98
A widget for offering a range of numerical values where only the the bounding values and interval are...
Definition: mythuispinbox.h:17
A text entry and edit widget.
All purpose text widget, displays a text string.
Definition: mythuitext.h:29
VideoArtworkType
dictionary info
Definition: azlyrics.py:7