|
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
nmWxNumericalDesign* nmWxNumericalDesign::s_pCurrentInstance = nullptr;
|
|
|
|
|
|
|
|
|
|
nmWxNumericalDesign::nmWxNumericalDesign(QWidget *parent)
|
|
|
|
|
: QWidget(parent)
|
|
|
|
|
: iDlgBase(parent)
|
|
|
|
|
{
|
|
|
|
|
// 设置当前实例为静态指针
|
|
|
|
|
s_pCurrentInstance = this;
|
|
|
|
|
@ -51,6 +51,8 @@ nmWxNumericalDesign::nmWxNumericalDesign(QWidget *parent)
|
|
|
|
|
pScrollArea->setWidgetResizable(true);
|
|
|
|
|
|
|
|
|
|
QWidget* pScrollWidget = new QWidget();
|
|
|
|
|
pScrollWidget->setObjectName("nmNumericalDesignScrollWidget");
|
|
|
|
|
pScrollWidget->setStyleSheet("#nmNumericalDesignScrollWidget { background-color: white; }");
|
|
|
|
|
QVBoxLayout* pScrollLayout = new QVBoxLayout(pScrollWidget);
|
|
|
|
|
|
|
|
|
|
// 初始化所有UI组件
|
|
|
|
|
|