Refactoring.
Code style.
This commit is contained in:
parent
3f0baef082
commit
23fd31ca08
|
@ -26,12 +26,13 @@
|
||||||
**
|
**
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
#include "vplacelabelitem.h"
|
#include "vplacelabelitem.h"
|
||||||
#include "../vpatterndb/vcontainer.h"
|
|
||||||
#include "vplacelabelitem_p.h"
|
#include "vplacelabelitem_p.h"
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
#include <QPainterPath>
|
#include <QPainterPath>
|
||||||
#include <QPolygonF>
|
#include <QPolygonF>
|
||||||
#include <QTransform>
|
#include <QTransform>
|
||||||
|
#include <QtDebug>
|
||||||
#include <qnumeric.h>
|
#include <qnumeric.h>
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -207,7 +208,7 @@ auto VPlaceLabelItem::RotationMatrix() const -> QTransform
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
auto VPlaceLabelItem::Box() const -> QRectF
|
auto VPlaceLabelItem::Box() const -> QRectF
|
||||||
{
|
{
|
||||||
return QRectF(0, 0, d->wValue, d->hValue);
|
return {0, 0, d->wValue, d->hValue};
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user