File indexing completed on 2024-05-12 15:55:34
0001 /* SPDX-FileCopyrightText: 2003-2020 The KPhotoAlbum Development Team 0002 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 #ifndef KPABASE_ENUMS_H 0006 #define KPABASE_ENUMS_H 0007 0008 namespace AnnotationDialog 0009 { 0010 enum UsageMode { InputSingleImageConfigMode, 0011 InputMultiImageConfigMode, 0012 SearchMode }; 0013 enum MatchType { MatchFromBeginning, 0014 MatchFromWordStart, 0015 MatchAnywhere }; 0016 /** @short Distinguishes between user-induced changes to ResizableFrame and automatic ones. 0017 * 0018 * Manual changes are any ones that are in some way conscious by the user (e.g. setting the tag data). 0019 * Automatic changes suppress some signals (e.g. when setting a transient value). 0020 */ 0021 enum ChangeOrigin { ManualChange, 0022 AutomatedChange }; 0023 } 0024 enum ListSelectEditMode { 0025 ReadOnly, ///< values can not be changed 0026 Selectable, ///< existing values can be (de)selected, but no value can be added or removed 0027 Editable ///< values can be freely added, selected, and removed 0028 }; 0029 0030 #endif /* KPABASE_ENUMS_H */ 0031 0032 // vi:expandtab:tabstop=4 shiftwidth=4: