Commit f7df53b0 authored by agriche's avatar agriche

- Replace UniboardTool enum field by OpenboardTool .

parent f12032f5
......@@ -28,8 +28,9 @@
#ifndef UB_H_
#define UB_H_
#include <QtGui>
#include <QGraphicsItem>
//#include <QtGui>
#include <QtWidgets>
#define UB_MAX_ZOOM 9
......@@ -45,7 +46,8 @@ struct UBMimeType
Audio,
Flash,
PDF,
UniboardTool,
//UniboardTool,
OpenboardTool,
Group,
UNKNOWN
};
......@@ -144,25 +146,25 @@ struct UBGraphicsItemType
{
enum Enum
{
PolygonItemType = QGraphicsItem::UserType + 1, //65537
PolygonItemType = QGraphicsItem::UserType + 1,
PixmapItemType,
SvgItemType,
DelegateButtonType, //65540
DelegateButtonType,
MediaItemType,
PDFItemType,
TextItemType,
CurtainItemType,
RulerItemType, //65545
RulerItemType,
CompassItemType,
ProtractorItemType,
StrokeItemType,
TriangleItemType,
MagnifierItemType, //65550
MagnifierItemType,
cacheItemType,
groupContainerType,
ToolWidgetItemType,
GraphicsWidgetItemType,
UserTypesCount, //65555
UserTypesCount,
SelectionFrameType// this line must be the last line in this enum because it is types counter.
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment