Hide some ui elements for MVP
This commit is contained in:
parent
f448514c71
commit
23c4f81904
|
@ -369,6 +369,9 @@ void VPMainWindow::SetPropertyTabCurrentPieceData()
|
||||||
|
|
||||||
qreal angle = selectedPiece->GetRotation();
|
qreal angle = selectedPiece->GetRotation();
|
||||||
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceAngle, angle);
|
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceAngle, angle);
|
||||||
|
|
||||||
|
// FIXME ---- For MVP we hide a few things. To be displayed when functions there
|
||||||
|
ui->groupBoxLayoutControl->hide();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -415,6 +418,10 @@ void VPMainWindow::SetPropertyTabSheetData()
|
||||||
|
|
||||||
// set the checkboxes
|
// set the checkboxes
|
||||||
SetCheckBoxValue(ui->checkBoxSheetStickyEdges, m_layout->GetFocusedSheet()->GetStickyEdges());
|
SetCheckBoxValue(ui->checkBoxSheetStickyEdges, m_layout->GetFocusedSheet()->GetStickyEdges());
|
||||||
|
|
||||||
|
// FIXME ---- For MVP we hide a few things. To be displayed when functions there
|
||||||
|
ui->pushButtonSheetRemoveUnusedLength->hide();
|
||||||
|
ui->groupBoxSheetControl->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -434,12 +441,15 @@ void VPMainWindow::SetPropertyTabLayoutData()
|
||||||
// set controls
|
// set controls
|
||||||
SetCheckBoxValue(ui->checkBoxLayoutWarningPiecesOutOfBound, m_layout->GetWarningPiecesOutOfBound());
|
SetCheckBoxValue(ui->checkBoxLayoutWarningPiecesOutOfBound, m_layout->GetWarningPiecesOutOfBound());
|
||||||
SetCheckBoxValue(ui->checkBoxLayoutWarningPiecesSuperposition, m_layout->GetWarningSuperpositionOfPieces());
|
SetCheckBoxValue(ui->checkBoxLayoutWarningPiecesSuperposition, m_layout->GetWarningSuperpositionOfPieces());
|
||||||
|
|
||||||
|
// FIXME ---- For MVP we hide a few things. To be displayed when functions there
|
||||||
|
ui->groupBoxLayoutControl->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VPMainWindow::SetPropertyTabTilesData()
|
void VPMainWindow::SetPropertyTabTilesData()
|
||||||
{
|
{
|
||||||
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -176,7 +176,7 @@
|
||||||
<enum>QTabWidget::Rounded</enum>
|
<enum>QTabWidget::Rounded</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
<size>
|
<size>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user