调整了界面设计,为大场景工具箱
parent
1bb5b168c1
commit
104cb24f48
|
@ -46,7 +46,7 @@ RasterMainWidget::RasterMainWidget(QWidget *parent)
|
||||||
mLayerList(),
|
mLayerList(),
|
||||||
mLeftTop(),
|
mLeftTop(),
|
||||||
mRightBottom() {
|
mRightBottom() {
|
||||||
this->setWindowTitle(tr(u8"LAMP影像处理软件"));
|
this->setWindowTitle(tr(u8"大场景仿真组件"));
|
||||||
mUi->setupUi(dynamic_cast<QMainWindow*>(this));
|
mUi->setupUi(dynamic_cast<QMainWindow*>(this));
|
||||||
setupWindow();
|
setupWindow();
|
||||||
setupTaskWindow();
|
setupTaskWindow();
|
||||||
|
@ -61,6 +61,14 @@ RasterMainWidget::RasterMainWidget(QWidget *parent)
|
||||||
|
|
||||||
connect(mUi->actioncloseAllRasterFile, SIGNAL(triggered()), this, SLOT(onactioncloseAllRasterFile_triggered()));
|
connect(mUi->actioncloseAllRasterFile, SIGNAL(triggered()), this, SLOT(onactioncloseAllRasterFile_triggered()));
|
||||||
|
|
||||||
|
this->mUi->toolBar->hide();
|
||||||
|
this->mUi->dockWidget_Map->hide();
|
||||||
|
this->mUi->dockWidget->hide();
|
||||||
|
this->mUi->statusbar->hide();
|
||||||
|
this->mUi->dockWidget_2->hide();
|
||||||
|
this->mUi->dockWidget_3->hide();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RasterMainWidget::~RasterMainWidget() {
|
RasterMainWidget::~RasterMainWidget() {
|
||||||
|
|
|
@ -31,112 +31,15 @@
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<layout class="QGridLayout" name="mainLayout">
|
<layout class="QGridLayout" name="mainLayout"/>
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="currentIndex">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<widget class="QWidget" name="mapTab">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>地图</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
||||||
<item>
|
|
||||||
<layout class="QGridLayout" name="mapCanvasLayout"/>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="taskTab">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>任务</string>
|
|
||||||
</attribute>
|
|
||||||
<widget class="QWidget" name="gridLayoutWidget_5">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>1431</width>
|
|
||||||
<height>871</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<layout class="QGridLayout" name="taskLayout">
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QTableWidget" name="taskTable"/>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QMenuBar" name="menubar">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>906</width>
|
|
||||||
<height>22</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<widget class="QMenu" name="projectMenu">
|
|
||||||
<property name="title">
|
|
||||||
<string>项目</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QMenu" name="editMenu">
|
|
||||||
<property name="title">
|
|
||||||
<string>编辑</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QMenu" name="viewMenu">
|
|
||||||
<property name="title">
|
|
||||||
<string>视图</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QMenu" name="layersMenu">
|
|
||||||
<property name="title">
|
|
||||||
<string>图层</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QMenu" name="optionsMenu">
|
|
||||||
<property name="title">
|
|
||||||
<string>设置</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QMenu" name="toolsMenu">
|
|
||||||
<property name="title">
|
|
||||||
<string>工具</string>
|
|
||||||
</property>
|
|
||||||
<addaction name="actioncloseAllRasterFile"/>
|
|
||||||
</widget>
|
|
||||||
<widget class="QMenu" name="helpMenu">
|
|
||||||
<property name="title">
|
|
||||||
<string>帮助</string>
|
|
||||||
</property>
|
|
||||||
<addaction name="tutorialAction"/>
|
|
||||||
<addaction name="srcAction"/>
|
|
||||||
<addaction name="separator"/>
|
|
||||||
</widget>
|
|
||||||
<addaction name="projectMenu"/>
|
|
||||||
<addaction name="editMenu"/>
|
|
||||||
<addaction name="viewMenu"/>
|
|
||||||
<addaction name="layersMenu"/>
|
|
||||||
<addaction name="optionsMenu"/>
|
|
||||||
<addaction name="toolsMenu"/>
|
|
||||||
<addaction name="helpMenu"/>
|
|
||||||
</widget>
|
|
||||||
<widget class="QStatusBar" name="statusbar"/>
|
<widget class="QStatusBar" name="statusbar"/>
|
||||||
<widget class="QToolBar" name="toolBar">
|
<widget class="QToolBar" name="toolBar">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>toolBar</string>
|
<string>toolBar</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -378,6 +281,85 @@ p, li { white-space: pre-wrap; }
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QDockWidget" name="dockWidget_Map">
|
||||||
|
<property name="layoutDirection">
|
||||||
|
<enum>Qt::LeftToRight</enum>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>地图窗口</string>
|
||||||
|
</property>
|
||||||
|
<attribute name="dockWidgetArea">
|
||||||
|
<number>1</number>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QWidget" name="dockWidgetContents_5">
|
||||||
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>502</width>
|
||||||
|
<height>274</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="mapTab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>地图</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<item>
|
||||||
|
<layout class="QGridLayout" name="mapCanvasLayout"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="taskTab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>任务</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QWidget" name="gridLayoutWidget_5">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>1431</width>
|
||||||
|
<height>871</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QGridLayout" name="taskLayout">
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QTableWidget" name="taskTable"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QMenuBar" name="menubar">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>906</width>
|
||||||
|
<height>23</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<widget class="QMenu" name="toolsMenu">
|
||||||
|
<property name="title">
|
||||||
|
<string>工具</string>
|
||||||
|
</property>
|
||||||
|
<addaction name="actioncloseAllRasterFile"/>
|
||||||
|
</widget>
|
||||||
|
<addaction name="toolsMenu"/>
|
||||||
|
</widget>
|
||||||
<action name="tutorialAction">
|
<action name="tutorialAction">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>使用教程</string>
|
<string>使用教程</string>
|
||||||
|
|
Loading…
Reference in New Issue