MythTV
master
|
Thumbnail screen. More...
#include <mythfrontend/gallerythumbview.h>
Public Slots | |
void | Start () |
Start Thumbnail screen. More... | |
void | Close () override |
Exit Gallery. More... | |
static void | ClearSgDb () |
Public Slots inherited from MythScreenType | |
virtual void | Close () |
Public Slots inherited from MythUIType | |
void | LoseFocus () |
bool | TakeFocus () |
void | Activate () |
void | Hide (void) |
void | Show (void) |
void | Refresh (void) |
void | UpdateDependState (bool isDefault) |
void | UpdateDependState (MythUIType *dependee, bool isDefault) |
Public Member Functions | |
GalleryThumbView (MythScreenStack *parent, const char *name) | |
Constructor. More... | |
~GalleryThumbView () override | |
Destructor. More... | |
bool | Create () override |
Initialises and shows the graphical elements. More... | |
Public Member Functions inherited from MythScreenType | |
MythScreenType (MythScreenStack *parent, const QString &name, bool fullscreen=true) | |
~MythScreenType () override | |
bool | inputMethodEvent (QInputMethodEvent *event) override |
Input Method event handler. More... | |
bool | gestureEvent (MythGestureEvent *event) override |
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More... | |
virtual void | ShowMenu (void) |
void | doInit (void) |
void | LoadInForeground (void) |
bool | IsInitialized (void) const |
Has Init() been called on this screen? More... | |
bool | IsFullscreen (void) const |
void | SetFullscreen (bool full) |
MythUIType * | GetFocusWidget (void) const |
bool | SetFocusWidget (MythUIType *widget=nullptr) |
virtual bool | NextPrevWidgetFocus (bool up_or_down) |
void | BuildFocusList (void) |
MythScreenStack * | GetScreenStack () const |
virtual void | aboutToHide (void) |
virtual void | aboutToShow (void) |
bool | IsDeleting (void) const |
void | SetDeleting (bool deleting) |
bool | IsLoading (void) const |
bool | IsLoaded (void) const |
MythPainter * | GetPainter (void) override |
Public Member Functions inherited from MythUIComposite | |
MythUIComposite (QObject *parent, const QString &name) | |
~MythUIComposite () override=default | |
virtual void | SetTextFromMap (const InfoMap &infoMap) |
virtual void | ResetMap (const InfoMap &infoMap) |
Public Member Functions inherited from MythUIType | |
MythUIType (QObject *parent, const QString &name) | |
virtual void | Reset (void) |
Reset the widget to it's original state, should not reset changes made by the theme. More... | |
void | AddChild (MythUIType *child) |
Add a child UIType. More... | |
MythUIType * | GetChild (const QString &name) const |
Get a named child of this UIType. More... | |
MythUIType * | GetChildAt (QPoint p, bool recursive=true, bool focusable=true) const |
Return the first MythUIType at the given coordinates. More... | |
QList< MythUIType * > * | GetAllChildren (void) |
Return a list of all child widgets. More... | |
QList< MythUIType * > | GetAllDescendants (void) |
void | DeleteChild (const QString &name) |
Delete a named child of this UIType. More... | |
void | DeleteChild (MythUIType *child) |
Delete the given UIType if it is a child of this UIType. More... | |
void | DeleteAllChildren (void) |
Delete all child widgets. More... | |
bool | NeedsRedraw (void) const |
void | ResetNeedsRedraw (void) |
void | SetRedraw (void) |
void | SetChildNeedsRedraw (MythUIType *child) |
bool | CanTakeFocus (void) const |
Return if this widget can accept input focus. More... | |
void | SetCanTakeFocus (bool set=true) |
Set whether this widget can take focus. More... | |
void | SetFocusOrder (int order) |
bool | IsEnabled (void) const |
void | SetEnabled (bool enable) |
bool | MoveToTop (void) |
bool | MoveChildToTop (MythUIType *child) |
void | ActivateAnimations (MythUIAnimation::Trigger trigger) |
QList< MythUIAnimation * > * | GetAnimations (void) |
virtual void | Pulse (void) |
Pulse is called 70 times a second to trigger a single frame of an animation. More... | |
void | Draw (MythPainter *p, int xoffset, int yoffset, int alphaMod=255, QRect clipRect=QRect()) |
void | SetPosition (int x, int y) |
Convenience method, calls SetPosition(const MythPoint&) Override that instead to change functionality. More... | |
void | SetPosition (QPoint point) |
virtual void | SetPosition (const MythPoint &point) |
virtual MythPoint | GetPosition (void) const |
virtual void | SetSize (QSize size) |
virtual void | SetMinSize (const MythPoint &size) |
Set the minimum size of this widget, for widgets which can be rescaled. More... | |
virtual QSize | GetMinSize (void) const |
virtual void | SetArea (const MythRect &rect) |
virtual void | AdjustMinArea (int delta_x, int delta_y, int delta_w, int delta_h) |
Adjust the size of a sibling. More... | |
virtual void | VanishSibling (void) |
virtual void | SetMinAreaParent (MythRect actual_area, MythRect allowed_area, MythUIType *child) |
Adjust the size of sibling objects within the button. More... | |
virtual void | SetMinArea (const MythRect &rect) |
Set the minimum area based on the given size. More... | |
virtual MythRect | GetArea (void) const |
If the object has a minimum area defined, return it, other wise return the default area. More... | |
virtual MythRect | GetFullArea (void) const |
virtual void | RecalculateArea (bool recurse=true) |
void | ExpandArea (QRect rect) |
virtual QRegion | GetDirtyArea (void) const |
bool | IsVisible (bool recurse=false) const |
virtual void | SetVisible (bool visible) |
void | MoveTo (QPoint destXY, QPoint speedXY) |
void | AdjustAlpha (int mode, int alphachange, int minalpha=0, int maxalpha=255) |
void | SetAlpha (int newalpha) |
int | GetAlpha (void) const |
MythFontProperties * | GetFont (const QString &text) const |
bool | AddFont (const QString &text, MythFontProperties *fontProp) |
void | SetHelpText (const QString &text) |
QString | GetHelpText (void) const |
void | SetXMLLocation (const QString &filename, int where) |
QString | GetXMLLocation (void) const |
void | SetXMLName (const QString &name) |
QString | GetXMLName (void) const |
bool | IsDeferredLoading (bool recurse=false) const |
void | SetDeferLoad (bool defer) |
virtual void | LoadNow (void) |
Cause images in this and child widgets to be loaded. More... | |
bool | ContainsPoint (QPoint point) const |
Check if the given point falls within this widgets area. More... | |
void | SetPainter (MythPainter *painter) |
void | SetCentre (UIEffects::Centre centre) |
void | SetZoom (float zoom) |
void | SetHorizontalZoom (float zoom) |
void | SetVerticalZoom (float zoom) |
void | SetAngle (float angle) |
void | SetDependIsDefault (bool isDefault) |
void | SetReverseDependence (MythUIType *dependee, bool reverse) |
void | SetDependsMap (QMap< QString, QString > dependsMap) |
QMap< QString, QString > | GetDependsMap () const |
Private Types | |
using | IntPair = QPair< int, int > |
using | ThumbLocation = QPair< MythUIButtonListItem *, int > |
Private Slots | |
void | LoadData (int parent) |
Loads & displays images from database. More... | |
void | SelectImage (int id) |
Select item if it is displayed. More... | |
void | ItemClicked (MythUIButtonListItem *item) |
Action item click. More... | |
void | SetUiSelection (MythUIButtonListItem *item) |
Updates text widgets for selected item. More... | |
void | Slideshow () |
void | RecursiveSlideshow () |
void | ShowDetails () |
Shows exif info/details about an item. More... | |
void | RotateCW () |
void | RotateCCW () |
void | FlipHorizontal () |
void | FlipVertical () |
void | ResetExif () |
void | RotateCWMarked () |
void | RotateCCWMarked () |
void | FlipHorizontalMarked () |
void | FlipVerticalMarked () |
void | ResetExifMarked () |
void | DoMarkItem (bool mark) |
Mark or unmark a single item. More... | |
void | MarkItem () |
void | UnmarkItem () |
void | DoMarkAll (bool mark=true) |
Mark or unmark all items. More... | |
void | MarkAll () |
void | UnmarkAll () |
void | MarkInvertAll () |
Invert all marked items. More... | |
void | DoHideItem (bool hide=true) |
Hide or unhide item. More... | |
void | HideItem () |
void | Unhide () |
void | DoHideMarked (bool hide=true) |
Hide or unhide marked items. More... | |
void | HideMarked () |
void | UnhideMarked () |
void | ShowRenameInput () |
Show dialog to allow input. More... | |
void | DoShowHidden (bool show=true) |
Show or hide hidden files. More... | |
void | ShowHidden () |
void | HideHidden () |
void | DoSetCover (bool reset=false) |
Set or reset thumbnails to use for a directory cover. More... | |
void | SetCover () |
void | ResetCover () |
void | DoShowType (int type) |
Show/hide pictures or videos. More... | |
void | ShowType () |
void | HidePictures () |
void | HideVideos () |
void | ZoomIn () |
Use smaller buttonlist widgets. More... | |
void | ZoomOut () |
Use larger buttonlist widgets. More... | |
void | ShowSettings () |
Show configuration screen. More... | |
void | DoScanAction (bool start) |
Action scan request. More... | |
void | StartScan () |
void | StopScan () |
void | DeleteItem () |
Confirm user deletion of an item. More... | |
void | DeleteMarked () |
Confirm user deletion of marked files. More... | |
void | Import () |
Executes user 'Import command'. More... | |
void | MakeDir () |
Show dialog to input new directory name. More... | |
void | Eject () |
Remove local device (or Import) from Gallery. More... | |
void | Copy (bool deleteAfter) |
Copy marked images to selected dir. If no marked files, use previously marked files. Will not overwrite/duplicate existing files on destination host. More... | |
void | Copy () |
void | Move () |
Move marked images to selected dir. If no marked files, use previously marked files. Will not overwrite/duplicate existing files on destination host. More... | |
void | ShowPassword () |
Displays dialog to accept password. More... | |
static void | DoRepeat (int on) |
static void | RepeatOn () |
static void | RepeatOff () |
Private Member Functions | |
bool | keyPressEvent (QKeyEvent *event) override |
Handle keypresses. More... | |
void | mediaEvent (MythMediaEvent *event) override |
Media/Device status event handler, received from MythMediaMonitor. More... | |
void | customEvent (QEvent *event) override |
Handle custom events. More... | |
void | RemoveImages (const QStringList &ids, bool deleted=true) |
Cleanup UI & image caches when a device is removed. More... | |
void | BuildImageList () |
Displays all images in current view. More... | |
void | ResetUiSelection () |
Clears all text widgets for selected item. More... | |
void | TransformItem (ImageFileTransform tran=kRotateCW) |
Apply transform to an image. More... | |
void | TransformMarked (ImageFileTransform tran=kRotateCW) |
Apply transform to marked images. More... | |
void | UpdateImageItem (MythUIButtonListItem *item) |
Initialises a single buttonlist item. More... | |
void | UpdateScanProgress (const QString &scanner, int current, int total) |
Update progressbar with scan status. More... | |
void | StartSlideshow (ImageSlideShowType mode) |
Start slideshow screen. More... | |
void | SelectZoomWidget (int change) |
Change buttonlist to use a different size. More... | |
QString | CheckThumbnail (MythUIButtonListItem *item, const ImagePtrK &im, ImageIdList &request, int index) |
Verify thumbnail is known to exist. More... | |
void | MenuMain () |
Shows the main menu when the MENU button was pressed. More... | |
void | MenuShow (MythMenu *mainMenu) |
Add a Show submenu. More... | |
void | MenuMarked (MythMenu *mainMenu) |
Adds a Marking submenu. More... | |
void | MenuPaste (MythMenu *mainMenu) |
Add a Paste submenu. More... | |
void | MenuTransform (MythMenu *mainMenu) |
Add a Transform submenu. More... | |
void | MenuAction (MythMenu *mainMenu) |
Add a Action submenu. More... | |
void | MenuSlideshow (MythMenu *mainMenu) |
Add a Slideshow submenu. More... | |
bool | DirSelectUp () |
Goes up one directory level. More... | |
void | DirSelectDown () |
Goes one directory level down. More... | |
void | ShowDialog (const QString &msg, const QString &event="") |
Show a confirmation dialog. More... | |
Static Private Member Functions | |
static void | UpdateThumbnail (MythUIButtonListItem *button, const ImagePtrK &im, const QString &url, int index) |
Update the buttonlist item with a thumbnail. More... | |
Private Attributes | |
MythUIButtonList * | m_imageList {nullptr} |
MythUIText * | m_captionText {nullptr} |
MythUIText * | m_crumbsText {nullptr} |
MythUIText * | m_emptyText {nullptr} |
MythUIText * | m_hideFilterText {nullptr} |
MythUIText * | m_typeFilterText {nullptr} |
MythUIText * | m_positionText {nullptr} |
MythUIText * | m_scanProgressText {nullptr} |
MythUIProgressBar * | m_scanProgressBar {nullptr} |
QList< MythUIButtonList * > | m_zoomWidgets |
Theme buttonlist widgets implementing zoom levels. More... | |
int | m_zoomLevel {0} |
MythScreenStack & | m_popupStack |
ImageManagerFe & | m_mgr |
Manages the images. More... | |
DirectoryView * | m_view {nullptr} |
List of images comprising the view. More... | |
InfoList | m_infoList |
Image details overlay. More... | |
QHash< QString, IntPair > | m_scanProgress |
Last scan updates received from scanners. More... | |
QSet< QString > | m_scanActive |
Scanners currently scanning. More... | |
MenuSubjects | m_menuState |
Current selection/marked files when menu is invoked. More... | |
QMultiHash< int, ThumbLocation > | m_pendingMap |
Buttons waiting for thumbnails to be created. More... | |
QSet< int > | m_thumbExists |
Images where thumbnails are known to exist. More... | |
bool | m_editsAllowed {false} |
Edit privileges. More... | |
Additional Inherited Members | |
Signals inherited from MythScreenType | |
void | Exiting () |
Signals inherited from MythUIType | |
void | RequestUpdate () |
void | RequestRegionUpdate (const QRect &) |
void | TakingFocus () |
void | LosingFocus () |
void | VisibilityChanged (bool Visible) |
void | Showing () |
void | Hiding () |
void | Enabling () |
void | Disabling () |
void | FinishedMoving () |
void | FinishedFading () |
void | DependChanged (bool isDefault) |
Static Public Member Functions inherited from XMLParseBase | |
static QString | getFirstText (QDomElement &element) |
static bool | parseBool (const QString &text) |
static bool | parseBool (QDomElement &element) |
static MythPoint | parsePoint (const QString &text, bool normalize=true) |
static MythPoint | parsePoint (QDomElement &element, bool normalize=true) |
static QSize | parseSize (const QString &text, bool normalize=true) |
static QSize | parseSize (QDomElement &element, bool normalize=true) |
static MythRect | parseRect (const QString &text, bool normalize=true) |
static MythRect | parseRect (QDomElement &element, bool normalize=true) |
static int | parseAlignment (const QString &text) |
static int | parseAlignment (QDomElement &element) |
static QBrush | parseGradient (const QDomElement &element) |
static QString | parseText (QDomElement &element) |
static MythUIType * | GetGlobalObjectStore (void) |
static void | ClearGlobalObjectStore (void) |
static void | ParseChildren (const QString &filename, QDomElement &element, MythUIType *parent, bool showWarnings) |
static MythUIType * | ParseUIType (const QString &filename, QDomElement &element, const QString &type, MythUIType *parent, MythScreenType *screen, bool showWarnings, QMap< QString, QString > &parentDependsMap) |
static bool | WindowExists (const QString &xmlfile, const QString &windowname) |
static bool | LoadWindowFromXML (const QString &xmlfile, const QString &windowname, MythUIType *parent) |
static bool | LoadBaseTheme (void) |
static bool | LoadBaseTheme (const QString &baseTheme) |
static bool | CopyWindowFromBase (const QString &windowname, MythScreenType *win) |
Protected Member Functions inherited from MythScreenType | |
MythScreenType (MythUIType *parent, const QString &name, bool fullscreen=true) | |
void | CopyFrom (MythUIType *base) override |
Copy this widgets state from another. More... | |
void | CreateCopy (MythUIType *parent) override |
Copy the state of this widget to the one given, it must be of the same type. More... | |
bool | ParseElement (const QString &filename, QDomElement &element, bool showWarnings) override |
Parse the xml definition of this widget setting the state of the object accordingly. More... | |
virtual void | Load (void) |
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning) More... | |
virtual void | Init (void) |
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load() More... | |
void | LoadInBackground (const QString &message="") |
void | ReloadInBackground (void) |
void | OpenBusyPopup (const QString &message="") |
void | CloseBusyPopup (void) |
void | SetBusyPopupMessage (const QString &message) |
void | ResetBusyPopup (void) |
Protected Member Functions inherited from MythUIType | |
~MythUIType () override | |
void | customEvent (QEvent *event) override |
virtual void | DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) |
void | AddFocusableChildrenToList (FocusInfoType &focusList) |
void | HandleAlphaPulse () |
Handle one frame of an alpha (transparency) change animation. More... | |
void | HandleMovementPulse () |
Handle one frame of a movement animation. More... | |
int | CalcAlpha (int alphamod) const |
void | ConnectDependants (bool recurse=false) |
virtual void | Finalize (void) |
Perform any post-xml parsing initialisation tasks. More... | |
Static Protected Member Functions inherited from MythUIType | |
static int | NormX (int width) |
static int | NormY (int height) |
Protected Attributes inherited from MythScreenType | |
bool | m_fullScreen {false} |
bool | m_isDeleting {false} |
QSemaphore | m_loadLock {1} |
volatile bool | m_isLoading {false} |
volatile bool | m_isLoaded {false} |
bool | m_isInitialized {false} |
MythUIType * | m_currentFocusWidget {nullptr} |
FocusInfoType | m_focusWidgetList |
MythScreenStack * | m_screenStack {nullptr} |
MythUIBusyDialog * | m_busyPopup {nullptr} |
QRegion | m_savedMask |
Protected Attributes inherited from MythUIType | |
QList< MythUIType * > | m_childrenList |
QMap< QString, QString > | m_dependsMap |
QList< QPair< MythUIType *, bool > > | m_dependsValue |
QList< int > | m_dependOperator |
bool | m_visible {true} |
bool | m_hasFocus {false} |
bool | m_canHaveFocus {false} |
bool | m_enabled {true} |
bool | m_enableInitiator {false} |
bool | m_initiator {false} |
bool | m_vanish {false} |
bool | m_vanished {false} |
bool | m_isDependDefault {false} |
QMap< MythUIType *, bool > | m_reverseDepend |
int | m_focusOrder {0} |
MythRect | m_area {0,0,0,0} |
MythRect | m_minArea {0,0,0,0} |
MythPoint | m_minSize |
QRegion | m_dirtyRegion {0,0,0,0} |
bool | m_needsRedraw {false} |
UIEffects | m_effects |
int | m_alphaChangeMode {0} |
int | m_alphaChange {0} |
int | m_alphaMin {0} |
int | m_alphaMax {255} |
bool | m_moving {false} |
QPoint | m_xyDestination {0,0} |
QPoint | m_xySpeed {0,0} |
FontMap * | m_fonts {nullptr} |
MythUIType * | m_parent {nullptr} |
MythPainter * | m_painter {nullptr} |
QList< MythUIAnimation * > | m_animations |
QString | m_helptext |
QString | m_xmlName |
QString | m_xmlLocation |
bool | m_deferload {false} |
QColor | m_borderColor {Qt::black} |
Thumbnail screen.
Definition at line 23 of file gallerythumbview.h.
|
private |
Definition at line 127 of file gallerythumbview.h.
|
private |
Definition at line 157 of file gallerythumbview.h.
GalleryThumbView::GalleryThumbView | ( | MythScreenStack * | parent, |
const char * | name | ||
) |
Constructor.
parent | The screen parent |
name | The name of the screen |
Definition at line 163 of file gallerythumbview.cpp.
|
override |
Destructor.
Definition at line 182 of file gallerythumbview.cpp.
|
overridevirtual |
Initialises and shows the graphical elements.
Reimplemented from MythScreenType.
Definition at line 211 of file gallerythumbview.cpp.
|
slot |
Start Thumbnail screen.
Definition at line 606 of file gallerythumbview.cpp.
|
overrideslot |
Exit Gallery.
Definition at line 192 of file gallerythumbview.cpp.
|
inlinestaticslot |
Definition at line 34 of file gallerythumbview.h.
Referenced by ShowSettings().
|
overrideprivatevirtual |
Handle keypresses.
event | The pressed key |
Reimplemented from MythScreenType.
Definition at line 275 of file gallerythumbview.cpp.
|
inlineoverrideprivatevirtual |
Media/Device status event handler, received from MythMediaMonitor.
event | Media event |
Reimplemented from MythUIType.
Definition at line 38 of file gallerythumbview.h.
|
overrideprivate |
Handle custom events.
event | The custom event |
Definition at line 369 of file gallerythumbview.cpp.
Cleanup UI & image caches when a device is removed.
ids | List of ids to remove from image cache |
deleted | If true, images are also deleted from view |
Definition at line 582 of file gallerythumbview.cpp.
Referenced by customEvent().
|
private |
Displays all images in current view.
Definition at line 665 of file gallerythumbview.cpp.
Referenced by customEvent(), DoMarkAll(), DoMarkItem(), LoadData(), MarkInvertAll(), SelectImage(), ShowSettings(), ZoomIn(), and ZoomOut().
|
private |
Clears all text widgets for selected item.
Definition at line 957 of file gallerythumbview.cpp.
Referenced by LoadData().
|
private |
Apply transform to an image.
transform | Rotation/Flip |
Definition at line 1560 of file gallerythumbview.cpp.
Referenced by FlipHorizontal(), FlipVertical(), ResetExif(), RotateCCW(), and RotateCW().
|
private |
Apply transform to marked images.
transform | Rotation/Flip |
Definition at line 1578 of file gallerythumbview.cpp.
Referenced by FlipHorizontalMarked(), FlipVerticalMarked(), ResetExifMarked(), RotateCCWMarked(), and RotateCWMarked().
|
private |
Initialises a single buttonlist item.
item | The buttonlist item |
Definition at line 713 of file gallerythumbview.cpp.
Referenced by BuildImageList().
|
private |
Update progressbar with scan status.
Combines progress of both BE & FE scanners
scanner | Scanner id |
current | Number of images scanned |
total | Total number of images to scan |
Definition at line 876 of file gallerythumbview.cpp.
Referenced by customEvent(), and Start().
|
private |
Start slideshow screen.
mode | Browse, Normal or Recursive |
Definition at line 1437 of file gallerythumbview.cpp.
Referenced by ItemClicked(), RecursiveSlideshow(), and Slideshow().
|
private |
Change buttonlist to use a different size.
change | Adjustment, +1 to use bigger buttons, -1 for smaller buttons |
Definition at line 1853 of file gallerythumbview.cpp.
|
private |
Verify thumbnail is known to exist.
Thumbnails are only displayed when known to exist on the BE. Otherwise repeated failures to load them severely hinders performance. Note a single specific BE request is much faster than scanning the image cache
item | The buttonlist item being constructed |
im | Image data |
request | List of ids that are unknown |
index | Thumbnail index in buttonlist item (Dirs use 4 thumbnails) |
Definition at line 820 of file gallerythumbview.cpp.
Referenced by UpdateImageItem().
|
staticprivate |
Update the buttonlist item with a thumbnail.
button | Buttonlist item to update |
im | Image data |
url | URL of the thumbnail |
index | Index of the thumbnail on the button |
Definition at line 847 of file gallerythumbview.cpp.
Referenced by customEvent(), and UpdateImageItem().
|
private |
Shows the main menu when the MENU button was pressed.
Definition at line 1038 of file gallerythumbview.cpp.
Referenced by keyPressEvent().
|
private |
Add a Show submenu.
mainMenu | Parent menu |
Definition at line 1320 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
private |
Adds a Marking submenu.
mainMenu | Parent menu |
Definition at line 1081 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
private |
Add a Paste submenu.
mainMenu | Parent menu |
Definition at line 1134 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
private |
Add a Transform submenu.
mainMenu | Parent menu |
Definition at line 1163 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
private |
Add a Action submenu.
mainMenu | Parent menu |
Definition at line 1199 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
private |
Add a Slideshow submenu.
mainMenu | Parent menu |
Definition at line 1267 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
private |
Goes up one directory level.
Definition at line 1475 of file gallerythumbview.cpp.
Referenced by ItemClicked(), and keyPressEvent().
|
private |
Goes one directory level down.
Definition at line 1496 of file gallerythumbview.cpp.
Referenced by ItemClicked().
|
private |
Show a confirmation dialog.
msg | Text to display |
event | Event label |
Definition at line 1727 of file gallerythumbview.cpp.
Referenced by DeleteItem(), and DeleteMarked().
|
privateslot |
Loads & displays images from database.
parent | Id of parent dir |
Definition at line 630 of file gallerythumbview.cpp.
Referenced by customEvent(), DirSelectDown(), DirSelectUp(), DoShowHidden(), DoShowType(), ShowSettings(), and Start().
|
privateslot |
Select item if it is displayed.
id | Image id |
Definition at line 1382 of file gallerythumbview.cpp.
Referenced by StartSlideshow().
|
privateslot |
Action item click.
item | Buttonlist item |
Definition at line 1394 of file gallerythumbview.cpp.
Referenced by SelectZoomWidget().
|
privateslot |
Updates text widgets for selected item.
item | The selected buttonlist item |
Definition at line 980 of file gallerythumbview.cpp.
Referenced by SelectZoomWidget().
|
inlineprivateslot |
Definition at line 70 of file gallerythumbview.h.
Referenced by keyPressEvent(), and MenuSlideshow().
|
inlineprivateslot |
Definition at line 71 of file gallerythumbview.h.
Referenced by keyPressEvent(), and MenuSlideshow().
|
privateslot |
Shows exif info/details about an item.
Definition at line 1770 of file gallerythumbview.cpp.
Referenced by keyPressEvent(), and MenuShow().
|
inlineprivateslot |
Definition at line 73 of file gallerythumbview.h.
Referenced by keyPressEvent(), and MenuTransform().
|
inlineprivateslot |
Definition at line 74 of file gallerythumbview.h.
Referenced by keyPressEvent(), and MenuTransform().
|
inlineprivateslot |
Definition at line 75 of file gallerythumbview.h.
Referenced by keyPressEvent(), and MenuTransform().
|
inlineprivateslot |
Definition at line 76 of file gallerythumbview.h.
Referenced by keyPressEvent(), and MenuTransform().
|
inlineprivateslot |
Definition at line 77 of file gallerythumbview.h.
Referenced by MenuTransform().
|
inlineprivateslot |
Definition at line 78 of file gallerythumbview.h.
Referenced by MenuTransform().
|
inlineprivateslot |
Definition at line 79 of file gallerythumbview.h.
Referenced by MenuTransform().
|
inlineprivateslot |
Definition at line 80 of file gallerythumbview.h.
Referenced by MenuTransform().
|
inlineprivateslot |
Definition at line 81 of file gallerythumbview.h.
Referenced by MenuTransform().
|
inlineprivateslot |
Definition at line 82 of file gallerythumbview.h.
Referenced by MenuTransform().
|
privateslot |
Mark or unmark a single item.
mark | Mark if true, otherwise unmark |
Definition at line 1514 of file gallerythumbview.cpp.
Referenced by keyPressEvent(), MarkItem(), and UnmarkItem().
|
inlineprivateslot |
Definition at line 84 of file gallerythumbview.h.
Referenced by MenuMarked().
|
inlineprivateslot |
Definition at line 85 of file gallerythumbview.h.
Referenced by MenuMarked().
Mark or unmark all items.
mark | Mark if true, otherwise unmark |
Definition at line 1532 of file gallerythumbview.cpp.
Referenced by MarkAll(), and UnmarkAll().
|
inlineprivateslot |
Definition at line 87 of file gallerythumbview.h.
Referenced by MenuMarked().
|
inlineprivateslot |
Definition at line 88 of file gallerythumbview.h.
Referenced by MenuMarked().
|
privateslot |
Invert all marked items.
Definition at line 1547 of file gallerythumbview.cpp.
Referenced by MenuMarked().
Hide or unhide item.
hide | Hide if true; otherwise unhide |
Definition at line 1590 of file gallerythumbview.cpp.
Referenced by HideItem(), and Unhide().
|
inlineprivateslot |
Definition at line 91 of file gallerythumbview.h.
Referenced by MenuAction().
|
inlineprivateslot |
Definition at line 92 of file gallerythumbview.h.
Referenced by MenuAction().
Hide or unhide marked items.
hide | Hide if true; otherwise unhide |
Definition at line 1615 of file gallerythumbview.cpp.
Referenced by HideMarked(), and UnhideMarked().
|
inlineprivateslot |
Definition at line 94 of file gallerythumbview.h.
Referenced by MenuAction().
|
inlineprivateslot |
Definition at line 95 of file gallerythumbview.h.
Referenced by MenuAction().
|
privateslot |
Show dialog to allow input.
Definition at line 1746 of file gallerythumbview.cpp.
Referenced by MenuAction().
Show or hide hidden files.
show | Show hidden, if true. Otherwise hide hidden |
Definition at line 1708 of file gallerythumbview.cpp.
Referenced by HideHidden(), and ShowHidden().
|
inlineprivateslot |
Definition at line 98 of file gallerythumbview.h.
Referenced by MenuShow().
|
inlineprivateslot |
Definition at line 99 of file gallerythumbview.h.
Referenced by MenuShow().
Set or reset thumbnails to use for a directory cover.
reset | Reset cover if true, otherwise assign selected item as cover of parent |
Definition at line 1816 of file gallerythumbview.cpp.
Referenced by ResetCover(), and SetCover().
|
inlineprivateslot |
Definition at line 101 of file gallerythumbview.h.
Referenced by MenuAction().
|
inlineprivateslot |
Definition at line 102 of file gallerythumbview.h.
Referenced by MenuAction().
|
privateslot |
Show/hide pictures or videos.
Definition at line 1798 of file gallerythumbview.cpp.
Referenced by HidePictures(), HideVideos(), and ShowType().
|
inlineprivateslot |
Definition at line 104 of file gallerythumbview.h.
Referenced by MenuShow().
|
inlineprivateslot |
Definition at line 105 of file gallerythumbview.h.
Referenced by MenuShow().
|
inlineprivateslot |
Definition at line 106 of file gallerythumbview.h.
Referenced by MenuShow().
|
privateslot |
Use smaller buttonlist widgets.
Definition at line 1842 of file gallerythumbview.cpp.
Referenced by keyPressEvent(), and MenuShow().
|
privateslot |
Use larger buttonlist widgets.
Definition at line 1832 of file gallerythumbview.cpp.
Referenced by keyPressEvent(), and MenuShow().
|
privateslot |
Show configuration screen.
Definition at line 1655 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
privateslot |
Action scan request.
start | Start scan, if true. Otherwise stop scan |
Definition at line 1425 of file gallerythumbview.cpp.
Referenced by StartScan(), and StopScan().
|
inlineprivateslot |
Definition at line 111 of file gallerythumbview.h.
Referenced by MenuMain().
|
inlineprivateslot |
Definition at line 112 of file gallerythumbview.h.
Referenced by MenuMain().
|
privateslot |
Confirm user deletion of an item.
Definition at line 1634 of file gallerythumbview.cpp.
Referenced by MenuAction().
|
privateslot |
Confirm user deletion of marked files.
Definition at line 1645 of file gallerythumbview.cpp.
Referenced by MenuAction().
|
privateslot |
Executes user 'Import command'.
Definition at line 2164 of file gallerythumbview.cpp.
Referenced by MenuAction().
|
privateslot |
Show dialog to input new directory name.
Definition at line 1892 of file gallerythumbview.cpp.
Referenced by MenuAction().
|
privateslot |
Remove local device (or Import) from Gallery.
Definition at line 1912 of file gallerythumbview.cpp.
Referenced by MenuAction().
|
privateslot |
Copy marked images to selected dir. If no marked files, use previously marked files. Will not overwrite/duplicate existing files on destination host.
Copies files and dir subtrees and updates Db to preserve states such as hidden, orientation & cover. Attempts to copy all files and reports the number of failures (but not which ones)
deleteAfter | If set, source images will be deleted after being successfully copied. |
Definition at line 1929 of file gallerythumbview.cpp.
|
inlineprivateslot |
Definition at line 119 of file gallerythumbview.h.
Referenced by Copy(), MenuPaste(), and Move().
|
privateslot |
Move marked images to selected dir. If no marked files, use previously marked files. Will not overwrite/duplicate existing files on destination host.
When moving between different hosts the files are copied then deleted. When moving on same host the files are renamed by the filesystem (which may also copy/delete). The Db is updated to preserve states such as hidden, orientation & cover. Attempts to move all files and reports the number of failures (but not which ones) Successful moves are unmarked, failed ones remain marked.
Definition at line 2057 of file gallerythumbview.cpp.
Referenced by MenuPaste().
|
privateslot |
Displays dialog to accept password.
Definition at line 1779 of file gallerythumbview.cpp.
Referenced by MenuMain().
|
inlinestaticprivateslot |
Definition at line 122 of file gallerythumbview.h.
Referenced by RepeatOff(), and RepeatOn().
|
inlinestaticprivateslot |
Definition at line 123 of file gallerythumbview.h.
Referenced by MenuSlideshow().
|
inlinestaticprivateslot |
Definition at line 124 of file gallerythumbview.h.
Referenced by MenuSlideshow().
|
private |
Definition at line 130 of file gallerythumbview.h.
Referenced by BuildImageList(), LoadData(), and SelectZoomWidget().
|
private |
Definition at line 131 of file gallerythumbview.h.
Referenced by Create(), ResetUiSelection(), and SetUiSelection().
|
private |
Definition at line 132 of file gallerythumbview.h.
Referenced by Create(), ResetUiSelection(), and SetUiSelection().
|
private |
Definition at line 133 of file gallerythumbview.h.
Referenced by Create(), and LoadData().
|
private |
Definition at line 134 of file gallerythumbview.h.
Referenced by Create(), ResetUiSelection(), and SetUiSelection().
|
private |
Definition at line 135 of file gallerythumbview.h.
Referenced by Create(), ResetUiSelection(), and SetUiSelection().
|
private |
Definition at line 136 of file gallerythumbview.h.
Referenced by Create(), ResetUiSelection(), and SetUiSelection().
|
private |
Definition at line 137 of file gallerythumbview.h.
Referenced by Create(), and UpdateScanProgress().
|
private |
Definition at line 138 of file gallerythumbview.h.
Referenced by Create(), and UpdateScanProgress().
|
private |
Theme buttonlist widgets implementing zoom levels.
Definition at line 141 of file gallerythumbview.h.
Referenced by Create(), MenuShow(), and SelectZoomWidget().
|
private |
Definition at line 142 of file gallerythumbview.h.
Referenced by Create(), MenuShow(), and SelectZoomWidget().
|
private |
Definition at line 144 of file gallerythumbview.h.
Referenced by MakeDir(), MenuMain(), ShowDialog(), ShowPassword(), and ShowRenameInput().
|
private |
Manages the images.
Definition at line 145 of file gallerythumbview.h.
Referenced by Close(), Copy(), customEvent(), DoHideItem(), DoHideMarked(), DoScanAction(), DoSetCover(), DoShowHidden(), DoShowType(), Eject(), GalleryThumbView(), Import(), keyPressEvent(), mediaEvent(), MenuShow(), Move(), SetUiSelection(), ShowSettings(), Start(), TransformItem(), TransformMarked(), and UpdateImageItem().
|
private |
List of images comprising the view.
Definition at line 146 of file gallerythumbview.h.
Referenced by BuildImageList(), Close(), customEvent(), DirSelectDown(), DirSelectUp(), DoHideItem(), DoHideMarked(), DoMarkAll(), DoMarkItem(), DoShowHidden(), DoShowType(), ItemClicked(), keyPressEvent(), LoadData(), MarkInvertAll(), MenuAction(), MenuMain(), MenuMarked(), Move(), RemoveImages(), SelectImage(), SetUiSelection(), ShowDetails(), ShowSettings(), StartSlideshow(), TransformItem(), UpdateImageItem(), and ~GalleryThumbView().
|
private |
Image details overlay.
Definition at line 147 of file gallerythumbview.h.
Referenced by Create(), customEvent(), keyPressEvent(), LoadData(), MenuShow(), SetUiSelection(), and ShowDetails().
|
private |
Last scan updates received from scanners.
Definition at line 150 of file gallerythumbview.h.
Referenced by UpdateScanProgress().
|
private |
Scanners currently scanning.
Definition at line 152 of file gallerythumbview.h.
Referenced by MenuMain(), and UpdateScanProgress().
|
private |
Current selection/marked files when menu is invoked.
Definition at line 155 of file gallerythumbview.h.
Referenced by Copy(), customEvent(), DeleteItem(), DoHideItem(), DoHideMarked(), DoSetCover(), Eject(), MenuAction(), MenuMain(), MenuMarked(), MenuPaste(), MenuSlideshow(), MenuTransform(), Move(), ShowRenameInput(), and TransformMarked().
|
private |
Buttons waiting for thumbnails to be created.
Definition at line 159 of file gallerythumbview.h.
Referenced by BuildImageList(), CheckThumbnail(), and customEvent().
|
private |
Images where thumbnails are known to exist.
Definition at line 161 of file gallerythumbview.h.
Referenced by CheckThumbnail(), customEvent(), and RemoveImages().
Edit privileges.
Definition at line 162 of file gallerythumbview.h.
Referenced by customEvent(), GalleryThumbView(), keyPressEvent(), MenuMain(), MenuShow(), ShowSettings(), StartSlideshow(), and TransformItem().