Advertisement
Guest User

somedialog.ui

a guest
Sep 18th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QML 4.61 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3.  <class>SomeDialog</class>
  4.  <widget class="QDialog" name="SomeDialog">
  5.   <property name="windowModality">
  6.    <enum>Qt::ApplicationModal</enum>
  7.   </property>
  8.   <property name="geometry">
  9.    <rect>
  10.     <x>0</x>
  11.     <y>0</y>
  12.     <width>255</width>
  13.     <height>209</height>
  14.    </rect>
  15.   </property>
  16.   <property name="sizePolicy">
  17.    <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  18.     <horstretch>0</horstretch>
  19.     <verstretch>0</verstretch>
  20.    </sizepolicy>
  21.   </property>
  22.   <property name="maximumSize">
  23.    <size>
  24.     <width>255</width>
  25.     <height>209</height>
  26.    </size>
  27.   </property>
  28.   <property name="windowTitle">
  29.    <string>Create new image...</string>
  30.   </property>
  31.   <layout class="QGridLayout" name="gridLayout">
  32.    <item row="1" column="0">
  33.     <widget class="QLabel" name="labelWidth">
  34.      <property name="sizePolicy">
  35.       <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  36.        <horstretch>0</horstretch>
  37.        <verstretch>0</verstretch>
  38.       </sizepolicy>
  39.      </property>
  40.      <property name="text">
  41.       <string>Width:</string>
  42.      </property>
  43.     </widget>
  44.    </item>
  45.    <item row="2" column="2">
  46.     <widget class="QLabel" name="labelHeightPx">
  47.      <property name="text">
  48.       <string>px</string>
  49.      </property>
  50.     </widget>
  51.    </item>
  52.    <item row="2" column="1">
  53.     <widget class="QLineEdit" name="editImgHeight">
  54.      <property name="sizePolicy">
  55.       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  56.        <horstretch>0</horstretch>
  57.        <verstretch>0</verstretch>
  58.       </sizepolicy>
  59.      </property>
  60.      <property name="maximumSize">
  61.       <size>
  62.        <width>100</width>
  63.        <height>16777215</height>
  64.       </size>
  65.      </property>
  66.      <property name="acceptDrops">
  67.       <bool>false</bool>
  68.      </property>
  69.      <property name="inputMask">
  70.       <string/>
  71.      </property>
  72.      <property name="text">
  73.       <string/>
  74.      </property>
  75.     </widget>
  76.    </item>
  77.    <item row="3" column="0" colspan="3">
  78.     <widget class="QDialogButtonBox" name="buttonBox">
  79.      <property name="orientation">
  80.       <enum>Qt::Horizontal</enum>
  81.      </property>
  82.      <property name="standardButtons">
  83.       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  84.      </property>
  85.     </widget>
  86.    </item>
  87.    <item row="1" column="2">
  88.     <widget class="QLabel" name="labelWidthPx">
  89.      <property name="text">
  90.       <string>px</string>
  91.      </property>
  92.     </widget>
  93.    </item>
  94.    <item row="2" column="0">
  95.     <widget class="QLabel" name="labelHeight">
  96.      <property name="sizePolicy">
  97.       <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  98.        <horstretch>0</horstretch>
  99.        <verstretch>0</verstretch>
  100.       </sizepolicy>
  101.      </property>
  102.      <property name="text">
  103.       <string>Height:</string>
  104.      </property>
  105.     </widget>
  106.    </item>
  107.    <item row="1" column="1">
  108.     <widget class="QLineEdit" name="editImgWidth">
  109.      <property name="sizePolicy">
  110.       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  111.        <horstretch>0</horstretch>
  112.        <verstretch>0</verstretch>
  113.       </sizepolicy>
  114.      </property>
  115.      <property name="maximumSize">
  116.       <size>
  117.        <width>100</width>
  118.        <height>16777215</height>
  119.       </size>
  120.      </property>
  121.      <property name="acceptDrops">
  122.       <bool>false</bool>
  123.      </property>
  124.      <property name="inputMask">
  125.       <string/>
  126.      </property>
  127.      <property name="text">
  128.       <string/>
  129.      </property>
  130.     </widget>
  131.    </item>
  132.    <item row="0" column="0" colspan="2">
  133.     <widget class="QLabel" name="labelImagePropts">
  134.      <property name="font">
  135.       <font>
  136.        <weight>75</weight>
  137.        <bold>true</bold>
  138.       </font>
  139.      </property>
  140.      <property name="text">
  141.       <string>Image properties:</string>
  142.      </property>
  143.     </widget>
  144.    </item>
  145.   </layout>
  146.  </widget>
  147.  <resources/>
  148.  <connections>
  149.   <connection>
  150.    <sender>buttonBox</sender>
  151.    <signal>accepted()</signal>
  152.    <receiver>SomeDialog</receiver>
  153.    <slot>accept()</slot>
  154.    <hints>
  155.     <hint type="sourcelabel">
  156.      <x>248</x>
  157.      <y>254</y>
  158.     </hint>
  159.     <hint type="destinationlabel">
  160.      <x>157</x>
  161.      <y>274</y>
  162.     </hint>
  163.    </hints>
  164.   </connection>
  165.   <connection>
  166.    <sender>buttonBox</sender>
  167.    <signal>rejected()</signal>
  168.    <receiver>SomeDialog</receiver>
  169.    <slot>reject()</slot>
  170.    <hints>
  171.     <hint type="sourcelabel">
  172.      <x>316</x>
  173.      <y>260</y>
  174.     </hint>
  175.     <hint type="destinationlabel">
  176.      <x>286</x>
  177.      <y>274</y>
  178.     </hint>
  179.    </hints>
  180.   </connection>
  181.  </connections>
  182. </ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement