Skip to content

Latest commit

 

History

History
108 lines (93 loc) · 3.52 KB

File metadata and controls

108 lines (93 loc) · 3.52 KB

PhotoQ Widget Catalog & Description

The widgets listed with a degree symbol º are default fyne.io framework widgets. Those widgets listed with a dot · are custom widgets.

Mark Description
🛈 The purpose of the widget
Condition that should be fulfilled for the widget to be enabled
When the widget is clicked, i.e. buttons, menuItem
🢱 Widgets down the chain that get affected by the OnChange event
🢰 Widgets down the chain that get affected by the OnValidate event

UI Widgets, Condition to act, Description

ºMenuItem {menuOpen} [none] 🛈 Lets the user select a file(name) to examine. ⟫ None ↯ analize filename 🢰 {CurrentFilename}

ºMenuItem {menuImport} [none] 🛈 The user imports a whole new classification system ⟫ None ↯ {SourceSelect} ↯ {CategorySelect} ↯ {SubcategorySelect} ↯ {VariantSelect} ↯ {ModifierSelect} ↯ {ExtraSelect}

ºButton {ApplyQCode} [{QCode} & {CurrentFilename}] 🛈 Apply the current QCode to filename ⟫ None ↯ {CurrentFilename}

·DynamicLabel {CurrentFilename} [none] 🛈 Displays the currently selected filename (if any) ⟫ None 🢱 PhotoQ 🢰 FileLED 🢱 [hasQCode] update {Source,Category,SubCategory,Variant,Modifier,Extra}

·[]IconLabel {PhotoQ} [none] 🛈 Valid/Invalid/Unknown indicators for selected filename parts ⟫ None

·LedLabel {FileLED} [none] 🛈 Selected file is fully compliant ⟫ None

ºEntry {Time} [none] 🛈 Time in HH:MM:SS format ⟫ None 🢰 TimeLED ºEntry {Date} [none] 🛈 Date in YYYY-MM-DD format ⟫ None 🢰 TimeLED ·LedLabel {TimeLED} [none] 🛈 Both Date & Time entries are (in)valid or unset ⟫ None

ºSelect {PrefixSelect} [none] 🛈 List of allowed Prefixes for current object (Photo) ⟫ None 🢱 CustomPrefix ºEntry {CustomPrefix} [{PrefixSelect}=='CUSTOM'] 🛈 The user can write his/her own filename prefix value ⟫ PrefixSelect has a selection and it is set to 'CUSTOM'

ºSelect {SourceSelect} [none] 🛈 List of document sources ⟫ None 🢱 QCode ºSelect {ModifierSelect} [none] 🛈 List of modifiers ⟫ None 🢱 QCode ºSelect {ExtraSelect} [none] 🛈 List of extra attributes ⟫ None 🢱 QCode ºSelect {CategorySelect} [none] 🛈 List of categories (parent) ⟫ None 🢱 QCode 🢱 SubcategorySelect ºSelect {SubcategorySelect} [category selected] 🛈 List of child sub-categories for Category ⟫ A category is selected and it has sub-categories 🢱 QCode 🢱 VariantSelect ºSelect {VariantSelect} [subCategory selected] 🛈 List of grandchildren, subCat variants ⟫ A sub-category is selected and it has variants 🢱 QCode

ºEntry {QCode} [none] 🛈 (read-only) The currently composed QCode derived from the Selectors. ⟫ None 🢰 QCodeLED 🢰 ApplyQCode ·LedLabel {QCodeLED} [none] 🛈 Indicates whether the QCode is indeterminate or (in)valid ⟫ None