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();
|
||||
SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceAngle, angle);
|
||||
|
||||
// FIXME ---- For MVP we hide a few things. To be displayed when functions there
|
||||
ui->groupBoxLayoutControl->hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -415,6 +418,10 @@ void VPMainWindow::SetPropertyTabSheetData()
|
|||
|
||||
// set the checkboxes
|
||||
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
|
||||
SetCheckBoxValue(ui->checkBoxLayoutWarningPiecesOutOfBound, m_layout->GetWarningPiecesOutOfBound());
|
||||
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()
|
||||
{
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
<enum>QTabWidget::Rounded</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
|
|
Loading…
Reference in New Issue
Block a user