Commit 7de31d3a authored by hjk's avatar hjk Committed by Thomas Hartmann
Browse files

QmlDesigner: Cleanup ResizeIndicator header



Change-Id: Id7b278cf93a8f657b6cc9d087ef5628d3e1625fe
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 88b70ed8
......@@ -30,14 +30,10 @@
#ifndef RESIZEINDICATOR_H
#define RESIZEINDICATOR_H
#include <QHash>
#include <QPair>
#include "resizecontroller.h"
QT_BEGIN_NAMESPACE
class QGraphicsRectItem;
QT_END_NAMESPACE
#include <QHash>
#include <QPair>
namespace QmlDesigner {
......@@ -54,7 +50,7 @@ public:
Left = 8
};
ResizeIndicator(LayerItem *layerItem);
explicit ResizeIndicator(LayerItem *layerItem);
~ResizeIndicator();
void show();
......@@ -65,19 +61,12 @@ public:
void setItems(const QList<FormEditorItem*> &itemList);
void updateItems(const QList<FormEditorItem*> &itemList);
//
// QPair<FormEditorItem*,Orientation> pick(QGraphicsRectItem* pickedItem) const;
//
// void show();
// void hide();
private:
QHash<FormEditorItem*, ResizeController> m_itemControllerHash;
LayerItem *m_layerItem;
};
}
} // namespace QmlDesigner
#endif // SCALEINDICATOR_H
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