| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>EcmaScriptShell</class>
- <widget class="QDialog" name="EcmaScriptShell">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>256</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>400</width>
- <height>256</height>
- </size>
- </property>
- <property name="windowTitle">
- <string>ECMAScript Shell</string>
- </property>
- <property name="modal">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout">
- <item>
- <widget class="QLabel" name="Message">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string><html><head/><body><p>You are about to enable the ECMAScript Shell.</p><p>Through the ECMAScript Shell you can <span style=" color:#ff0000;">modify your drawings</span> but also <span style=" color:#ff0000;">delete files</span> or <span style=" color:#ff0000;">crash the application</span> which can lead to <span style=" color:#ff0000;">data loss</span>.</p><p>For inexperienced programmers, it is recommended to limit the use of the ECMAScript shell to the <a href="http://www.qcad.org/doc/qcad/latest/developer/group__ecma__simple.html"><span style=" text-decoration: underline; color:#0000ff;">QCAD Simple API</span></a> which is considered to be "safe" to use.</p></body></html></string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="DontShowDialog">
- <property name="text">
- <string>Don't show this dialog again</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="ButtonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <tabstops>
- <tabstop>ButtonBox</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>ButtonBox</sender>
- <signal>accepted()</signal>
- <receiver>EcmaScriptShell</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>250</x>
- <y>235</y>
- </hint>
- <hint type="destinationlabel">
- <x>399</x>
- <y>196</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>ButtonBox</sender>
- <signal>rejected()</signal>
- <receiver>EcmaScriptShell</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>275</x>
- <y>232</y>
- </hint>
- <hint type="destinationlabel">
- <x>398</x>
- <y>165</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|