Base.xml

From MythTV Official Wiki
Revision as of 17:55, 9 July 2011 by Iamlindoro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The base.xml file serves multiple purposes. Firstly, contents of the base.xml file may be inherited throughout MythTV, so it is generally where all the base versions of all the widgets are defined. Also, it defines certain windows used throughout the Myth Interface such as progress bars, popup dialogs, and search boxes.

base.xml Windows

Window Name Type Description
MythPopupBox Window A Generic Popup Menu.
MythDialogBox Window A Generic Dialog Box.
MythBusyDialog Window A "Busy" popup.
MythProgressDialog Window A Progress counter.
MythConfirmationDialog Window An "OK/Cancel" popup.
MythTextInputDialog Window A Text Entry popup.
MythSearchDialog Window An Incremental Search popup.
MythFileBrowser Window A File Browsing Dialog.
videowindow Window A "Please Wait" screen preceding video playback.
MythSearchListDialog Window A dialog used to search buttonlists. NEW in 0.25-pre
MythMetadataResults Window The results of a metadata search for videos, recordings, etc..
MythArtworkResults Window The results of a search for video, recording, etc. Artwork.


The "MythPopupBox" window

Widget Name Widget Type Description Required?
messagearea textarea The textual message area for the popup menu. Yes
list buttonlist The buttons for the popup menu. Yes


The "MythDialogBox" window

Widget Name Widget Type Description Required?
messagearea textarea The textual message area for the popup menu. Yes
list buttonlist The buttons for the popup menu. Yes
title textarea The window's title. Yes


The "MythBusyDialog" window

Widget Name Widget Type Description Required?
message textarea The textual message area for the busy dialog. Yes


The "MythProgressDialog" window

Widget Name Widget Type Description Required?
message textarea The window message. Yes
progressbar progressbar A visual progress bar. Yes
progresstext textarea The percentage value of progress. Yes


The "MythConfirmationDialog" window

Widget Name Widget Type Description Required?
message textarea The window message. Yes
ok button An "OK" button. Yes
cancel button A "Cancel" button. Yes


The "MythTextInputDialog" window

Widget Name Widget Type Description Required?
message textarea The window message. Yes
ok button An "OK" button. Yes
cancel button A "Cancel" button. Yes
input textedit The text input box. Yes


The "MythSearchDialog" window

Widget Name Widget Type Description Required?
title textarea The window message. Yes
ok button An "OK" button. Yes
cancel button A "Cancel" button. Yes
input textedit The text input box. Yes
itemlist buttonlist A list of items matched by the search Yes


The "MythFileBrowser" window

Widget Name Widget Type Description Required?
location textedit The path currently being viewed. Yes
back button An "UpLevel" button No
home button A Button to return to the home path. No
ok button An "OK" button. Yes
cancel button A "Cancel" button. Yes
filelist buttonlist A list of the available files in the path. Yes
filename textarea A filename of the selected item. No
fullpath textarea The full path and file name of the selected item. No
preview imagetype A image preview of the selected item. No


The "videowindow" window

Widget Name Widget Type Description Required?
This window has no required elements. No


The "MythSearchListDialog" window

Widget Name Widget Type Description Required?
searchedit textedit The search text input box. Yes
prevbutton button A find previous button. Yes
nextbutton button A find next button. Yes
searchstate statetype Indicates whether the search text has been found. States are 'found' and 'notfound'. No


The "MythMetadataResults" window

Widget Name Widget Type Description Required?
results buttonlist A list of returned values from a grabber script, for user selection. Yes


The "MythArtworkResults" window

Widget Name Widget Type Description Required?
results buttonlist A list of returned artwork items, for user selection. Yes


Usable items in the MythArtworkResults buttonlist

Widget Name Widget Type Description Required?
buttonimage imagetype The thumbnail of the returned artwork item. N
url textarea The URL of the full sized item. N
resolution textarea The resolution of the final download. N
width textarea The width of the full sized item. N
height textarea The height of the full sized item. N