Update cut face list UI
parent
772c3c8a75
commit
94187c31d3
|
@ -1886,13 +1886,14 @@ void DocumentWindow::showCutFaceSettingPopup(const QPoint &globalPos, std::set<Q
|
|||
standardFacesLayout->addWidget(button);
|
||||
buttons[i] = button;
|
||||
}
|
||||
standardFacesLayout->addStretch();
|
||||
if (nullptr != node) {
|
||||
updateCutFaceButtonState((size_t)node->cutFace);
|
||||
}
|
||||
|
||||
QVBoxLayout *popupLayout = new QVBoxLayout;
|
||||
popupLayout->addLayout(rotationLayout);
|
||||
popupLayout->addSpacing(10);
|
||||
popupLayout->addWidget(Theme::createHorizontalLineWidget());
|
||||
popupLayout->addLayout(standardFacesLayout);
|
||||
popupLayout->addWidget(cutFaceListWidget);
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <QFileDialog>
|
||||
#include <QSizePolicy>
|
||||
#include <QCheckBox>
|
||||
#include <QLabel>
|
||||
#include "partwidget.h"
|
||||
#include "theme.h"
|
||||
#include "floatnumberwidget.h"
|
||||
|
@ -608,12 +609,13 @@ void PartWidget::showCutRotationSettingPopup(const QPoint &pos)
|
|||
standardFacesLayout->addWidget(button);
|
||||
buttons[i] = button;
|
||||
}
|
||||
standardFacesLayout->addStretch();
|
||||
updateCutFaceButtonState((size_t)part->cutFace);
|
||||
|
||||
QVBoxLayout *popupLayout = new QVBoxLayout;
|
||||
popupLayout->addLayout(rotationLayout);
|
||||
popupLayout->addLayout(hollowThicknessLayout);
|
||||
popupLayout->addSpacing(10);
|
||||
popupLayout->addWidget(Theme::createHorizontalLineWidget());
|
||||
popupLayout->addLayout(standardFacesLayout);
|
||||
popupLayout->addWidget(cutFaceListWidget);
|
||||
|
||||
|
|
Loading…
Reference in New Issue