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