Difference between revisions of "Gallery-ui.xml"

From MythTV Official Wiki
Jump to: navigation, search
(Added missing filter window specification.)
 
Line 11: Line 11:
 
| style="background:silver" align="center" | Window
 
| style="background:silver" align="center" | Window
 
| style="background:silver" | The main MythGallery screen.
 
| style="background:silver" | The main MythGallery screen.
 +
|-
 +
| style="background:silver" | filter
 +
| style="background:silver" align="center" | Window
 +
| style="background:silver" | The image filter settings screen.
 
|}
 
|}
  
Line 51: Line 55:
 
| Path to selected item.
 
| Path to selected item.
 
| align="center"  | No
 
| align="center"  | No
 +
|}
 +
 +
=== The "filter" window ===
 +
 +
{| cellpadding="4" border="1"
 +
| align="center"  |<b>Widget Name</b>
 +
| align="center"  |<b>Widget Type</b>
 +
| align="center"  |<b>Description</b>
 +
| align="center"  |<b>Required?</b>
 +
|-
 +
| style="background:darkturquoise" | dirfilter_text
 +
| style="background:darkturquoise" align="center" | textedit
 +
| style="background:darkturquoise" | The directory filter.
 +
| style="background:darkturquoise" align="center" | <b>Yes</b>
 +
|-
 +
| typefilter_select
 +
| align="center" | buttonlist
 +
| Filters by item type (all, images, movies).
 +
| align="center" | <b>Yes</b>
 +
|-
 +
| style="background:darkturquoise" |sort_select
 +
| style="background:darkturquoise" align="center" | buttonlist
 +
| style="background:darkturquoise" | The sort order selector.
 +
| style="background:darkturquoise" align="center" | <b>Yes</b>
 +
|-
 +
| check_button
 +
| align="center" | button
 +
| Check filter settings.
 +
| align="center" | <b>Yes</b>
 +
|-
 +
| style="background:darkturquoise" |done_button
 +
| style="background:darkturquoise" align="center" | button
 +
| style="background:darkturquoise" | The "Done" button.
 +
| style="background:darkturquoise" align="center" | <b>Yes</b>
 +
|-
 +
| save_button
 +
| align="center" | button
 +
| The "Save" button.
 +
| align="center" | <b>Yes</b>
 +
|-
 +
| style="background:darkturquoise" |numimages_text
 +
| style="background:darkturquoise" align="center" | textarea
 +
| style="background:darkturquoise" | Displays result of filter check.
 +
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
|}
 
|}

Latest revision as of 22:41, 31 August 2015

The gallery-ui.xml file governs the layout and behavior of the MythGallery Plugin. It consists of the following windows and named attributes:

MythGallery Windows

Window Name Type Description
gallery Window The main MythGallery screen.
filter Window The image filter settings screen.


The "gallery" window

Widget Name Widget Type Description Required?
images buttonlist The button list of gallery images. Yes
title textarea The filename/text associated with the selected image. No
noimages textarea The text area to appear when no images are present. No
selectedimage imagetype Imagetype for the selected item. No
position textarea numerical value of the selected item (ie "1 of 32"). No
breadcrumbs textarea Path to selected item. No

The "filter" window

Widget Name Widget Type Description Required?
dirfilter_text textedit The directory filter. Yes
typefilter_select buttonlist Filters by item type (all, images, movies). Yes
sort_select buttonlist The sort order selector. Yes
check_button button Check filter settings. Yes
done_button button The "Done" button. Yes
save_button button The "Save" button. Yes
numimages_text textarea Displays result of filter check. Yes