Code style.
This commit is contained in:
parent
067dd637a7
commit
21dd764d53
|
@ -373,8 +373,10 @@ void PuzzleMainWindow::SetPropertyTabCurrentPieceData()
|
||||||
ui->checkBoxCurrentPieceMirrorPiece->setChecked(selectedPiece->GetPieceMirrored());
|
ui->checkBoxCurrentPieceMirrorPiece->setChecked(selectedPiece->GetPieceMirrored());
|
||||||
|
|
||||||
QPointF pos = selectedPiece->GetPosition();
|
QPointF pos = selectedPiece->GetPosition();
|
||||||
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionX, UnitConvertor(pos.x(), Unit::Px, m_layout->GetUnit()));
|
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionX,
|
||||||
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionY, UnitConvertor(pos.y(), Unit::Px, m_layout->GetUnit()));
|
UnitConvertor(pos.x(), Unit::Px, m_layout->GetUnit()));
|
||||||
|
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionY,
|
||||||
|
UnitConvertor(pos.y(), Unit::Px, m_layout->GetUnit()));
|
||||||
|
|
||||||
qreal angle = selectedPiece->GetRotation();
|
qreal angle = selectedPiece->GetRotation();
|
||||||
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceAngle, angle);
|
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceAngle, angle);
|
||||||
|
|
|
@ -245,7 +245,6 @@ VPuzzleLayer* VPuzzlePiece::GetLayer()
|
||||||
return m_layer;
|
return m_layer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VPuzzlePiece::SetLayer(VPuzzleLayer* layer)
|
void VPuzzlePiece::SetLayer(VPuzzleLayer* layer)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user