12345678910111213141516171819 |
- #include "JIoMapPage.h"
- JIoMapPage::JIoMapPage() {}
- QWidget* JIoMapPage::CreateIoPage()
- {
- // 创建垂直布局
- QHBoxLayout* pHLayout = new QHBoxLayout();
- ClickCircleLabel* pIoState = new ClickCircleLabel();
- QLabel* pAxisNmae = new QLabel(tr("AxisNmae","轴名称"));
- pHLayout->addWidget(pAxisNmae);
- pHLayout->addWidget(pIoState);
- QWidget* pWidget = new QWidget;
- pWidget->setLayout(pHLayout);
- return pWidget;
- }
|