libs/flake
KoFlake.hGo to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KOFLAKE_H
00021 #define KOFLAKE_H
00022
00023 #include "flake_export.h"
00024
00025 #include <QtGui/QBrush>
00026
00027 class KoShape;
00028 class QGradient;
00029 class KoShapeBackground;
00030
00034 namespace KoFlake
00035 {
00037 enum SelectionType {
00038 FullSelection,
00039 StrippedSelection,
00040 TopLevelSelection
00041 };
00042
00044 enum SelectionHandle {
00045 TopMiddleHandle,
00046 TopRightHandle,
00047 RightMiddleHandle,
00048 BottomRightHandle,
00049 BottomMiddleHandle,
00050 BottomLeftHandle,
00051 LeftMiddleHandle,
00052 TopLeftHandle,
00053 NoHandle
00054 };
00055
00059 enum ShapeSelection {
00060 Selected,
00061 Unselected,
00062 NextUnselected,
00063 ShapeOnTop
00064 };
00065
00067 enum Position {
00068 TopLeftCorner,
00069 TopRightCorner,
00070 BottomLeftCorner,
00071 BottomRightCorner,
00072 CenteredPosition
00073 };
00074
00078 enum StyleType {
00079 Background,
00080 Foreground
00081 };
00082
00084 FLAKE_EXPORT QGradient *cloneGradient(const QGradient *gradient);
00085 }
00086
00087 #endif
|