Moved qmljsdebugger to share & debugger lib support for qml app wizard

Reviewed-by: Alessandro Portale
This commit is contained in:
Lasse Holmstedt
2010-08-06 17:47:49 +02:00
parent 253a2f7ccf
commit 4558477b01
86 changed files with 32 additions and 15 deletions

View File

@@ -0,0 +1,39 @@
#ifndef QMLVIEWERCONSTANTS_H
#define QMLVIEWERCONSTANTS_H
namespace QmlViewer {
namespace Constants {
enum DesignTool {
NoTool = 0,
SelectionToolMode = 1,
MarqueeSelectionToolMode = 2,
MoveToolMode = 3,
ResizeToolMode = 4,
ColorPickerMode = 5,
ZoomMode = 6
};
enum ToolFlags {
NoToolFlags = 0,
UseCursorPos = 1
};
static const int DragStartTime = 50;
static const int DragStartDistance = 20;
static const double ZoomSnapDelta = 0.04;
static const int EditorItemDataKey = 1000;
enum GraphicsItemTypes {
EditorItemType = 0xEAAA,
ResizeHandleItemType = 0xEAEA
};
} // namespace Constants
} // namespace QmlViewer
#endif // QMLVIEWERCONSTANTS_H