Qt_laytou布局-创新互联

1,


2,


3,
QWidget *centralWidget;
QGridLayout *gridLayout_3;
QWidget *widget_main;
QGridLayout *gridLayout;
QTabWidget *widget_tab;
QWidget *tab_view_3d;
QGridLayout *gridLayout_2;
QVBoxLayout *verticalLayout;
QOpenGLWidget *widget_view;
QSlider *slider;
QWidget *tab2;

gridLayout_3 = new QGridLayout(centralWidget);
gridLayout_3->setSpacing(6);
gridLayout_3->setContentsMargins(11, 11, 11, 11);
gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
widget_main = new QWidget(centralWidget);
widget_main->setObjectName(QStringLiteral("widget_main"));
widget_main->setStyleSheet(QStringLiteral("background-color: rgb(53, 54, 78);"));
gridLayout = new QGridLayout(widget_main);
gridLayout->setSpacing(6);
gridLayout->setContentsMargins(11, 11, 11, 11);
gridLayout->setObjectName(QStringLiteral("gridLayout"));
widget_tab = new QTabWidget(widget_main);
widget_tab->setObjectName(QStringLiteral("widget_tab"));
tab_view_3d = new QWidget();
tab_view_3d->setObjectName(QStringLiteral("tab_view_3d"));
gridLayout_2 = new QGridLayout(tab_view_3d);
gridLayout_2->setSpacing(6);

创新互联是一家集网站建设,闽侯企业网站建设,闽侯品牌网站建设,网站定制,闽侯网站建设报价,网络营销,网络优化,闽侯网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。

gridLayout_2->setContentsMargins(11, 11, 11, 11);
gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
verticalLayout = new QVBoxLayout();
verticalLayout->setSpacing(0);
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
widget_view = new QOpenGLWidget(tab_view_3d);
widget_view->setObjectName(QStringLiteral("widget_view"));

verticalLayout->addWidget(widget_view);

slider = new QSlider(tab_view_3d);
slider->setObjectName(QStringLiteral("slider"));
slider->setOrientation(Qt::Horizontal);

verticalLayout->addWidget(slider);

verticalLayout->setStretch(0, 6);
verticalLayout->setStretch(1, 1);

gridLayout_2->addLayout(verticalLayout, 0, 0, 1, 1);

widget_tab->addTab(tab_view_3d, QString());
tab2 = new QWidget();
tab2->setObjectName(QStringLiteral("tab2"));
widget_tab->addTab(tab2, QString());

gridLayout->addWidget(widget_tab, 0, 0, 1, 1);
gridLayout_3->addWidget(widget_main, 0, 0, 1, 1);


分享名称:Qt_laytou布局-创新互联
网页网址:http://pwwzsj.com/article/dcjgsj.html