File indexing completed on 2024-11-24 04:15:40

0001 /*
0002     SPDX-FileCopyrightText: 2024 Volker Krause <vkrause@kde.org>
0003     SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005 
0006 #ifndef KOSMINDOORMAP_MAPCSSELEMENTSTATE_H
0007 #define KOSMINDOORMAP_MAPCSSELEMENTSTATE_H
0008 
0009 #include <QFlags>
0010 
0011 namespace KOSMIndoorMap {
0012 
0013 /** Element states accessible via pseudo-classes. */
0014 enum class MapCSSElementState {
0015     NoState = 0,
0016     Active = 1, /// element is selected
0017     Hovered = 2, /// element is hovered
0018 };
0019 
0020 Q_DECLARE_FLAGS(MapCSSElementStates, MapCSSElementState)
0021 
0022 }
0023 
0024 Q_DECLARE_OPERATORS_FOR_FLAGS(KOSMIndoorMap::MapCSSElementStates)
0025 
0026 #endif