MythTV  master
Public Member Functions | Public Attributes | List of all members
MenuSubjects Class Reference

A snapshot of current selection, markings & dir info when menu is invoked. More...

#include <galleryviews.h>

Collaboration diagram for MenuSubjects:
Collaboration graph
[legend]

Public Member Functions

 MenuSubjects ()=default
 
 MenuSubjects (const ImagePtrK &selection, int childCount, MarkedFiles &marked, MarkedFiles &prevMarked, bool hiddenMarked, bool unhiddenMarked)
 

Public Attributes

ImagePtrK m_selected {nullptr}
 Selected item. More...
 
bool m_selectedMarked {false}
 Is selected item marked ? More...
 
ImageIdList m_markedId
 Ids of all marked items. More...
 
ImageIdList m_prevMarkedId
 Ids of marked items in previous dir. More...
 
int m_childCount {0}
 Number of images & dirs excl parent. More...
 
bool m_hiddenMarked {false}
 Is any marked item hidden ? More...
 
bool m_unhiddenMarked {false}
 Is any marked item unhidden ? More...
 

Detailed Description

A snapshot of current selection, markings & dir info when menu is invoked.

Definition at line 52 of file galleryviews.h.

Constructor & Destructor Documentation

◆ MenuSubjects() [1/2]

MenuSubjects::MenuSubjects ( )
default

◆ MenuSubjects() [2/2]

MenuSubjects::MenuSubjects ( const ImagePtrK selection,
int  childCount,
MarkedFiles marked,
MarkedFiles prevMarked,
bool  hiddenMarked,
bool  unhiddenMarked 
)
inline

Definition at line 56 of file galleryviews.h.

Member Data Documentation

◆ m_selected

ImagePtrK MenuSubjects::m_selected {nullptr}

◆ m_selectedMarked

bool MenuSubjects::m_selectedMarked {false}

Is selected item marked ?

Definition at line 67 of file galleryviews.h.

Referenced by GalleryThumbView::MenuMarked().

◆ m_markedId

ImageIdList MenuSubjects::m_markedId

◆ m_prevMarkedId

ImageIdList MenuSubjects::m_prevMarkedId

Ids of marked items in previous dir.

Definition at line 69 of file galleryviews.h.

Referenced by GalleryThumbView::Copy(), GalleryThumbView::MenuPaste(), and GalleryThumbView::Move().

◆ m_childCount

int MenuSubjects::m_childCount {0}

Number of images & dirs excl parent.

Definition at line 70 of file galleryviews.h.

Referenced by GalleryThumbView::MenuMarked().

◆ m_hiddenMarked

bool MenuSubjects::m_hiddenMarked {false}

Is any marked item hidden ?

Definition at line 71 of file galleryviews.h.

Referenced by GalleryThumbView::MenuAction().

◆ m_unhiddenMarked

bool MenuSubjects::m_unhiddenMarked {false}

Is any marked item unhidden ?

Definition at line 72 of file galleryviews.h.

Referenced by GalleryThumbView::MenuAction().


The documentation for this class was generated from the following file: