warningdialog.ui
author insilmaril
Mon, 05 May 2008 13:46:42 +0000
changeset 696 0c2d74acf035
parent 433 310f1d82cf89
permissions -rw-r--r--
Some code cleanup and experimental stuff to support animations later
     1 <ui version="4.0" >
     2  <class>WarningDialog</class>
     3  <widget class="QDialog" name="WarningDialog" >
     4   <property name="geometry" >
     5    <rect>
     6     <x>0</x>
     7     <y>0</y>
     8     <width>543</width>
     9     <height>264</height>
    10    </rect>
    11   </property>
    12   <property name="windowTitle" >
    13    <string>VYM - Warning : Foo...</string>
    14   </property>
    15   <layout class="QVBoxLayout" >
    16    <property name="margin" >
    17     <number>9</number>
    18    </property>
    19    <property name="spacing" >
    20     <number>6</number>
    21    </property>
    22    <item>
    23     <widget class="QTextEdit" name="warningTE" >
    24      <property name="palette" >
    25       <palette>
    26        <active>
    27         <colorrole role="Base" >
    28          <brush brushstyle="SolidPattern" >
    29           <color alpha="255" >
    30            <red>238</red>
    31            <green>238</green>
    32            <blue>238</blue>
    33           </color>
    34          </brush>
    35         </colorrole>
    36        </active>
    37        <inactive>
    38         <colorrole role="Base" >
    39          <brush brushstyle="SolidPattern" >
    40           <color alpha="255" >
    41            <red>238</red>
    42            <green>238</green>
    43            <blue>238</blue>
    44           </color>
    45          </brush>
    46         </colorrole>
    47        </inactive>
    48        <disabled>
    49         <colorrole role="Base" >
    50          <brush brushstyle="SolidPattern" >
    51           <color alpha="255" >
    52            <red>238</red>
    53            <green>238</green>
    54            <blue>238</blue>
    55           </color>
    56          </brush>
    57         </colorrole>
    58        </disabled>
    59       </palette>
    60      </property>
    61      <property name="frameShape" >
    62       <enum>QFrame::NoFrame</enum>
    63      </property>
    64      <property name="frameShadow" >
    65       <enum>QFrame::Plain</enum>
    66      </property>
    67      <property name="readOnly" >
    68       <bool>true</bool>
    69      </property>
    70     </widget>
    71    </item>
    72    <item>
    73     <widget class="QLabel" name="warningSign" >
    74      <property name="text" >
    75       <string/>
    76      </property>
    77     </widget>
    78    </item>
    79    <item>
    80     <spacer>
    81      <property name="orientation" >
    82       <enum>Qt::Vertical</enum>
    83      </property>
    84      <property name="sizeType" >
    85       <enum>QSizePolicy::Expanding</enum>
    86      </property>
    87      <property name="sizeHint" >
    88       <size>
    89        <width>525</width>
    90        <height>16</height>
    91       </size>
    92      </property>
    93     </spacer>
    94    </item>
    95    <item>
    96     <layout class="QHBoxLayout" >
    97      <property name="margin" >
    98       <number>0</number>
    99      </property>
   100      <property name="spacing" >
   101       <number>6</number>
   102      </property>
   103      <item>
   104       <widget class="QCheckBox" name="showAgainBox" >
   105        <property name="text" >
   106         <string>showAgainBox</string>
   107        </property>
   108        <property name="checked" >
   109         <bool>true</bool>
   110        </property>
   111       </widget>
   112      </item>
   113      <item>
   114       <spacer>
   115        <property name="orientation" >
   116         <enum>Qt::Horizontal</enum>
   117        </property>
   118        <property name="sizeType" >
   119         <enum>QSizePolicy::Expanding</enum>
   120        </property>
   121        <property name="sizeHint" >
   122         <size>
   123          <width>73</width>
   124          <height>31</height>
   125         </size>
   126        </property>
   127       </spacer>
   128      </item>
   129      <item>
   130       <widget class="QPushButton" name="cancelButton" >
   131        <property name="text" >
   132         <string>Cancel</string>
   133        </property>
   134       </widget>
   135      </item>
   136      <item>
   137       <widget class="QPushButton" name="okButton" >
   138        <property name="text" >
   139         <string>Ok</string>
   140        </property>
   141       </widget>
   142      </item>
   143     </layout>
   144    </item>
   145   </layout>
   146  </widget>
   147  <layoutdefault spacing="6" margin="11" />
   148  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
   149  <resources/>
   150  <connections>
   151   <connection>
   152    <sender>cancelButton</sender>
   153    <signal>clicked()</signal>
   154    <receiver>WarningDialog</receiver>
   155    <slot>reject()</slot>
   156    <hints>
   157     <hint type="sourcelabel" >
   158      <x>131</x>
   159      <y>244</y>
   160     </hint>
   161     <hint type="destinationlabel" >
   162      <x>266</x>
   163      <y>135</y>
   164     </hint>
   165    </hints>
   166   </connection>
   167   <connection>
   168    <sender>okButton</sender>
   169    <signal>clicked()</signal>
   170    <receiver>WarningDialog</receiver>
   171    <slot>accept()</slot>
   172    <hints>
   173     <hint type="sourcelabel" >
   174      <x>222</x>
   175      <y>244</y>
   176     </hint>
   177     <hint type="destinationlabel" >
   178      <x>266</x>
   179      <y>135</y>
   180     </hint>
   181    </hints>
   182   </connection>
   183  </connections>
   184 </ui>