MythTV  master
mythuiimageresults.h
Go to the documentation of this file.
1 #include <QObject>
2 
5 
6 #include "mythmetaexp.h"
7 
8 class MythUIButtonList;
10 
12 {
13  Q_OBJECT
14 
15  public:
18 
19  ~ImageSearchResultsDialog() override;
20 
21  bool Create() override; // MythScreenType
22  static void cleanCacheDir();
23  void customEvent(QEvent *event) override; // MythUIType
24 
25  signals:
26  void haveResult(ArtworkInfo, VideoArtworkType);
27 
28  private:
31  MythUIButtonList *m_resultsList {nullptr};
32  MetadataImageDownload *m_imageDownload {nullptr};
33 
34  private slots:
35  void sendResult(MythUIButtonListItem* item);
36 };
37 
ImageSearchResultsDialog::m_type
VideoArtworkType m_type
Definition: mythuiimageresults.h:30
VideoArtworkType
VideoArtworkType
Definition: metadataimagehelper.h:10
MetadataImageDownload
Definition: metadataimagedownload.h:87
metadataimagehelper.h
ArtworkList
QList< ArtworkInfo > ArtworkList
Definition: metadataimagehelper.h:30
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType::Create
virtual bool Create(void)
Definition: mythscreentype.cpp:266
MythUIType::customEvent
void customEvent(QEvent *event) override
Definition: mythuitype.cpp:1008
ImageSearchResultsDialog::m_list
ArtworkList m_list
Definition: mythuiimageresults.h:29
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
mythmetaexp.h
MythUIButtonListItem
Definition: mythuibuttonlist.h:41
ArtworkInfo
Definition: metadataimagehelper.h:21
ImageSearchResultsDialog
Definition: mythuiimageresults.h:11
MythUIButtonList
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
Definition: mythuibuttonlist.h:191
META_PUBLIC
#define META_PUBLIC
Definition: mythmetaexp.h:9
mythscreentype.h