Qt布局 tab-widget-layout

 

QHBoxLayout *horizontalLayout_6 = new QHBoxLayout(main_ui.tab_5);
horizontalLayout_6->setSpacing(6);
horizontalLayout_6->setContentsMargins(11, 11, 11, 11);
horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));

//初始化面板
vcWidget = new VCImgWidget(main_ui.tab_5);
vcWidget->setObjectName(QString::fromUtf8("vcwidget"));
//vcWidget->setGeometry(QRect(20, 40, 681, 641));
horizontalLayout_6->addWidget(vcWidget);

 

posted @ 2019-11-19 15:21  西北逍遥  阅读(1050)  评论(0编辑  收藏  举报