Commit 5e07ba4a authored by Guillaume Burel's avatar Guillaume Burel

Modified Ariso's default orientation.

Now oriented to Top.
parent 15ba2c4a
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "core/memcheck.h" #include "core/memcheck.h"
const QRectF UBGraphicsAristo::sDefaultRect = QRectF(0, 0, 800, 500); const QRectF UBGraphicsAristo::sDefaultRect = QRectF(0, 0, 800, 500);
const UBGraphicsAristo::Orientation UBGraphicsAristo::sDefaultOrientation = UBGraphicsAristo::Bottom; const UBGraphicsAristo::Orientation UBGraphicsAristo::sDefaultOrientation = UBGraphicsAristo::Top;
UBGraphicsAristo::UBGraphicsAristo() UBGraphicsAristo::UBGraphicsAristo()
: UBAbstractDrawRuler() : UBAbstractDrawRuler()
...@@ -70,7 +70,7 @@ UBGraphicsAristo::UBGraphicsAristo() ...@@ -70,7 +70,7 @@ UBGraphicsAristo::UBGraphicsAristo()
setData(UBGraphicsItemData::itemLayerType, QVariant(itemLayerType::CppTool)); //Necessary to set if we want z value to be assigned correctly setData(UBGraphicsItemData::itemLayerType, QVariant(itemLayerType::CppTool)); //Necessary to set if we want z value to be assigned correctly
setFlag(QGraphicsItem::ItemIsSelectable, false); setFlag(QGraphicsItem::ItemIsSelectable, false);
setOrientation(Top); setOrientation(sDefaultOrientation);
} }
UBGraphicsAristo::~UBGraphicsAristo() UBGraphicsAristo::~UBGraphicsAristo()
......
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