MythTV  0.26-pre
Public Types | Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes
VideoDialog Class Reference

#include <videodlg.h>

Inheritance diagram for VideoDialog:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Types

enum  DialogType {
  DLG_DEFAULT = 0, DLG_BROWSER = 0x1, DLG_GALLERY = 0x2, DLG_TREE = 0x4,
  DLG_MANAGER = 0x8, dtLast
}
enum  BrowseType {
  BRS_FOLDER = 0, BRS_GENRE = 0x1, BRS_CATEGORY = 0x2, BRS_YEAR = 0x4,
  BRS_DIRECTOR = 0x8, BRS_CAST = 0x10, BRS_USERRATING = 0x20, BRS_INSERTDATE = 0x40,
  BRS_TVMOVIE = 0x80, BRS_STUDIO = 0x100, btLast
}
typedef simple_ref_ptr< class
VideoList
VideoListPtr
typedef QPointer< class
VideoListDeathDelay
VideoListDeathDelayPtr

Public Slots

void searchComplete (QString string)
 After using incremental search, move to the selected item.

Public Member Functions

 VideoDialog (MythScreenStack *lparent, QString lname, VideoListPtr video_list, DialogType type, BrowseType browse)
 ~VideoDialog ()
bool Create ()
bool keyPressEvent (QKeyEvent *levent)
 Handle keypresses and keybindings.

Static Public Member Functions

static VideoListDeathDelayPtrGetSavedVideoList ()

Protected Slots

void Init ()
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load()
void Load ()
 Called after the screen is created by MythScreenStack.
void scanFinished (bool)
void reloadData ()
 Reloads the tree after having invalidated the data.
void refreshData ()
 Reloads the tree without invalidating the data.
void UpdateItem (MythUIButtonListItem *item)
 Update the visible representation of a MythUIButtonListItem.

Protected Member Functions

void customEvent (QEvent *levent)
virtual MythUIButtonListItemGetItemCurrent ()
virtual MythUIButtonListItemGetItemByMetadata (VideoMetadata *metadata)
virtual void loadData ()
 load the data used to build the ButtonTree/List for MythVideo.
void fetchVideos ()
 Build the buttonlist/tree.
QString RemoteImageCheck (QString host, QString filename)
 Search for a given (image) filename in the Video SG.
QString GetCoverImage (MythGenericTree *node)
 A "hunt" for cover art to apply for a folder item.
QString GetFirstImage (MythGenericTree *node, QString type, QString gpnode=QString(), int levels=0)
 Find the first image of "type" within a folder structure.
QString GetImageFromFolder (VideoMetadata *metadata)
 Attempt to find/fallback a cover image for a given metadata item.
QString GetScreenshot (MythGenericTree *node)
 Find the Screenshot for a given node.
QString GetBanner (MythGenericTree *node)
 Find the Banner for a given node.
QString GetFanart (MythGenericTree *node)
 Find the Fanart for a given node.
VideoMetadataGetMetadata (MythUIButtonListItem *item)
 Retrieve the Database Metadata for a given MythUIButtonListItem.
void handleDirSelect (MythGenericTree *node)
 Descend into a selected folder.
void handleDynamicDirSelect (MythGenericTree *node)
 Request the latest metadata for a folder.
bool goBack ()
 Move one level up in the tree.
void setParentalLevel (const ParentalLevel::Level &level)
 Set the parental level for the library.
void shiftParental (int amount)
 Shift the parental level for the library by an integer amount.
bool createPopup ()
void createBusyDialog (QString title)
 Create a busy dialog, used during metadata search, etc.
void createOkDialog (QString title)
 Create a MythUI "OK" Dialog.
void SwitchLayout (DialogType type, BrowseType browse)
 Handle a layout or browse mode switch.
void StartVideoImageSet (VideoMetadata *metadata)
void SavePosition (void)

Private Slots

void UpdatePosition ()
 Called after the screen is created by MythScreenStack.
void UpdateText (MythUIButtonListItem *)
 Update the visible text values for a given ButtonListItem.
void handleSelect (MythUIButtonListItem *)
 Handle SELECT action for a given MythUIButtonListItem.
void SetCurrentNode (MythGenericTree *)
 Switch to a given MythGenericTree node.
void playVideo ()
 Play the selected item.
void playVideoAlt ()
 Play the selected item in an alternate player.
void playFolder ()
 Play all the items in the selected folder.
void playVideoWithTrailers ()
 Play the selected item w/ a User selectable # of trailers.
void playTrailer ()
 Play the trailer associated with the selected item.
void SwitchTree ()
 Switch to Tree (List) View.
void SwitchGallery ()
 Switch to Gallery View.
void SwitchBrowse ()
 Switch to Browser View.
void SwitchManager ()
 Switch to Video Manager View.
void SwitchVideoFolderGroup ()
 Switch to Folder (filesystem) browse mode.
void SwitchVideoGenreGroup ()
 Switch to Genre browse mode.
void SwitchVideoCategoryGroup ()
 Switch to Category browse mode.
void SwitchVideoYearGroup ()
 Switch to Year browse mode.
void SwitchVideoDirectorGroup ()
void SwitchVideoStudioGroup ()
 Switch to Studio browse mode.
void SwitchVideoCastGroup ()
 Switch to Cast browse mode.
void SwitchVideoUserRatingGroup ()
 Switch to User Rating browse mode.
void SwitchVideoInsertDateGroup ()
 Switch to Insert Date browse mode.
void SwitchVideoTVMovieGroup ()
 Switch to Television/Movie browse mode.
void EditMetadata ()
void VideoSearch (MythGenericTree *node=NULL, bool automode=false)
void VideoAutoSearch (MythGenericTree *node=NULL)
void ResetMetadata ()
void ToggleWatched ()
void ToggleProcess ()
void RemoveVideo ()
void OnRemoveVideo (bool)
void VideoMenu ()
 Pop up a MythUI "Playback Menu" for MythVideo.
MythMenuCreateInfoMenu ()
 Create a MythMenu for Info pertaining to the selected item.
MythMenuCreateManageMenu ()
 Create a MythMenu for metadata management.
MythMenuCreatePlayMenu ()
 Create a "Play Menu" for MythVideo.
void DisplayMenu ()
 Pop up a MythUI Menu for MythVideo Global Functions.
MythMenuCreateViewMenu ()
 Create a MythMenu for MythVideo Views.
MythMenuCreateSettingsMenu ()
 Create a MythMenu for MythVideo Settings.
MythMenuCreateMetadataBrowseMenu ()
 Create a MythMenu for MythVideo Metadata Browse modes.
void PromptToScan ()
void ChangeFilter ()
 Change the filtering of the library.
void ToggleBrowseMode ()
 Toggle the browseable status for the selected item.
void ToggleFlatView ()
 Toggle Flat View.
void ViewPlot ()
 Display a MythUI Popup with the selected item's plot.
void ShowCastDialog ()
 Display the Cast if the selected item.
void ShowHomepage ()
bool DoItemDetailShow ()
 Display the Item Detail Popup.
void ShowPlayerSettings ()
 Pop up a MythUI Menu for MythVideo Player Settings.
void ShowExtensionSettings ()
 Pop up a MythUI Menu for MythVideo filte Type Settings.
void ShowMetadataSettings ()
 Pop up a MythUI Menu for MythVideo Metadata Settings.
void OnParentalChange (int amount)
void OnVideoSearchListSelection (MetadataLookup *lookup)
void doVideoScan ()
void OnVideoImageSetDone (VideoMetadata *metadata)
void OnVideoSearchDone (MetadataLookup *lookup)

Private Member Functions

void searchStart ()
 Create an incremental search dialog for the current tree level.

Private Attributes

MythDialogBoxm_menuPopup
MythUIBusyDialogm_busyPopup
MythScreenStackm_popupStack
MythScreenStackm_mainStack
MythUIButtonListm_videoButtonList
MythUIButtonTreem_videoButtonTree
MythUITextm_titleText
MythUITextm_novideoText
MythUITextm_positionText
MythUITextm_crumbText
MythUIImagem_coverImage
MythUIImagem_screenshot
MythUIImagem_banner
MythUIImagem_fanart
MythUIStateTypem_trailerState
MythUIStateTypem_parentalLevelState
MythUIStateTypem_videoLevelState
MythUIStateTypem_userRatingState
MythUIStateTypem_watchedState
MythUIStateTypem_studioState
MetadataFactorym_metadataFactory
class VideoDialogPrivatem_d

Detailed Description

Definition at line 31 of file videodlg.h.


Member Typedef Documentation

Definition at line 44 of file videodlg.h.

Definition at line 46 of file videodlg.h.


Member Enumeration Documentation

Enumerator:
DLG_DEFAULT 
DLG_BROWSER 
DLG_GALLERY 
DLG_TREE 
DLG_MANAGER 
dtLast 

Definition at line 36 of file videodlg.h.

Enumerator:
BRS_FOLDER 
BRS_GENRE 
BRS_CATEGORY 
BRS_YEAR 
BRS_DIRECTOR 
BRS_CAST 
BRS_USERRATING 
BRS_INSERTDATE 
BRS_TVMOVIE 
BRS_STUDIO 
btLast 

Definition at line 39 of file videodlg.h.


Constructor & Destructor Documentation

VideoDialog::VideoDialog ( MythScreenStack lparent,
QString  lname,
VideoListPtr  video_list,
DialogType  type,
BrowseType  browse 
)

Definition at line 837 of file videodlg.cpp.

Referenced by SwitchLayout().

Definition at line 862 of file videodlg.cpp.


Member Function Documentation

Definition at line 832 of file videodlg.cpp.

Referenced by RunVideoScreen().

bool VideoDialog::Create ( void  ) [virtual]

Reimplemented from MythScreenType.

Definition at line 896 of file videodlg.cpp.

Referenced by RunVideoScreen(), and SwitchLayout().

bool VideoDialog::keyPressEvent ( QKeyEvent *  levent) [virtual]

Handle keypresses and keybindings.

Returns:
true if the keypress was successfully handled.

Reimplemented from MythScreenType.

Definition at line 2000 of file videodlg.cpp.

Create an incremental search dialog for the current tree level.

Returns:
void.

Definition at line 2170 of file videodlg.cpp.

Referenced by keyPressEvent().

void VideoDialog::searchComplete ( QString  string) [slot]

After using incremental search, move to the selected item.

Returns:
void.

Definition at line 2129 of file videodlg.cpp.

Referenced by searchStart().

void VideoDialog::Init ( void  ) [protected, virtual, slot]

Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load()

Warning:
Do NOT confuse this with Load(), they serve very different purposes and most often both should be used when creating a new screen.

Reimplemented from MythScreenType.

Definition at line 1037 of file videodlg.cpp.

void VideoDialog::Load ( void  ) [protected, virtual, slot]

Called after the screen is created by MythScreenStack.

Reimplemented from MythScreenType.

Definition at line 1043 of file videodlg.cpp.

void VideoDialog::UpdatePosition ( ) [private, slot]

Called after the screen is created by MythScreenStack.

Update the "x of y" textarea to curent position.

Returns:
void.

Definition at line 2244 of file videodlg.cpp.

Referenced by loadData(), and UpdateText().

void VideoDialog::UpdateText ( MythUIButtonListItem item) [private, slot]

Update the visible text values for a given ButtonListItem.

Returns:
void.

Definition at line 2261 of file videodlg.cpp.

Referenced by Create(), and UpdateItem().

Handle SELECT action for a given MythUIButtonListItem.

Returns:
void.

Definition at line 2695 of file videodlg.cpp.

Referenced by Create().

void VideoDialog::SetCurrentNode ( MythGenericTree node) [private, slot]

Switch to a given MythGenericTree node.

Returns:
void.

Definition at line 2232 of file videodlg.cpp.

Referenced by Create(), fetchVideos(), goBack(), handleDirSelect(), and loadData().

void VideoDialog::playVideo ( ) [private, slot]

Play the selected item.

Returns:
void.

Definition at line 2980 of file videodlg.cpp.

Referenced by CreatePlayMenu(), handleSelect(), keyPressEvent(), and VideoMenu().

void VideoDialog::playVideoAlt ( ) [private, slot]

Play the selected item in an alternate player.

Returns:
void.

Definition at line 2991 of file videodlg.cpp.

Referenced by CreatePlayMenu(), and keyPressEvent().

void VideoDialog::playFolder ( ) [private, slot]

Play all the items in the selected folder.

Returns:
void.

Definition at line 3003 of file videodlg.cpp.

Referenced by VideoMenu().

Play the selected item w/ a User selectable # of trailers.

Returns:
void.

Definition at line 3087 of file videodlg.cpp.

Referenced by CreatePlayMenu().

void VideoDialog::playTrailer ( ) [private, slot]

Play the trailer associated with the selected item.

Returns:
void.

Definition at line 3120 of file videodlg.cpp.

Referenced by CreatePlayMenu().

void VideoDialog::SwitchTree ( ) [private, slot]

Switch to Tree (List) View.

Returns:
void.

Definition at line 2729 of file videodlg.cpp.

Referenced by CreateViewMenu().

void VideoDialog::SwitchGallery ( ) [private, slot]

Switch to Gallery View.

Returns:
void.

Definition at line 2738 of file videodlg.cpp.

Referenced by CreateViewMenu().

void VideoDialog::SwitchBrowse ( ) [private, slot]

Switch to Browser View.

Returns:
void.

Definition at line 2747 of file videodlg.cpp.

Referenced by CreateViewMenu().

void VideoDialog::SwitchManager ( ) [private, slot]

Switch to Video Manager View.

Returns:
void.

Definition at line 2756 of file videodlg.cpp.

Referenced by CreateViewMenu().

Switch to Folder (filesystem) browse mode.

Returns:
void.

Definition at line 2765 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to Genre browse mode.

Returns:
void.

Definition at line 2774 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to Category browse mode.

Returns:
void.

Definition at line 2783 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to Year browse mode.

Returns:
void.

Definition at line 2792 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Definition at line 2801 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to Studio browse mode.

Returns:
void.

Definition at line 2810 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to Cast browse mode.

Returns:
void.

Definition at line 2819 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to User Rating browse mode.

Returns:
void.

Definition at line 2828 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to Insert Date browse mode.

Returns:
void.

Definition at line 2837 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

Switch to Television/Movie browse mode.

Returns:
void.

Definition at line 2846 of file videodlg.cpp.

Referenced by CreateMetadataBrowseMenu().

void VideoDialog::EditMetadata ( ) [private, slot]

Definition at line 3444 of file videodlg.cpp.

Referenced by CreateManageMenu(), and keyPressEvent().

void VideoDialog::VideoSearch ( MythGenericTree node = NULL,
bool  automode = false 
) [private, slot]

Definition at line 3343 of file videodlg.cpp.

Referenced by CreateManageMenu(), keyPressEvent(), and VideoAutoSearch().

void VideoDialog::VideoAutoSearch ( MythGenericTree node = NULL) [private, slot]

Definition at line 3372 of file videodlg.cpp.

Referenced by DisplayMenu(), and scanFinished().

void VideoDialog::ResetMetadata ( ) [private, slot]

Definition at line 3517 of file videodlg.cpp.

Referenced by CreateManageMenu().

void VideoDialog::ToggleWatched ( ) [private, slot]

Definition at line 3401 of file videodlg.cpp.

Referenced by VideoMenu().

void VideoDialog::ToggleProcess ( ) [private, slot]

Definition at line 2630 of file videodlg.cpp.

Referenced by CreateManageMenu().

void VideoDialog::RemoveVideo ( ) [private, slot]

Definition at line 3462 of file videodlg.cpp.

Referenced by keyPressEvent(), and VideoMenu().

void VideoDialog::OnRemoveVideo ( bool  dodelete) [private, slot]

Definition at line 3482 of file videodlg.cpp.

Referenced by RemoveVideo().

void VideoDialog::VideoMenu ( ) [private, slot]

Pop up a MythUI "Playback Menu" for MythVideo.

Bound to INFO.

Returns:
void.

Definition at line 2328 of file videodlg.cpp.

Referenced by keyPressEvent().

MythMenu * VideoDialog::CreateInfoMenu ( ) [private, slot]

Create a MythMenu for Info pertaining to the selected item.

Returns:
MythMenu*.

Definition at line 2584 of file videodlg.cpp.

Referenced by VideoMenu().

MythMenu * VideoDialog::CreateManageMenu ( ) [private, slot]

Create a MythMenu for metadata management.

Returns:
MythMenu*.

Definition at line 2611 of file videodlg.cpp.

Referenced by VideoMenu().

MythMenu * VideoDialog::CreatePlayMenu ( ) [private, slot]

Create a "Play Menu" for MythVideo.

Appears if multiple play options exist.

Returns:
MythMenu*.

Definition at line 2383 of file videodlg.cpp.

Referenced by VideoMenu().

void VideoDialog::DisplayMenu ( void  ) [private, slot]

Pop up a MythUI Menu for MythVideo Global Functions.

Bound to MENU.

Returns:
void.

Definition at line 2421 of file videodlg.cpp.

Referenced by keyPressEvent().

MythMenu * VideoDialog::CreateViewMenu ( ) [private, slot]

Create a MythMenu for MythVideo Views.

Returns:
MythMenu.

Definition at line 2446 of file videodlg.cpp.

Referenced by DisplayMenu().

Create a MythMenu for MythVideo Settings.

Returns:
void.

Definition at line 2482 of file videodlg.cpp.

Referenced by DisplayMenu().

Create a MythMenu for MythVideo Metadata Browse modes.

Returns:
void.

Definition at line 2541 of file videodlg.cpp.

Referenced by DisplayMenu().

void VideoDialog::PromptToScan ( ) [private, slot]

Definition at line 3754 of file videodlg.cpp.

Referenced by Load().

void VideoDialog::ChangeFilter ( ) [private, slot]

Change the filtering of the library.

Returns:
void.

Definition at line 3158 of file videodlg.cpp.

Referenced by DisplayMenu(), and keyPressEvent().

void VideoDialog::ToggleBrowseMode ( ) [private, slot]

Toggle the browseable status for the selected item.

Returns:
void.

Definition at line 2646 of file videodlg.cpp.

Referenced by CreateViewMenu().

void VideoDialog::ToggleFlatView ( ) [private, slot]

Toggle Flat View.

Returns:
void.

Definition at line 2658 of file videodlg.cpp.

Referenced by CreateViewMenu().

void VideoDialog::ViewPlot ( ) [private, slot]

Display a MythUI Popup with the selected item's plot.

Returns:
void.

Definition at line 2885 of file videodlg.cpp.

Referenced by CreateInfoMenu().

void VideoDialog::ShowCastDialog ( ) [private, slot]

Display the Cast if the selected item.

Returns:
void.

Definition at line 2923 of file videodlg.cpp.

Referenced by CreateInfoMenu().

void VideoDialog::ShowHomepage ( ) [private, slot]

Definition at line 2933 of file videodlg.cpp.

Referenced by CreateInfoMenu().

bool VideoDialog::DoItemDetailShow ( ) [private, slot]

Display the Item Detail Popup.

Returns:
true if popup was created

Definition at line 2899 of file videodlg.cpp.

Referenced by CreateInfoMenu(), handleSelect(), and keyPressEvent().

Pop up a MythUI Menu for MythVideo Player Settings.

Returns:
void.

Definition at line 2499 of file videodlg.cpp.

Referenced by CreateSettingsMenu().

Pop up a MythUI Menu for MythVideo filte Type Settings.

Returns:
void.

Definition at line 2527 of file videodlg.cpp.

Referenced by CreateSettingsMenu().

Pop up a MythUI Menu for MythVideo Metadata Settings.

Returns:
void.

Definition at line 2513 of file videodlg.cpp.

Referenced by CreateSettingsMenu().

void VideoDialog::OnParentalChange ( int  amount) [private, slot]

Definition at line 3426 of file videodlg.cpp.

Definition at line 3417 of file videodlg.cpp.

Referenced by customEvent().

void VideoDialog::doVideoScan ( ) [private, slot]

Definition at line 3746 of file videodlg.cpp.

Referenced by customEvent(), and DisplayMenu().

void VideoDialog::scanFinished ( bool  dbChanged) [protected, slot]

Definition at line 1071 of file videodlg.cpp.

Referenced by doVideoScan().

void VideoDialog::reloadData ( ) [protected, slot]

Reloads the tree after having invalidated the data.

Returns:
void.

Definition at line 1098 of file videodlg.cpp.

Referenced by ChangeFilter(), handleDynamicDirSelect(), Init(), Load(), scanFinished(), ToggleBrowseMode(), and ToggleFlatView().

void VideoDialog::refreshData ( ) [protected, slot]

Reloads the tree without invalidating the data.

Returns:
void.

Definition at line 1056 of file videodlg.cpp.

Referenced by EditMetadata(), OnParentalChange(), reloadData(), and ToggleProcess().

void VideoDialog::UpdateItem ( MythUIButtonListItem item) [protected, slot]

Update the visible representation of a MythUIButtonListItem.

Returns:
void.

Definition at line 1217 of file videodlg.cpp.

Referenced by loadData(), OnVideoImageSetDone(), OnVideoSearchDone(), and ResetMetadata().

void VideoDialog::customEvent ( QEvent *  levent) [protected, virtual]

Reimplemented from MythUIType.

Definition at line 3194 of file videodlg.cpp.

MythUIButtonListItem * VideoDialog::GetItemByMetadata ( VideoMetadata metadata) [protected, virtual]

Definition at line 3310 of file videodlg.cpp.

Referenced by OnVideoImageSetDone(), and OnVideoSearchDone().

void VideoDialog::loadData ( void  ) [protected, virtual]

load the data used to build the ButtonTree/List for MythVideo.

Returns:
void.

Definition at line 1108 of file videodlg.cpp.

Referenced by goBack(), handleDirSelect(), and refreshData().

void VideoDialog::fetchVideos ( ) [protected]

Build the buttonlist/tree.

Returns:
void.

Definition at line 1310 of file videodlg.cpp.

Referenced by refreshData().

QString VideoDialog::RemoteImageCheck ( QString  host,
QString  filename 
) [protected]

Search for a given (image) filename in the Video SG.

Returns:
A QString of the full myth:// URL to a matching image.

Definition at line 1351 of file videodlg.cpp.

Referenced by GetCoverImage(), and GetImageFromFolder().

QString VideoDialog::GetCoverImage ( MythGenericTree node) [protected]

A "hunt" for cover art to apply for a folder item.

Returns:
QString local or myth:// for the first found cover file.

Definition at line 1543 of file videodlg.cpp.

Referenced by UpdateItem().

QString VideoDialog::GetFirstImage ( MythGenericTree node,
QString  type,
QString  gpnode = QString(),
int  levels = 0 
) [protected]

Find the first image of "type" within a folder structure.

Returns:
QString local or myth:// for the image.

Will try immediate children (files) first, if no hits, will continue through subfolders recursively. Will only return a value on a grandchild node if it matches the grandparent title, eg:

Lost->Season 1->Lost

Definition at line 1765 of file videodlg.cpp.

Referenced by UpdateItem(), and UpdateText().

QString VideoDialog::GetImageFromFolder ( VideoMetadata metadata) [protected]

Attempt to find/fallback a cover image for a given metadata item.

Returns:
QString local or myth:// for the first found cover file.

Definition at line 1408 of file videodlg.cpp.

QString VideoDialog::GetScreenshot ( MythGenericTree node) [protected]

Find the Screenshot for a given node.

Returns:
QString local or myth:// for the screenshot.

Definition at line 1890 of file videodlg.cpp.

Referenced by UpdateItem().

QString VideoDialog::GetBanner ( MythGenericTree node) [protected]

Find the Banner for a given node.

Returns:
QString local or myth:// for the banner.

Definition at line 1930 of file videodlg.cpp.

Referenced by UpdateItem().

QString VideoDialog::GetFanart ( MythGenericTree node) [protected]

Find the Fanart for a given node.

Returns:
QString local or myth:// for the fanart.

Definition at line 1965 of file videodlg.cpp.

Referenced by UpdateItem().

Descend into a selected folder.

Returns:
void.

Definition at line 2673 of file videodlg.cpp.

Referenced by handleSelect().

Request the latest metadata for a folder.

Returns:
void.

Definition at line 2683 of file videodlg.cpp.

Referenced by handleSelect().

bool VideoDialog::goBack ( ) [protected]

Move one level up in the tree.

Returns:
true if successfully moved upwards.

Definition at line 2208 of file videodlg.cpp.

Referenced by handleSelect(), and keyPressEvent().

Set the parental level for the library.

Returns:
void.

Definition at line 3139 of file videodlg.cpp.

Referenced by keyPressEvent(), and shiftParental().

void VideoDialog::shiftParental ( int  amount) [protected]

Shift the parental level for the library by an integer amount.

Returns:
void.

Definition at line 3148 of file videodlg.cpp.

Referenced by keyPressEvent().

bool VideoDialog::createPopup ( ) [protected]
void VideoDialog::createBusyDialog ( QString  title) [protected]

Create a busy dialog, used during metadata search, etc.

Returns:
void.

Definition at line 2096 of file videodlg.cpp.

Referenced by VideoSearch().

void VideoDialog::createOkDialog ( QString  title) [protected]

Create a MythUI "OK" Dialog.

Returns:
void.

Definition at line 2114 of file videodlg.cpp.

void VideoDialog::SwitchLayout ( DialogType  type,
BrowseType  browse 
) [protected]
void VideoDialog::StartVideoImageSet ( VideoMetadata metadata) [protected]

Definition at line 3530 of file videodlg.cpp.

Referenced by OnVideoSearchDone().

void VideoDialog::SavePosition ( void  ) [protected]

Definition at line 872 of file videodlg.cpp.

Referenced by SwitchLayout(), and ~VideoDialog().

void VideoDialog::OnVideoImageSetDone ( VideoMetadata metadata) [private, slot]

Definition at line 3283 of file videodlg.cpp.

Referenced by StartVideoImageSet().

void VideoDialog::OnVideoSearchDone ( MetadataLookup lookup) [private, slot]

Definition at line 3608 of file videodlg.cpp.

Referenced by customEvent().


Member Data Documentation

Definition at line 183 of file videodlg.h.

Referenced by customEvent(), DisplayMenu(), keyPressEvent(), and VideoMenu().

Definition at line 184 of file videodlg.h.

Referenced by createBusyDialog(), customEvent(), OnVideoImageSetDone(), and OnVideoSearchDone().

Definition at line 191 of file videodlg.h.

Referenced by Create(), and UpdateText().

Definition at line 192 of file videodlg.h.

Referenced by Create(), and refreshData().

Definition at line 194 of file videodlg.h.

Referenced by Create(), and UpdatePosition().

Definition at line 195 of file videodlg.h.

Referenced by Create(), and UpdateText().

Definition at line 197 of file videodlg.h.

Referenced by Create(), and UpdateText().

Definition at line 198 of file videodlg.h.

Referenced by Create(), and UpdateText().

Definition at line 199 of file videodlg.h.

Referenced by Create(), and UpdateText().

Definition at line 200 of file videodlg.h.

Referenced by Create(), and UpdateText().

Definition at line 202 of file videodlg.h.

Referenced by Create().

Definition at line 203 of file videodlg.h.

Referenced by Create(), and refreshData().

Definition at line 204 of file videodlg.h.

Definition at line 205 of file videodlg.h.

Definition at line 206 of file videodlg.h.

Referenced by Create().

Definition at line 207 of file videodlg.h.

Referenced by Create().

Definition at line 209 of file videodlg.h.

Referenced by OnVideoSearchListSelection(), VideoDialog(), and VideoSearch().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends