| 847 | } |
| 848 | |
| 849 | void setupUi(MainWindow *MainWindow) |
| 850 | { |
| 851 | if (MainWindow->objectName().isEmpty()) |
| 852 | { |
| 853 | MainWindow->setObjectName(QStringLiteral("MainWindow")); |
| 854 | } |
| 855 | MainWindow->resize(800, 600); |
| 856 | MainWindow->setWindowIcon(APPLICATION->getThemedIcon("logo")); |
| 857 | MainWindow->setWindowTitle(APPLICATION->applicationDisplayName()); |
| 858 | #ifndef QT_NO_ACCESSIBILITY |
| 859 | MainWindow->setAccessibleName(BuildConfig.LAUNCHER_NAME); |
| 860 | #endif |
| 861 | |
| 862 | createMainToolbarActions(MainWindow); |
| 863 | createMenuActions(MainWindow); |
| 864 | createInstanceActions(MainWindow); |
| 865 | |
| 866 | createMenuBar(MainWindow); |
| 867 | |
| 868 | createMainToolbar(MainWindow); |
| 869 | |
| 870 | centralWidget = new QWidget(MainWindow); |
| 871 | centralWidget->setObjectName(QStringLiteral("centralWidget")); |
| 872 | horizontalLayout = new QHBoxLayout(centralWidget); |
| 873 | horizontalLayout->setSpacing(0); |
| 874 | horizontalLayout->setObjectName(QStringLiteral("horizontalLayout")); |
| 875 | horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint); |
| 876 | horizontalLayout->setContentsMargins(0, 0, 0, 0); |
| 877 | MainWindow->setCentralWidget(centralWidget); |
| 878 | |
| 879 | createStatusBar(MainWindow); |
| 880 | createNewsToolbar(MainWindow); |
| 881 | createInstanceToolbar(MainWindow); |
| 882 | |
| 883 | MainWindow->updateToolsMenu(); |
| 884 | |
| 885 | retranslateUi(MainWindow); |
| 886 | |
| 887 | QMetaObject::connectSlotsByName(MainWindow); |
| 888 | } // setupUi |
| 889 | |
| 890 | void retranslateUi(MainWindow *MainWindow) |
| 891 | { |
no test coverage detected