QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskNamespace.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_NAMESPACE_H
7#define QSK_NAMESPACE_H
8
9#include "QskGlobal.h"
10#include <qmetaobject.h>
11
12namespace Qsk
13{
14 Q_NAMESPACE_EXPORT( QSK_EXPORT )
15
23 Q_ENUM_NS( Direction )
24
25 enum TextStyle
26 {
27 Normal,
28 Outline,
29 Raised,
30 Sunken
31 };
32 Q_ENUM_NS( TextStyle )
33
35 {
36 Visible = 1 << 0,
37 Hidden = 1 << 1
38 };
39 Q_ENUM_NS( Visibility )
40
41 Q_DECLARE_FLAGS( Visibilities, Visibility )
42 Q_DECLARE_OPERATORS_FOR_FLAGS( Visibilities )
43}
44
45#endif
Global definitions.
Direction
This enum type specifies a horizontal ot vertical direction.
@ LeftToRight
@ RightToLeft
@ BottomToTop
@ TopToBottom
Visibility
Visibility of an object.
@ Visible
@ Hidden