terminal editor : use QPropertyUndoCommand instead of ChangePartCommand

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4071 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-07-24 12:08:03 +00:00
parent 99c867d6d6
commit d56e6e60b1
4 changed files with 73 additions and 43 deletions

View File

@@ -140,10 +140,13 @@ QRectF PartTerminal::boundingRect() const
Definit l'orientation de la borne
@param ori la nouvelle orientation de la borne
*/
void PartTerminal::setOrientation(Qet::Orientation ori) {
void PartTerminal::setOrientation(Qet::Orientation ori)
{
if (m_orientation == ori) return;
prepareGeometryChange();
m_orientation = ori;
updateSecondPoint();
emit orientationChanged();
}
/**