File indexing completed on 2024-04-28 04:21:21

0001 /* SPDX-FileCopyrightText: 2003-2010 Jesper K. Pedersen <blackie@kde.org>
0002 
0003    SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 #ifndef THUMBNAILVIEW_ENUMS_H
0006 #define THUMBNAILVIEW_ENUMS_H
0007 
0008 namespace ThumbnailView
0009 {
0010 enum SortDirection { NewestFirst,
0011                      OldestFirst };
0012 enum Order { ViewOrder,
0013              SortedOrder };
0014 enum CoordinateSystem { ViewportCoordinates,
0015                         ContentsCoordinates };
0016 enum VisibleState { FullyVisible,
0017                     PartlyVisible };
0018 
0019 enum SelectionUpdateMethod { ClearSelection,
0020                              MaintainSelection };
0021 /** @short Operation mode of selection in ThumbnailView.
0022  *
0023  * The SelectionMode determines how collapsed stacks and partially
0024  * selected stacks are handled when determining which images to include
0025  * in the selection.
0026  */
0027 enum SelectionMode {
0028     NoExpandCollapsedStacks, //< @short Only include images that have been explicitly marked.
0029     ExpandCollapsedStacks, //< @short For collapsed stacks, include the whole stack instead of just the stack head.
0030     IncludeAllStacks //< @short Include the whole stack, even if the stack is expanded and only parts of it are selected.
0031 };
0032 
0033 }
0034 
0035 #endif /* THUMBNAILVIEW_ENUMS_H */
0036 // vi:expandtab:tabstop=4 shiftwidth=4: