Turn the detail 90 degrees.
--HG-- branch : develop
This commit is contained in:
parent
7b850afaea
commit
5ee1969f24
src
|
@ -14,7 +14,7 @@
|
|||
<string>Create a layout</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="icon.qrc">
|
||||
<iconset resource="../share/resources/icon.qrc">
|
||||
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
|
||||
</property>
|
||||
<property name="locale">
|
||||
|
@ -111,7 +111,7 @@
|
|||
<string>Turn</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Turn the detail 180 degrees</string>
|
||||
<string>Turn the detail 90 degrees</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionStop">
|
||||
|
@ -161,7 +161,7 @@
|
|||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="icon.qrc">
|
||||
<iconset resource="../share/resources/icon.qrc">
|
||||
<normaloff>:/icon/16x16/mirror.png</normaloff>:/icon/16x16/mirror.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
@ -199,7 +199,7 @@
|
|||
</action>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="icon.qrc"/>
|
||||
<include location="../share/resources/icon.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
|
@ -172,7 +172,7 @@ void VTableGraphicsView::rotateIt()
|
|||
QGraphicsItem *item = list.at(i);
|
||||
Q_ASSERT(item != 0);
|
||||
item->setTransformOriginPoint(item->boundingRect().center());
|
||||
item->setRotation(item->rotation() + 180);
|
||||
item->setRotation(item->rotation() + 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user