380 lines
19 KiB
C++
380 lines
19 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.15.13
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_MAINWINDOW_H
|
|
#define UI_MAINWINDOW_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHeaderView>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QListWidget>
|
|
#include <QtWidgets/QMainWindow>
|
|
#include <QtWidgets/QMenu>
|
|
#include <QtWidgets/QMenuBar>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QStatusBar>
|
|
#include <QtWidgets/QTabWidget>
|
|
#include <QtWidgets/QTableWidget>
|
|
#include <QtWidgets/QToolBar>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MainWindow
|
|
{
|
|
public:
|
|
QAction *tutorialAction;
|
|
QAction *srcAction;
|
|
QAction *sponsorAction;
|
|
QAction *panAction;
|
|
QAction *zoomInAction;
|
|
QAction *zoomOutAction;
|
|
QAction *refreshAction;
|
|
QAction *downloadAction;
|
|
QAction *selectAction;
|
|
QAction *drawlineAction;
|
|
QAction *drawArea;
|
|
QAction *addPlaneaction;
|
|
QWidget *centralwidget;
|
|
QWidget *gridLayoutWidget;
|
|
QGridLayout *mainLayout;
|
|
QTabWidget *tabWidget;
|
|
QWidget *mapTab;
|
|
QWidget *gridLayoutWidget_2;
|
|
QGridLayout *mapCanvasLayout;
|
|
QWidget *gridLayoutWidget_3;
|
|
QGridLayout *infoLayout;
|
|
QGroupBox *layersListGbx;
|
|
QGroupBox *layersGbx;
|
|
QWidget *gridLayoutWidget_4;
|
|
QGridLayout *layersLayout;
|
|
QListWidget *layerList;
|
|
QGroupBox *downloadGbx;
|
|
QLineEdit *leftTopText;
|
|
QPushButton *leftTopBtn;
|
|
QLineEdit *rightBottomText;
|
|
QPushButton *rightBottomBtn;
|
|
QWidget *taskTab;
|
|
QWidget *gridLayoutWidget_5;
|
|
QGridLayout *taskLayout;
|
|
QTableWidget *taskTable;
|
|
QMenuBar *menubar;
|
|
QMenu *projectMenu;
|
|
QMenu *editMenu;
|
|
QMenu *viewMenu;
|
|
QMenu *layersMenu;
|
|
QMenu *optionsMenu;
|
|
QMenu *toolsMenu;
|
|
QMenu *helpMenu;
|
|
QStatusBar *statusbar;
|
|
QToolBar *toolBar;
|
|
|
|
void setupUi(QMainWindow *MainWindow)
|
|
{
|
|
if (MainWindow->objectName().isEmpty())
|
|
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
|
MainWindow->setEnabled(true);
|
|
MainWindow->resize(1450, 1000);
|
|
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(MainWindow->sizePolicy().hasHeightForWidth());
|
|
MainWindow->setSizePolicy(sizePolicy);
|
|
tutorialAction = new QAction(MainWindow);
|
|
tutorialAction->setObjectName(QString::fromUtf8("tutorialAction"));
|
|
srcAction = new QAction(MainWindow);
|
|
srcAction->setObjectName(QString::fromUtf8("srcAction"));
|
|
sponsorAction = new QAction(MainWindow);
|
|
sponsorAction->setObjectName(QString::fromUtf8("sponsorAction"));
|
|
panAction = new QAction(MainWindow);
|
|
panAction->setObjectName(QString::fromUtf8("panAction"));
|
|
panAction->setCheckable(true);
|
|
QIcon icon;
|
|
QString iconThemeName = QString::fromUtf8("default");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon.addFile(QString::fromUtf8(":/themes/mActionPan"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
panAction->setIcon(icon);
|
|
zoomInAction = new QAction(MainWindow);
|
|
zoomInAction->setObjectName(QString::fromUtf8("zoomInAction"));
|
|
zoomInAction->setCheckable(true);
|
|
QIcon icon1;
|
|
iconThemeName = QString::fromUtf8("default");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon1 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon1.addFile(QString::fromUtf8(":/themes/mActionZoomIn"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
zoomInAction->setIcon(icon1);
|
|
zoomOutAction = new QAction(MainWindow);
|
|
zoomOutAction->setObjectName(QString::fromUtf8("zoomOutAction"));
|
|
zoomOutAction->setCheckable(true);
|
|
QIcon icon2;
|
|
iconThemeName = QString::fromUtf8("default");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon2 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon2.addFile(QString::fromUtf8(":/themes/mActionZoomOut"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
zoomOutAction->setIcon(icon2);
|
|
refreshAction = new QAction(MainWindow);
|
|
refreshAction->setObjectName(QString::fromUtf8("refreshAction"));
|
|
QIcon icon3;
|
|
iconThemeName = QString::fromUtf8("default");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon3 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon3.addFile(QString::fromUtf8(":/themes/mActionRefresh"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
refreshAction->setIcon(icon3);
|
|
downloadAction = new QAction(MainWindow);
|
|
downloadAction->setObjectName(QString::fromUtf8("downloadAction"));
|
|
QIcon icon4;
|
|
iconThemeName = QString::fromUtf8("default");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon4 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon4.addFile(QString::fromUtf8(":/themes/mActionDownload"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
downloadAction->setIcon(icon4);
|
|
selectAction = new QAction(MainWindow);
|
|
selectAction->setObjectName(QString::fromUtf8("selectAction"));
|
|
selectAction->setCheckable(true);
|
|
QIcon icon5;
|
|
iconThemeName = QString::fromUtf8("default");
|
|
if (QIcon::hasThemeIcon(iconThemeName)) {
|
|
icon5 = QIcon::fromTheme(iconThemeName);
|
|
} else {
|
|
icon5.addFile(QString::fromUtf8(":/themes/mActionSelect"), QSize(), QIcon::Normal, QIcon::Off);
|
|
}
|
|
selectAction->setIcon(icon5);
|
|
drawlineAction = new QAction(MainWindow);
|
|
drawlineAction->setObjectName(QString::fromUtf8("drawlineAction"));
|
|
drawlineAction->setCheckable(true);
|
|
drawlineAction->setChecked(true);
|
|
drawArea = new QAction(MainWindow);
|
|
drawArea->setObjectName(QString::fromUtf8("drawArea"));
|
|
drawArea->setCheckable(true);
|
|
addPlaneaction = new QAction(MainWindow);
|
|
addPlaneaction->setObjectName(QString::fromUtf8("addPlaneaction"));
|
|
addPlaneaction->setCheckable(true);
|
|
QIcon icon6;
|
|
icon6.addFile(QString::fromUtf8(":/plane-red.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
addPlaneaction->setIcon(icon6);
|
|
centralwidget = new QWidget(MainWindow);
|
|
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
|
gridLayoutWidget = new QWidget(centralwidget);
|
|
gridLayoutWidget->setObjectName(QString::fromUtf8("gridLayoutWidget"));
|
|
gridLayoutWidget->setGeometry(QRect(0, 0, 1441, 911));
|
|
mainLayout = new QGridLayout(gridLayoutWidget);
|
|
mainLayout->setObjectName(QString::fromUtf8("mainLayout"));
|
|
mainLayout->setContentsMargins(0, 0, 0, 0);
|
|
tabWidget = new QTabWidget(gridLayoutWidget);
|
|
tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
|
|
mapTab = new QWidget();
|
|
mapTab->setObjectName(QString::fromUtf8("mapTab"));
|
|
gridLayoutWidget_2 = new QWidget(mapTab);
|
|
gridLayoutWidget_2->setObjectName(QString::fromUtf8("gridLayoutWidget_2"));
|
|
gridLayoutWidget_2->setGeometry(QRect(0, 0, 1241, 881));
|
|
mapCanvasLayout = new QGridLayout(gridLayoutWidget_2);
|
|
mapCanvasLayout->setObjectName(QString::fromUtf8("mapCanvasLayout"));
|
|
mapCanvasLayout->setContentsMargins(0, 0, 0, 0);
|
|
gridLayoutWidget_3 = new QWidget(mapTab);
|
|
gridLayoutWidget_3->setObjectName(QString::fromUtf8("gridLayoutWidget_3"));
|
|
gridLayoutWidget_3->setGeometry(QRect(1250, -1, 191, 881));
|
|
infoLayout = new QGridLayout(gridLayoutWidget_3);
|
|
infoLayout->setObjectName(QString::fromUtf8("infoLayout"));
|
|
infoLayout->setContentsMargins(0, 0, 0, 0);
|
|
layersListGbx = new QGroupBox(gridLayoutWidget_3);
|
|
layersListGbx->setObjectName(QString::fromUtf8("layersListGbx"));
|
|
layersGbx = new QGroupBox(layersListGbx);
|
|
layersGbx->setObjectName(QString::fromUtf8("layersGbx"));
|
|
layersGbx->setGeometry(QRect(10, 10, 171, 611));
|
|
gridLayoutWidget_4 = new QWidget(layersGbx);
|
|
gridLayoutWidget_4->setObjectName(QString::fromUtf8("gridLayoutWidget_4"));
|
|
gridLayoutWidget_4->setGeometry(QRect(9, 30, 151, 571));
|
|
layersLayout = new QGridLayout(gridLayoutWidget_4);
|
|
layersLayout->setObjectName(QString::fromUtf8("layersLayout"));
|
|
layersLayout->setContentsMargins(0, 0, 0, 0);
|
|
layerList = new QListWidget(gridLayoutWidget_4);
|
|
layerList->setObjectName(QString::fromUtf8("layerList"));
|
|
|
|
layersLayout->addWidget(layerList, 0, 0, 1, 1);
|
|
|
|
downloadGbx = new QGroupBox(layersListGbx);
|
|
downloadGbx->setObjectName(QString::fromUtf8("downloadGbx"));
|
|
downloadGbx->setGeometry(QRect(10, 650, 171, 221));
|
|
leftTopText = new QLineEdit(downloadGbx);
|
|
leftTopText->setObjectName(QString::fromUtf8("leftTopText"));
|
|
leftTopText->setGeometry(QRect(10, 40, 151, 31));
|
|
leftTopText->setReadOnly(true);
|
|
leftTopBtn = new QPushButton(downloadGbx);
|
|
leftTopBtn->setObjectName(QString::fromUtf8("leftTopBtn"));
|
|
leftTopBtn->setGeometry(QRect(10, 80, 151, 25));
|
|
rightBottomText = new QLineEdit(downloadGbx);
|
|
rightBottomText->setObjectName(QString::fromUtf8("rightBottomText"));
|
|
rightBottomText->setGeometry(QRect(12, 140, 151, 31));
|
|
rightBottomText->setReadOnly(true);
|
|
rightBottomBtn = new QPushButton(downloadGbx);
|
|
rightBottomBtn->setObjectName(QString::fromUtf8("rightBottomBtn"));
|
|
rightBottomBtn->setGeometry(QRect(10, 180, 151, 25));
|
|
|
|
infoLayout->addWidget(layersListGbx, 0, 1, 1, 1);
|
|
|
|
tabWidget->addTab(mapTab, QString());
|
|
taskTab = new QWidget();
|
|
taskTab->setObjectName(QString::fromUtf8("taskTab"));
|
|
gridLayoutWidget_5 = new QWidget(taskTab);
|
|
gridLayoutWidget_5->setObjectName(QString::fromUtf8("gridLayoutWidget_5"));
|
|
gridLayoutWidget_5->setGeometry(QRect(0, 0, 1431, 871));
|
|
taskLayout = new QGridLayout(gridLayoutWidget_5);
|
|
taskLayout->setObjectName(QString::fromUtf8("taskLayout"));
|
|
taskLayout->setContentsMargins(0, 0, 0, 0);
|
|
taskTable = new QTableWidget(gridLayoutWidget_5);
|
|
taskTable->setObjectName(QString::fromUtf8("taskTable"));
|
|
|
|
taskLayout->addWidget(taskTable, 0, 0, 1, 1);
|
|
|
|
tabWidget->addTab(taskTab, QString());
|
|
|
|
mainLayout->addWidget(tabWidget, 0, 0, 1, 1);
|
|
|
|
MainWindow->setCentralWidget(centralwidget);
|
|
menubar = new QMenuBar(MainWindow);
|
|
menubar->setObjectName(QString::fromUtf8("menubar"));
|
|
menubar->setGeometry(QRect(0, 0, 1450, 23));
|
|
projectMenu = new QMenu(menubar);
|
|
projectMenu->setObjectName(QString::fromUtf8("projectMenu"));
|
|
editMenu = new QMenu(menubar);
|
|
editMenu->setObjectName(QString::fromUtf8("editMenu"));
|
|
viewMenu = new QMenu(menubar);
|
|
viewMenu->setObjectName(QString::fromUtf8("viewMenu"));
|
|
layersMenu = new QMenu(menubar);
|
|
layersMenu->setObjectName(QString::fromUtf8("layersMenu"));
|
|
optionsMenu = new QMenu(menubar);
|
|
optionsMenu->setObjectName(QString::fromUtf8("optionsMenu"));
|
|
toolsMenu = new QMenu(menubar);
|
|
toolsMenu->setObjectName(QString::fromUtf8("toolsMenu"));
|
|
helpMenu = new QMenu(menubar);
|
|
helpMenu->setObjectName(QString::fromUtf8("helpMenu"));
|
|
MainWindow->setMenuBar(menubar);
|
|
statusbar = new QStatusBar(MainWindow);
|
|
statusbar->setObjectName(QString::fromUtf8("statusbar"));
|
|
MainWindow->setStatusBar(statusbar);
|
|
toolBar = new QToolBar(MainWindow);
|
|
toolBar->setObjectName(QString::fromUtf8("toolBar"));
|
|
MainWindow->addToolBar(Qt::TopToolBarArea, toolBar);
|
|
|
|
menubar->addAction(projectMenu->menuAction());
|
|
menubar->addAction(editMenu->menuAction());
|
|
menubar->addAction(viewMenu->menuAction());
|
|
menubar->addAction(layersMenu->menuAction());
|
|
menubar->addAction(optionsMenu->menuAction());
|
|
menubar->addAction(toolsMenu->menuAction());
|
|
menubar->addAction(helpMenu->menuAction());
|
|
helpMenu->addAction(tutorialAction);
|
|
helpMenu->addAction(srcAction);
|
|
helpMenu->addSeparator();
|
|
toolBar->addAction(selectAction);
|
|
toolBar->addAction(panAction);
|
|
toolBar->addAction(zoomInAction);
|
|
toolBar->addAction(zoomOutAction);
|
|
toolBar->addAction(refreshAction);
|
|
toolBar->addAction(drawArea);
|
|
toolBar->addAction(drawlineAction);
|
|
toolBar->addSeparator();
|
|
toolBar->addAction(addPlaneaction);
|
|
toolBar->addAction(downloadAction);
|
|
toolBar->addSeparator();
|
|
|
|
retranslateUi(MainWindow);
|
|
|
|
tabWidget->setCurrentIndex(0);
|
|
|
|
|
|
QMetaObject::connectSlotsByName(MainWindow);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *MainWindow)
|
|
{
|
|
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "\345\234\260\345\233\276\344\270\213\350\275\275\345\231\250", nullptr));
|
|
tutorialAction->setText(QCoreApplication::translate("MainWindow", "\344\275\277\347\224\250\346\225\231\347\250\213", nullptr));
|
|
srcAction->setText(QCoreApplication::translate("MainWindow", "\346\272\220\347\240\201", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
srcAction->setToolTip(QCoreApplication::translate("MainWindow", "\346\272\220\347\240\201", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
sponsorAction->setText(QCoreApplication::translate("MainWindow", "\346\215\220\350\265\240", nullptr));
|
|
panAction->setText(QCoreApplication::translate("MainWindow", "\346\213\226\345\212\250", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
panAction->setToolTip(QCoreApplication::translate("MainWindow", "\346\213\226\345\212\250\345\233\276\345\261\202\357\274\214\346\237\245\347\234\213\344\270\215\345\220\214\345\234\260\346\226\271", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
zoomInAction->setText(QCoreApplication::translate("MainWindow", "\346\224\276\345\244\247", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
zoomInAction->setToolTip(QCoreApplication::translate("MainWindow", "\345\242\236\345\244\247zoom\345\200\274", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
zoomOutAction->setText(QCoreApplication::translate("MainWindow", "\347\274\251\345\260\217", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
zoomOutAction->setToolTip(QCoreApplication::translate("MainWindow", "\345\207\217\345\260\217zoom\345\200\274", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
refreshAction->setText(QCoreApplication::translate("MainWindow", "\345\210\267\346\226\260\345\234\260\345\233\276", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
refreshAction->setToolTip(QCoreApplication::translate("MainWindow", "\345\210\267\346\226\260\345\234\260\345\233\276\346\230\276\347\244\272\345\206\205\345\256\271", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
downloadAction->setText(QCoreApplication::translate("MainWindow", "\344\270\213\350\275\275", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
downloadAction->setToolTip(QCoreApplication::translate("MainWindow", "\345\210\233\345\273\272\344\270\213\350\275\275\344\273\273\345\212\241", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
selectAction->setText(QCoreApplication::translate("MainWindow", "\351\200\211\346\213\251", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
selectAction->setToolTip(QCoreApplication::translate("MainWindow", "\351\200\211\346\213\251\345\234\260\345\233\276\344\270\255\347\202\271", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
drawlineAction->setText(QCoreApplication::translate("MainWindow", "\350\210\252\347\272\277", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
drawlineAction->setToolTip(QCoreApplication::translate("MainWindow", "\347\273\230\345\210\266\350\210\252\347\272\277", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
drawArea->setText(QCoreApplication::translate("MainWindow", "\345\214\272\345\237\237", nullptr));
|
|
addPlaneaction->setText(QCoreApplication::translate("MainWindow", "\351\243\236\346\234\272", nullptr));
|
|
layersListGbx->setTitle(QString());
|
|
layersGbx->setTitle(QCoreApplication::translate("MainWindow", "\345\233\276\345\261\202\345\210\227\350\241\250", nullptr));
|
|
downloadGbx->setTitle(QCoreApplication::translate("MainWindow", "\344\270\213\350\275\275\345\214\272\345\237\237", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
leftTopBtn->setToolTip(QCoreApplication::translate("MainWindow", "\347\202\271\345\207\273\345\274\200\345\247\213\351\200\211\346\213\251\345\267\246\344\270\212\350\247\222\347\202\271", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
leftTopBtn->setText(QCoreApplication::translate("MainWindow", "\351\200\211\346\213\251\345\267\246\344\270\212\350\247\222", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
rightBottomBtn->setToolTip(QCoreApplication::translate("MainWindow", "\347\202\271\345\207\273\345\274\200\345\247\213\351\200\211\346\213\251\345\217\263\344\270\213\350\247\222\347\202\271", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
rightBottomBtn->setText(QCoreApplication::translate("MainWindow", "\351\200\211\346\213\251\345\217\263\344\270\213\350\247\222", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(mapTab), QCoreApplication::translate("MainWindow", "\345\234\260\345\233\276", nullptr));
|
|
tabWidget->setTabText(tabWidget->indexOf(taskTab), QCoreApplication::translate("MainWindow", "\344\273\273\345\212\241", nullptr));
|
|
projectMenu->setTitle(QCoreApplication::translate("MainWindow", "\351\241\271\347\233\256", nullptr));
|
|
editMenu->setTitle(QCoreApplication::translate("MainWindow", "\347\274\226\350\276\221", nullptr));
|
|
viewMenu->setTitle(QCoreApplication::translate("MainWindow", "\350\247\206\345\233\276", nullptr));
|
|
layersMenu->setTitle(QCoreApplication::translate("MainWindow", "\345\233\276\345\261\202", nullptr));
|
|
optionsMenu->setTitle(QCoreApplication::translate("MainWindow", "\350\256\276\347\275\256", nullptr));
|
|
toolsMenu->setTitle(QCoreApplication::translate("MainWindow", "\345\267\245\345\205\267", nullptr));
|
|
helpMenu->setTitle(QCoreApplication::translate("MainWindow", "\345\270\256\345\212\251", nullptr));
|
|
toolBar->setWindowTitle(QCoreApplication::translate("MainWindow", "toolBar", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|