mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
229 lines
6.6 KiB
XML
229 lines
6.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>EditProjectDialog</class>
|
|
<widget class="QDialog" name="EditProjectDialog">
|
|
<property name="windowModality">
|
|
<enum>Qt::ApplicationModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>946</width>
|
|
<height>502</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Edit project</string>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="uiGeneralTab">
|
|
<attribute name="title">
|
|
<string>General</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="uiGeneralGrid">
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="uiSceneWidthLabel">
|
|
<property name="text">
|
|
<string>Scene width:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="0" colspan="3">
|
|
<widget class="QCheckBox" name="uiProjectAutoCloseCheckBox">
|
|
<property name="text">
|
|
<string>Leave this project running in the background when closing GNS3</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="uiProjectNameLabel">
|
|
<property name="text">
|
|
<string>Project Name:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSpinBox" name="uiSceneWidthSpinBox">
|
|
<property name="suffix">
|
|
<string> px</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>500</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QSpinBox" name="uiNodeGridSizeSpinBox">
|
|
<property name="minimum">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>150</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>75</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QSpinBox" name="uiDrawingGridSizeSpinBox">
|
|
<property name="minimum">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>25</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSpinBox" name="uiSceneHeightSpinBox">
|
|
<property name="suffix">
|
|
<string> px</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>500</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="uiSceneHeightLabel">
|
|
<property name="text">
|
|
<string>Scene height:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="uiProjectNameLineEdit"/>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="uiNodeGridSizeLabel">
|
|
<property name="text">
|
|
<string>Node grid size:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="uiDrawingGridSizeLabel">
|
|
<property name="text">
|
|
<string>Drawing grid size:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0" colspan="3">
|
|
<widget class="QCheckBox" name="uiProjectAutoOpenCheckBox">
|
|
<property name="text">
|
|
<string>Open this project in the background when GNS3 server starts</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0" colspan="3">
|
|
<widget class="QCheckBox" name="uiProjectAutoStartCheckBox">
|
|
<property name="text">
|
|
<string>Start all nodes when this project is opened</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="10" 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="uiGlobalVariablesTab">
|
|
<attribute name="title">
|
|
<string>Global variables</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="uiGlobalVariablesGrid"/>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QDialogButtonBox" name="uiButtonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>tabWidget</tabstop>
|
|
<tabstop>uiProjectNameLineEdit</tabstop>
|
|
<tabstop>uiSceneWidthSpinBox</tabstop>
|
|
<tabstop>uiSceneHeightSpinBox</tabstop>
|
|
<tabstop>uiNodeGridSizeSpinBox</tabstop>
|
|
<tabstop>uiDrawingGridSizeSpinBox</tabstop>
|
|
<tabstop>uiProjectAutoOpenCheckBox</tabstop>
|
|
<tabstop>uiProjectAutoStartCheckBox</tabstop>
|
|
<tabstop>uiProjectAutoCloseCheckBox</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>uiButtonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>EditProjectDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>uiButtonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>EditProjectDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|