Settings-ui.xml

From MythTV Official Wiki
Revision as of 19:19, 2 September 2013 by Rjmorris (Talk | contribs)

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

The settings-ui.xml file governs the layout and behavior of the Theme Chooser screen and the System Event Editor. It consists of the following windows and named attributes:

Settings Windows

Window Name Type Description
themechooser Window The Theme Chooser screen.
rawsettingseditor Window The System Event Editor screen.


The "themechooser" window

Widget Name Widget Type Description Required?
themes buttonlist A buttonlist containing all the available themes. Yes
name textarea The theme's name. No
version textarea The theme's version number. No
description textarea The theme's description. No
resolution textarea The screen resolution for which the theme is designed. For example, 1920x1080. No
aspect textarea The aspect ratio for which the theme is designed. For example, 16:9. No
authorname textarea The theme author's name. No
authoremail textarea The theme author's email address. No
errata textarea The theme's errata. No
preview imagetype An image showing a preview of the theme's appearance. No
downloadprogressbar progressbar A progress bar showing the download progress while a remote theme is being downloaded. No
themestatus statetype A statetype representing whether updates are available for the theme. The available states are uptodate and updateavailable. No
themelocation statetype A statetype representing where the theme is stored. The available states are local, for themes that are installed locally, and remote, for themes that are available on the theme server and must be downloaded. No
fullpreviewstate statetype A statetype representing whether a full screen preview for the theme is being displayed. The available state is fullscreen. When the fullscreen state is present, a new entry is added to the theme chooser menu that allows the user to display a full screen preview of the selected theme. The contents of this state control the appearance of the full screen preview. No
fullscreenname textarea The theme's name, intended to be used within fullpreviewstate. No
fullscreenpreview imagetype An image showing a preview of the theme's appearance, intended to be used within fullpreviewstate. No

The "rawsettingseditor" window

Widget Name Widget Type Description Required?
settings buttonlist A buttonlist containing all the available system events. Yes
label-text textarea A label for the currently selected event item. Yes
settingvalue textedit An editor to change the command invoked for the selected system event. Yes
save button The "Save" button. Yes
cancel button The "Cancel" button. Yes
heading textarea The page title. No