mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Minor
This commit is contained in:
@@ -99,7 +99,7 @@ void DiagramEventAddElement::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
|||||||
m_element->setPos(pos_);
|
m_element->setPos(pos_);
|
||||||
|
|
||||||
if (m_status_bar) {
|
if (m_status_bar) {
|
||||||
m_status_bar->showMessage(QString(QLatin1String("x %1 : y %2")).arg(QString::number(pos_.x()), QString::number(pos_.y())));
|
m_status_bar->showMessage(QString("x %1 : y %2").arg(QString::number(pos_.x()), QString::number(pos_.y())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
event->setAccepted(true);
|
event->setAccepted(true);
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ void ElementsMover::continueMovement(const QPointF &movement)
|
|||||||
if (m_status_bar)
|
if (m_status_bar)
|
||||||
{
|
{
|
||||||
const auto point_{m_movement_driver->scenePos()};
|
const auto point_{m_movement_driver->scenePos()};
|
||||||
m_status_bar->showMessage(QString(QLatin1String("x %1 : y %2")).arg(QString::number(point_.x()), QString::number(point_.y())));
|
m_status_bar->showMessage(QString("x %1 : y %2").arg(QString::number(point_.x()), QString::number(point_.y())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include <QPointF>
|
#include <QPointF>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
#include <QLatin1String>
|
|
||||||
#include "diagramcontent.h"
|
#include "diagramcontent.h"
|
||||||
|
|
||||||
class ConductorTextItem;
|
class ConductorTextItem;
|
||||||
|
|||||||
Reference in New Issue
Block a user