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);
|
standardFacesLayout->addWidget(button);
|
||||||
buttons[i] = button;
|
buttons[i] = button;
|
||||||
}
|
}
|
||||||
|
standardFacesLayout->addStretch();
|
||||||
if (nullptr != node) {
|
if (nullptr != node) {
|
||||||
updateCutFaceButtonState((size_t)node->cutFace);
|
updateCutFaceButtonState((size_t)node->cutFace);
|
||||||
}
|
}
|
||||||
|
|
||||||
QVBoxLayout *popupLayout = new QVBoxLayout;
|
QVBoxLayout *popupLayout = new QVBoxLayout;
|
||||||
popupLayout->addLayout(rotationLayout);
|
popupLayout->addLayout(rotationLayout);
|
||||||
popupLayout->addSpacing(10);
|
popupLayout->addWidget(Theme::createHorizontalLineWidget());
|
||||||
popupLayout->addLayout(standardFacesLayout);
|
popupLayout->addLayout(standardFacesLayout);
|
||||||
popupLayout->addWidget(cutFaceListWidget);
|
popupLayout->addWidget(cutFaceListWidget);
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QSizePolicy>
|
#include <QSizePolicy>
|
||||||
#include <QCheckBox>
|
#include <QCheckBox>
|
||||||
|
#include <QLabel>
|
||||||
#include "partwidget.h"
|
#include "partwidget.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
#include "floatnumberwidget.h"
|
#include "floatnumberwidget.h"
|
||||||
|
@ -608,12 +609,13 @@ void PartWidget::showCutRotationSettingPopup(const QPoint &pos)
|
||||||
standardFacesLayout->addWidget(button);
|
standardFacesLayout->addWidget(button);
|
||||||
buttons[i] = button;
|
buttons[i] = button;
|
||||||
}
|
}
|
||||||
|
standardFacesLayout->addStretch();
|
||||||
updateCutFaceButtonState((size_t)part->cutFace);
|
updateCutFaceButtonState((size_t)part->cutFace);
|
||||||
|
|
||||||
QVBoxLayout *popupLayout = new QVBoxLayout;
|
QVBoxLayout *popupLayout = new QVBoxLayout;
|
||||||
popupLayout->addLayout(rotationLayout);
|
popupLayout->addLayout(rotationLayout);
|
||||||
popupLayout->addLayout(hollowThicknessLayout);
|
popupLayout->addLayout(hollowThicknessLayout);
|
||||||
popupLayout->addSpacing(10);
|
popupLayout->addWidget(Theme::createHorizontalLineWidget());
|
||||||
popupLayout->addLayout(standardFacesLayout);
|
popupLayout->addLayout(standardFacesLayout);
|
||||||
popupLayout->addWidget(cutFaceListWidget);
|
popupLayout->addWidget(cutFaceListWidget);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue