MetadataOptions Class Reference

Select artwork and inetref for recordings. More...

#include <scheduleeditor.h>

Inheritance diagram for MetadataOptions:
SchedEditChild MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 MetadataOptions (MythScreenStack *parent, ScheduleEditor &editor, RecordingRule &rule, RecordingInfo *recinfo)
 ~MetadataOptions ()
bool Create (void)

Protected Slots

void PerformQuery ()
void SelectLocalFanart ()
void SelectLocalCoverart ()
void SelectLocalBanner ()
void SelectOnlineFanart ()
void SelectOnlineCoverart ()
void SelectOnlineBanner ()
void QueryComplete (MetadataLookup *lookup)
void OnSearchListSelection (MetadataLookup *lookup)
void OnImageSearchListSelection (ArtworkInfo info, VideoArtworkType type)
void OnArtworkSearchDone (MetadataLookup *lookup)
void FindNetArt (VideoArtworkType type)
void ValuesChanged ()

Private Member Functions

void Load (void)
 Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning).
void Save (void)
void CreateBusyDialog (QString title)
void FindImagePopup (const QString &prefix, const QString &prefixAlt, QObject &inst, const QString &returnEvent)
QStringList GetSupportedImageExtensionFilter ()
void HandleDownloadedImages (MetadataLookup *lookup)
bool CanSetArtwork (void)
void customEvent (QEvent *event)

Private Attributes

MetadataFactorym_metadataFactory
MetadataDownloadm_imageLookup
MetadataImageDownloadm_imageDownload
MetadataLookupm_lookup
MythScreenStackm_popupStack
MythUIBusyDialogm_busyPopup
MythUIImagem_fanart
MythUIImagem_coverart
MythUIImagem_banner
MythUITextEditm_inetrefEdit
MythUISpinBoxm_seasonSpin
MythUISpinBoxm_episodeSpin
MythUIButtonm_queryButton
MythUIButtonm_localFanartButton
MythUIButtonm_localCoverartButton
MythUIButtonm_localBannerButton
MythUIButtonm_onlineFanartButton
MythUIButtonm_onlineCoverartButton
MythUIButtonm_onlineBannerButton
ArtworkMap m_artworkMap

Detailed Description

Select artwork and inetref for recordings.

Definition at line 324 of file scheduleeditor.h.


Constructor & Destructor Documentation

MetadataOptions::MetadataOptions ( MythScreenStack parent,
ScheduleEditor editor,
RecordingRule rule,
RecordingInfo recinfo 
)

Definition at line 1310 of file scheduleeditor.cpp.

MetadataOptions::~MetadataOptions ( void   ) 

Definition at line 1333 of file scheduleeditor.cpp.


Member Function Documentation

bool MetadataOptions::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 1350 of file scheduleeditor.cpp.

Referenced by ScheduleEditor::ShowMetadataOptions().

void MetadataOptions::PerformQuery (  )  [protected, slot]

Definition at line 1450 of file scheduleeditor.cpp.

Referenced by Create().

void MetadataOptions::SelectLocalFanart (  )  [protected, slot]

Definition at line 1508 of file scheduleeditor.cpp.

Referenced by Create().

void MetadataOptions::SelectLocalCoverart (  )  [protected, slot]

Definition at line 1519 of file scheduleeditor.cpp.

Referenced by Create().

void MetadataOptions::SelectLocalBanner (  )  [protected, slot]

Definition at line 1530 of file scheduleeditor.cpp.

Referenced by Create().

void MetadataOptions::SelectOnlineFanart (  )  [protected, slot]

Definition at line 1541 of file scheduleeditor.cpp.

Referenced by Create().

void MetadataOptions::SelectOnlineCoverart (  )  [protected, slot]

Definition at line 1546 of file scheduleeditor.cpp.

Referenced by Create().

void MetadataOptions::SelectOnlineBanner (  )  [protected, slot]

Definition at line 1551 of file scheduleeditor.cpp.

Referenced by Create().

void MetadataOptions::QueryComplete ( MetadataLookup lookup  )  [protected, slot]

Definition at line 1571 of file scheduleeditor.cpp.

Referenced by customEvent(), and OnSearchListSelection().

void MetadataOptions::OnSearchListSelection ( MetadataLookup lookup  )  [protected, slot]

Definition at line 1478 of file scheduleeditor.cpp.

Referenced by customEvent().

void MetadataOptions::OnImageSearchListSelection ( ArtworkInfo  info,
VideoArtworkType  type 
) [protected, slot]

Definition at line 1483 of file scheduleeditor.cpp.

Referenced by OnArtworkSearchDone().

void MetadataOptions::OnArtworkSearchDone ( MetadataLookup lookup  )  [protected, slot]

Definition at line 1677 of file scheduleeditor.cpp.

Referenced by customEvent().

void MetadataOptions::FindNetArt ( VideoArtworkType  type  )  [protected, slot]
void MetadataOptions::ValuesChanged (  )  [protected, slot]

Definition at line 1733 of file scheduleeditor.cpp.

Referenced by Create(), customEvent(), and HandleDownloadedImages().

void MetadataOptions::Load ( void   )  [private, virtual]

Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning).

Warning:
This method should only load data, it should NEVER perform UI routines or segfaults WILL result. This includes assinging data to any widgets, calling methods on a widget or anything else which triggers redraws. The safest and recommended approach is to avoid any interaction with a libmythui class or class member.

Implements SchedEditChild.

Definition at line 1431 of file scheduleeditor.cpp.

void MetadataOptions::Save ( void   )  [private, virtual]

Implements SchedEditChild.

Definition at line 1556 of file scheduleeditor.cpp.

void MetadataOptions::CreateBusyDialog ( QString  title  )  [private]

Definition at line 1436 of file scheduleeditor.cpp.

Referenced by FindNetArt(), OnImageSearchListSelection(), and PerformQuery().

void MetadataOptions::FindImagePopup ( const QString &  prefix,
const QString &  prefixAlt,
QObject &  inst,
const QString &  returnEvent 
) [private]

Definition at line 1592 of file scheduleeditor.cpp.

Referenced by SelectLocalBanner(), SelectLocalCoverart(), and SelectLocalFanart().

QStringList MetadataOptions::GetSupportedImageExtensionFilter (  )  [private]

Definition at line 1618 of file scheduleeditor.cpp.

Referenced by FindImagePopup().

void MetadataOptions::HandleDownloadedImages ( MetadataLookup lookup  )  [private]

Definition at line 1704 of file scheduleeditor.cpp.

Referenced by customEvent().

bool MetadataOptions::CanSetArtwork ( void   )  [private]
void MetadataOptions::customEvent ( QEvent *  event  )  [private, virtual]

Reimplemented from MythUIType.

Definition at line 1757 of file scheduleeditor.cpp.


Member Data Documentation

Definition at line 369 of file scheduleeditor.h.

Referenced by MetadataOptions(), and PerformQuery().

Definition at line 372 of file scheduleeditor.h.

Referenced by FindNetArt(), MetadataOptions(), and ~MetadataOptions().

Definition at line 373 of file scheduleeditor.h.

Referenced by MetadataOptions(), OnImageSearchListSelection(), and ~MetadataOptions().

Definition at line 378 of file scheduleeditor.h.

Referenced by CreateBusyDialog(), customEvent(), and OnArtworkSearchDone().

Definition at line 380 of file scheduleeditor.h.

Referenced by Create(), and ValuesChanged().

Definition at line 381 of file scheduleeditor.h.

Referenced by Create(), and ValuesChanged().

Definition at line 382 of file scheduleeditor.h.

Referenced by Create(), and ValuesChanged().

Definition at line 389 of file scheduleeditor.h.

Referenced by Create().

Definition at line 390 of file scheduleeditor.h.

Referenced by Create().

Definition at line 391 of file scheduleeditor.h.

Referenced by Create().

Definition at line 392 of file scheduleeditor.h.

Referenced by Create().

Definition at line 393 of file scheduleeditor.h.

Referenced by Create().

Definition at line 394 of file scheduleeditor.h.

Referenced by Create().

Definition at line 395 of file scheduleeditor.h.

Referenced by Create().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:09 2012 for MythTV by  doxygen 1.6.3