339 lines
10 KiB
XML
339 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>AppSettingDialog</class>
|
||
<widget class="QDialog" name="AppSettingDialog">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>726</width>
|
||
<height>380</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>系统设置</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="VerticalLayout" stretch="0,0">
|
||
<property name="spacing">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="leftMargin">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>10</number>
|
||
</property>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
|
||
<property name="bottomMargin">
|
||
<number>10</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QTreeWidget" name="appSettingTreeWidget">
|
||
<attribute name="headerVisible">
|
||
<bool>true</bool>
|
||
</attribute>
|
||
<column>
|
||
<property name="text">
|
||
<string>设置选项</string>
|
||
</property>
|
||
</column>
|
||
<item>
|
||
<property name="text">
|
||
<string>工作空间</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>ML模型库</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>cURL程序</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>MySQL数据库</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>GeoServer</string>
|
||
</property>
|
||
</item>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="appSettingGroupBox">
|
||
<property name="title">
|
||
<string/>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
<property name="spacing">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="leftMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QStackedWidget" name="appSettingStackedWidget">
|
||
<property name="currentIndex">
|
||
<number>0</number>
|
||
</property>
|
||
<widget class="QWidget" name="workingSpaceSettingPage">
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="selectWorkingDirLineEdit"/>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QPushButton" name="selectWorkingDirPushButton">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="selectWorkingDirLabel">
|
||
<property name="text">
|
||
<string>默认工作路径:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<spacer name="verticalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="mlModelLibPage">
|
||
<layout class="QGridLayout" name="mlModelLibPageGridLayout">
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="paramsFileDirLineEdit">
|
||
<property name="enabled">
|
||
<bool>false</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<spacer name="verticalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="paramsFileDirLabel">
|
||
<property name="text">
|
||
<string>参数文件路径:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="cURLSettingPage">
|
||
<layout class="QGridLayout" name="cURLSettingGridLayout">
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="cURLBinDirLabel">
|
||
<property name="text">
|
||
<string>cURL路径:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="cURLBinDirLineEdit">
|
||
<property name="enabled">
|
||
<bool>false</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<spacer name="verticalSpacer_3">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="mySQLSettingPage">
|
||
<layout class="QGridLayout" name="mySQLSettingGridLayout">
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="mySQLHostLineEdit"/>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="mySQLHostLabel">
|
||
<property name="text">
|
||
<string>Host:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<spacer name="verticalSpacer_4">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QLabel" name="mySQLPortLabel">
|
||
<property name="text">
|
||
<string>端口:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="4">
|
||
<widget class="QLineEdit" name="mySQLPortLineEdit"/>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<spacer name="horizontalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="geoserverSettingPage">
|
||
<layout class="QGridLayout" name="geoserverSettingGridLayout">
|
||
<item row="0" column="4">
|
||
<widget class="QLineEdit" name="geoserverPortLineEdit"/>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QLabel" name="geoserverPortLabel">
|
||
<property name="text">
|
||
<string>端口:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="geoserverHostLabel">
|
||
<property name="text">
|
||
<string>Host:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<spacer name="verticalSpacer_5">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="geoserverHostLineEdit"/>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<spacer name="horizontalSpacer_3">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
<item>
|
||
<spacer name="horizontalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="okPushButton">
|
||
<property name="text">
|
||
<string>确定</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="cancelPushButton">
|
||
<property name="text">
|
||
<string>取消</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|