Warning, /kdevelop/kdevelop/file_templates/classes/qdialog/class.ui is written in an unsupported language. File is not indexed.

0001 {% with namespaces|join:"::"|default:"::"|add:"::"|cut:"::::"|add:name as ns_prefixed_name %}
0002 <?xml version="1.0" encoding="UTF-8"?>
0003 <ui version="4.0">
0004  <class>{{ ns_prefixed_name }}</class>
0005  <widget class="QDialog" name="{{ ns_prefixed_name }}">
0006   <property name="geometry">
0007    <rect>
0008     <x>0</x>
0009     <y>0</y>
0010     <width>520</width>
0011     <height>300</height>
0012    </rect>
0013   </property>
0014   <property name="windowTitle">
0015    <string>{{ window_title }}</string>
0016   </property>
0017   <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0">
0018    <item>
0019     <spacer name="verticalSpacer">
0020      <property name="orientation">
0021       <enum>Qt::Vertical</enum>
0022      </property>
0023     </spacer>
0024    </item>
0025    <item>
0026     <widget class="QDialogButtonBox" name="buttonBox">
0027      <property name="orientation">
0028       <enum>Qt::Horizontal</enum>
0029      </property>
0030      <property name="standardButtons">
0031 {% if "Close" == buttonset %}
0032       <set>QDialogButtonBox::Close</set>
0033 {% else %}{# default Ok/Cancel #}
0034       <set>QDialogButtonBox::Ok|QDialogButtonBox::Cancel</set>
0035 {% endif %}
0036      </property>
0037     </widget>
0038    </item>
0039   </layout>
0040  </widget>
0041  <resources/>
0042  <connections>
0043 {% if "Ok/Cancel" == buttonset %}
0044   <connection>
0045    <sender>buttonBox</sender>
0046    <signal>accepted()</signal>
0047    <receiver>{{ ns_prefixed_name }}</receiver>
0048    <slot>accept()</slot>
0049   </connection>
0050 {% endif %}
0051   <connection>
0052    <sender>buttonBox</sender>
0053    <signal>rejected()</signal>
0054    <receiver>{{ ns_prefixed_name }}</receiver>
0055    <slot>reject()</slot>
0056   </connection>
0057  </connections>
0058 </ui>
0059 {% endwith %}