mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
290 lines
7.3 KiB
XML
290 lines
7.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ScriptEditorWindow</class>
|
|
<widget class="QWidget" name="ScriptEditorWindow">
|
|
<property name="windowModality">
|
|
<enum>Qt::WindowModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>474</width>
|
|
<height>638</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>250</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Script editor []</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font-family: Helvetica, Arial, sans-serif;</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</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>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0">
|
|
<property name="spacing">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetNoConstraint</enum>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="newButton">
|
|
<property name="toolTip">
|
|
<string>New Script</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>New</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>../resources/icons/new-script.svg</normaloff>
|
|
<normalon>../resources/images/pinned.svg</normalon>../resources/icons/new-script.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="loadButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="baseSize">
|
|
<size>
|
|
<width>25</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Load Script</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Load</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>../resources/icons/load-script.svg</normaloff>../resources/icons/load-script.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="popupMode">
|
|
<enum>QToolButton::MenuButtonPopup</enum>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonIconOnly</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="saveButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>2</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save Script</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>../resources/icons/save-script.svg</normaloff>../resources/icons/save-script.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="autoRepeatDelay">
|
|
<number>316</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="toggleRunButton">
|
|
<property name="toolTip">
|
|
<string>Toggle Run Script</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Run/Stop</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>../resources/images/plus.svg</normaloff>../resources/images/plus.svg</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<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>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>250</width>
|
|
<height>80</height>
|
|
</size>
|
|
</property>
|
|
<property name="tabPosition">
|
|
<enum>QTabWidget::West</enum>
|
|
</property>
|
|
<property name="tabShape">
|
|
<enum>QTabWidget::Triangular</enum>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>-1</number>
|
|
</property>
|
|
<property name="elideMode">
|
|
<enum>Qt::ElideNone</enum>
|
|
</property>
|
|
<property name="tabsClosable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="movable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>saveButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ScriptEditorWindow</receiver>
|
|
<slot>saveScriptClicked()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>236</x>
|
|
<y>10</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>199</x>
|
|
<y>264</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>toggleRunButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ScriptEditorWindow</receiver>
|
|
<slot>toggleRunScriptClicked()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>330</x>
|
|
<y>10</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>199</x>
|
|
<y>264</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>newButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ScriptEditorWindow</receiver>
|
|
<slot>newScriptClicked()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>58</x>
|
|
<y>10</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>199</x>
|
|
<y>264</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>loadButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ScriptEditorWindow</receiver>
|
|
<slot>loadScriptClicked()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>85</x>
|
|
<y>10</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>199</x>
|
|
<y>264</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|