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