mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
614 lines
20 KiB
XML
Executable File
614 lines
20 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ServerPreferencesPageWidget</class>
|
|
<widget class="QWidget" name="ServerPreferencesPageWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>681</width>
|
|
<height>843</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Server</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QTabWidget" name="uiServerPreferenceTabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="uiLocalTabWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>Main server</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QCheckBox" name="uiLocalServerAutoStartCheckBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable local server</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="uiGeneralSettingsGroupBox">
|
|
<property name="title">
|
|
<string>General settings</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="uiLocalServerPathLabel">
|
|
<property name="text">
|
|
<string>Server path:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLineEdit" name="uiLocalServerPathLineEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="uiLocalServerToolButton">
|
|
<property name="text">
|
|
<string>&Browse...</string>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextOnly</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="uiUbridgePathLabel">
|
|
<property name="text">
|
|
<string>Ubridge path:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLineEdit" name="uiUbridgePathLineEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="uiUbridgeToolButton">
|
|
<property name="text">
|
|
<string>&Browse...</string>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonTextOnly</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="uiLocalServerHostLabel">
|
|
<property name="text">
|
|
<string>Host binding:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QComboBox" name="uiLocalServerHostComboBox"/>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="uiLocalServerPortLabel">
|
|
<property name="text">
|
|
<string>Port:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QSpinBox" name="uiLocalServerPortSpinBox">
|
|
<property name="suffix">
|
|
<string notr="true"> TCP</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>3080</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QCheckBox" name="uiLocalServerAuthCheckBox">
|
|
<property name="text">
|
|
<string>Protect server with password (recommended)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="0">
|
|
<widget class="QCheckBox" name="uiConsoleConnectionsToAnyIPCheckBox">
|
|
<property name="text">
|
|
<string>Allow console connections to any local IP address</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="uiConsolePortRangeGroupBox">
|
|
<property name="title">
|
|
<string>Console port range (5900 => 6000 is shared with VNC)</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QSpinBox" name="uiConsoleStartPortSpinBox">
|
|
<property name="suffix">
|
|
<string notr="true"> TCP</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>2000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="uiConsolePortRangeLabel">
|
|
<property name="text">
|
|
<string>to</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="uiConsoleEndPortSpinBox">
|
|
<property name="suffix">
|
|
<string notr="true"> TCP</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>5000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::MinimumExpanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>225</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="uiUDPPortRangeGroupBox">
|
|
<property name="title">
|
|
<string>UDP tunneling port range</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QSpinBox" name="uiUDPStartPortSpinBox">
|
|
<property name="suffix">
|
|
<string notr="true"> UDP</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="uiUDPPortRangeLabel">
|
|
<property name="text">
|
|
<string>to</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="uiUDPEndPortSpinBox">
|
|
<property name="suffix">
|
|
<string notr="true"> UDP</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>20000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::MinimumExpanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="uiRemoteMainServerGroupBox">
|
|
<property name="title">
|
|
<string>Remote main server</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Host:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2">
|
|
<widget class="QSpinBox" name="uiRemoteMainServerPortSpinBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> TCP</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>3080</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Auth:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="QLineEdit" name="uiRemoteMainServerUserLineEdit"/>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>User:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="2">
|
|
<widget class="QLineEdit" name="uiRemoteMainServerPasswordLineEdit">
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::Password</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Port:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="2">
|
|
<widget class="QLineEdit" name="uiRemoteMainServerHostLineEdit"/>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Password:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QCheckBox" name="uiRemoteMainServerAuthCheckBox">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="uiRemoteMainServerProtocolLabel">
|
|
<property name="text">
|
|
<string>Protocol:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="2">
|
|
<widget class="QComboBox" name="uiRemoteMainServerProtocolComboBox">
|
|
<item>
|
|
<property name="text">
|
|
<string>HTTP</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>HTTPS</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>10</width>
|
|
<height>10</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
<zorder>uiGeneralSettingsGroupBox</zorder>
|
|
<zorder>uiConsolePortRangeGroupBox</zorder>
|
|
<zorder>uiUDPPortRangeGroupBox</zorder>
|
|
<zorder>uiLocalServerAutoStartCheckBox</zorder>
|
|
<zorder>uiRemoteMainServerGroupBox</zorder>
|
|
<zorder>verticalSpacer</zorder>
|
|
</widget>
|
|
<widget class="QWidget" name="uiRemoteTabWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>Remote servers</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<property name="leftMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QTreeWidget" name="uiRemoteServersTreeWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="columnCount">
|
|
<number>5</number>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">Protocol</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">Host</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">Port</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>User</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="2">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QPushButton" name="uiAddRemoteServerPushButton">
|
|
<property name="text">
|
|
<string>&Add</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="uiUpdateRemoteServerPushButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="uiDeleteRemoteServerPushButton">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Delete</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<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>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>5</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Note: Changes are not visible in other part of the settings or application until you apply them.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<zorder>uiRemoteServersTreeWidget</zorder>
|
|
<zorder>verticalSpacer_3</zorder>
|
|
<zorder>label_7</zorder>
|
|
</widget>
|
|
</widget>
|
|
</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="uiRestoreDefaultsPushButton">
|
|
<property name="text">
|
|
<string>Restore defaults</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>uiServerPreferenceTabWidget</tabstop>
|
|
<tabstop>uiLocalServerAutoStartCheckBox</tabstop>
|
|
<tabstop>uiLocalServerPathLineEdit</tabstop>
|
|
<tabstop>uiLocalServerToolButton</tabstop>
|
|
<tabstop>uiUbridgePathLineEdit</tabstop>
|
|
<tabstop>uiUbridgeToolButton</tabstop>
|
|
<tabstop>uiLocalServerHostComboBox</tabstop>
|
|
<tabstop>uiLocalServerPortSpinBox</tabstop>
|
|
<tabstop>uiLocalServerAuthCheckBox</tabstop>
|
|
<tabstop>uiConsoleConnectionsToAnyIPCheckBox</tabstop>
|
|
<tabstop>uiConsoleStartPortSpinBox</tabstop>
|
|
<tabstop>uiConsoleEndPortSpinBox</tabstop>
|
|
<tabstop>uiUDPStartPortSpinBox</tabstop>
|
|
<tabstop>uiUDPEndPortSpinBox</tabstop>
|
|
<tabstop>uiRemoteServersTreeWidget</tabstop>
|
|
<tabstop>uiAddRemoteServerPushButton</tabstop>
|
|
<tabstop>uiDeleteRemoteServerPushButton</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
<designerdata>
|
|
<property name="gridDeltaX">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="gridDeltaY">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="gridSnapX">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="gridSnapY">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="gridVisible">
|
|
<bool>true</bool>
|
|
</property>
|
|
</designerdata>
|
|
</ui>
|