C++ (Qt) MainWindow->resize(746, 619); QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(MainWindow->sizePolicy().hasHeightForWidth()); MainWindow->setSizePolicy(sizePolicy); centralWidget = new QWidget(MainWindow); centralWidget->setObjectName(QString::fromUtf8("centralWidget")); horizontalLayout = new QHBoxLayout(centralWidget); horizontalLayout->setSpacing(6); horizontalLayout->setMargin(11); horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); splitter = new QSplitter(centralWidget); splitter->setObjectName(QString::fromUtf8("splitter")); splitter->setOrientation(Qt::Horizontal); groupBox = new QGroupBox(splitter); groupBox->setObjectName(QString::fromUtf8("groupBox")); splitter->addWidget(groupBox); groupBox_2 = new QGroupBox(splitter); groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); splitter->addWidget(groupBox_2); horizontalLayout->addWidget(splitter); MainWindow->setCentralWidget(centralWidget); menuBar = new QMenuBar(MainWindow); menuBar->setObjectName(QString::fromUtf8("menuBar")); menuBar->setGeometry(QRect(0, 0, 746, 19)); MainWindow->setMenuBar(menuBar); statusBar = new QStatusBar(MainWindow); statusBar->setObjectName(QString::fromUtf8("statusBar")); MainWindow->setStatusBar(statusBar);