| MythTV master
    | 
The image info/details buttonlist overlay that displays exif tags. More...
#include <mythfrontend/galleryinfo.h>
| Public Member Functions | |
| InfoList (MythScreenType &screen) | |
| Constructor.  More... | |
| bool | Create (bool focusable) | 
| Initialise buttonlist from XML.  More... | |
| void | Toggle (const ImagePtrK &im) | 
| Toggle infolist state for an image. Focusable widgets toggle between Basic & Full info. Non-focusable widgets toggle between Basic & Off.  More... | |
| bool | Hide () | 
| Remove infolist from display.  More... | |
| void | Update (const ImagePtrK &im) | 
| Populates available exif details for the current image/dir.  More... | |
| void | Display (ImageItemK &im, const QStringList &tagStrings) | 
| Build list of metadata tags.  More... | |
| InfoVisibleState | GetState () const | 
| Private Slots | |
| void | Clear () | 
| Private Member Functions | |
| void | CreateButton (const QString &name, const QString &value) | 
| Populate a buttonlist item with exif tag name & value.  More... | |
| void | CreateCount (ImageItemK &im) | 
| Creates buttons detailing dir counts & size.  More... | |
| Private Attributes | |
| MythScreenType & | m_screen | 
| Parent screen.  More... | |
| MythUIButtonList * | m_btnList {nullptr} | 
| Overlay buttonlist.  More... | |
| InfoVisibleState | m_infoVisible {kNoInfo} | 
| Info list state.  More... | |
| ImageManagerFe & | m_mgr | 
| Image Manager.  More... | |
| QTimer | m_timer | 
| Clears list if no new metadata arrives.  More... | |
The image info/details buttonlist overlay that displays exif tags.
Definition at line 23 of file galleryinfo.h.
| 
 | explicit | 
Constructor.
Definition at line 54 of file galleryinfo.cpp.
| 
 | inlineprivateslot | 
Definition at line 37 of file galleryinfo.h.
Referenced by Display(), InfoList(), Toggle(), and Update().
Initialise buttonlist from XML.
| focusable | Set if info list should be focusable (for scrolling) | 
Definition at line 68 of file galleryinfo.cpp.
Referenced by GallerySlideView::Create(), and GalleryThumbView::Create().
| 
 | private | 
Populate a buttonlist item with exif tag name & value.
| name | Exif tag name | 
| value | Exif tag value | 
Definition at line 139 of file galleryinfo.cpp.
Referenced by CreateCount(), Display(), and Update().
| 
 | private | 
Creates buttons detailing dir counts & size.
| im | Image dir | 
Definition at line 158 of file galleryinfo.cpp.
| void InfoList::Display | ( | ImageItemK & | im, | 
| const QStringList & | tagStrings | ||
| ) | 
Build list of metadata tags.
| im | Image | 
| tagStrings | Metadata encoded as list of key<sep>label<sep>value | 
Definition at line 226 of file galleryinfo.cpp.
Referenced by GallerySlideView::customEvent(), and GalleryThumbView::customEvent().
| 
 | inline | 
Definition at line 34 of file galleryinfo.h.
Referenced by GallerySlideView::MenuMain(), and GalleryThumbView::MenuShow().
| bool InfoList::Hide | ( | void | ) | 
Remove infolist from display.
Definition at line 122 of file galleryinfo.cpp.
Referenced by GallerySlideView::HideInfo(), GallerySlideView::keyPressEvent(), GalleryThumbView::keyPressEvent(), GalleryThumbView::LoadData(), and GallerySlideView::ShowNextSlide().
| void InfoList::Toggle | ( | const ImagePtrK & | im | ) | 
Toggle infolist state for an image. Focusable widgets toggle between Basic & Full info. Non-focusable widgets toggle between Basic & Off.
| im | The image/dir for which info is shown | 
Definition at line 86 of file galleryinfo.cpp.
Referenced by GalleryThumbView::ShowDetails(), and GallerySlideView::ShowInfo().
| void InfoList::Update | ( | const ImagePtrK & | im | ) | 
Populates available exif details for the current image/dir.
| im | An image or dir | 
Definition at line 200 of file galleryinfo.cpp.
Referenced by GalleryThumbView::SetUiSelection(), Toggle(), and GallerySlideView::TransitionComplete().
| 
 | private | 
Overlay buttonlist.
Definition at line 44 of file galleryinfo.h.
Referenced by Clear(), Create(), CreateButton(), Display(), Hide(), and Toggle().
| 
 | private | 
Info list state.
Definition at line 45 of file galleryinfo.h.
Referenced by Display(), GetState(), Hide(), Toggle(), and Update().
| 
 | private | 
Image Manager.
Definition at line 46 of file galleryinfo.h.
Referenced by CreateCount(), Display(), and Update().
| 
 | private | 
| 
 | private | 
Clears list if no new metadata arrives.
Definition at line 47 of file galleryinfo.h.
Referenced by Display(), InfoList(), and Update().