Modified Ariso's default orientation.

Now oriented to Top.
preferencesAboutTextFull
Guillaume Burel 12 years ago
parent 15ba2c4ab1
commit 5e07ba4ac0
  1. 4
      src/tools/UBGraphicsAristo.cpp

@ -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()
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()

Loading…
Cancel
Save