warningdialog.ui
changeset 415 4910fdf27142
parent 343 f5c1cdf79e6e
child 433 310f1d82cf89
     1.1 --- a/warningdialog.ui	Thu Jun 01 11:19:57 2006 +0000
     1.2 +++ b/warningdialog.ui	Fri Dec 29 13:52:18 2006 +0000
     1.3 @@ -1,231 +1,140 @@
     1.4 -<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
     1.5 -<class>WarningDialog</class>
     1.6 -<widget class="QDialog">
     1.7 -    <property name="name">
     1.8 -        <cstring>WarningDialog</cstring>
     1.9 -    </property>
    1.10 -    <property name="geometry">
    1.11 -        <rect>
    1.12 -            <x>0</x>
    1.13 -            <y>0</y>
    1.14 -            <width>350</width>
    1.15 -            <height>181</height>
    1.16 -        </rect>
    1.17 -    </property>
    1.18 -    <property name="caption">
    1.19 -        <string>VYM - Warning : Foo...</string>
    1.20 -    </property>
    1.21 -    <vbox>
    1.22 -        <property name="name">
    1.23 -            <cstring>unnamed</cstring>
    1.24 -        </property>
    1.25 -        <widget class="QLayoutWidget">
    1.26 -            <property name="name">
    1.27 -                <cstring>layout6</cstring>
    1.28 -            </property>
    1.29 -            <hbox>
    1.30 -                <property name="name">
    1.31 -                    <cstring>unnamed</cstring>
    1.32 -                </property>
    1.33 -                <widget class="QLabel">
    1.34 -                    <property name="name">
    1.35 -                        <cstring>warningSign</cstring>
    1.36 -                    </property>
    1.37 -                    <property name="scaledContents">
    1.38 -                        <bool>true</bool>
    1.39 -                    </property>
    1.40 -                </widget>
    1.41 -                <widget class="QLabel">
    1.42 -                    <property name="name">
    1.43 -                        <cstring>textLabel</cstring>
    1.44 -                    </property>
    1.45 -                    <property name="text">
    1.46 -                        <string>textLabel</string>
    1.47 -                    </property>
    1.48 -                </widget>
    1.49 -                <spacer>
    1.50 -                    <property name="name">
    1.51 -                        <cstring>spacer6</cstring>
    1.52 -                    </property>
    1.53 -                    <property name="orientation">
    1.54 -                        <enum>Horizontal</enum>
    1.55 -                    </property>
    1.56 -                    <property name="sizeType">
    1.57 -                        <enum>Expanding</enum>
    1.58 -                    </property>
    1.59 -                    <property name="sizeHint">
    1.60 -                        <size>
    1.61 -                            <width>160</width>
    1.62 -                            <height>31</height>
    1.63 -                        </size>
    1.64 -                    </property>
    1.65 -                </spacer>
    1.66 -            </hbox>
    1.67 -        </widget>
    1.68 -        <spacer>
    1.69 -            <property name="name">
    1.70 -                <cstring>spacer7</cstring>
    1.71 -            </property>
    1.72 -            <property name="orientation">
    1.73 -                <enum>Vertical</enum>
    1.74 -            </property>
    1.75 -            <property name="sizeType">
    1.76 -                <enum>Expanding</enum>
    1.77 -            </property>
    1.78 -            <property name="sizeHint">
    1.79 -                <size>
    1.80 -                    <width>21</width>
    1.81 -                    <height>20</height>
    1.82 -                </size>
    1.83 -            </property>
    1.84 -        </spacer>
    1.85 -        <widget class="QLayoutWidget">
    1.86 -            <property name="name">
    1.87 -                <cstring>layout4</cstring>
    1.88 -            </property>
    1.89 -            <hbox>
    1.90 -                <property name="name">
    1.91 -                    <cstring>unnamed</cstring>
    1.92 -                </property>
    1.93 -                <spacer>
    1.94 -                    <property name="name">
    1.95 -                        <cstring>spacer3</cstring>
    1.96 -                    </property>
    1.97 -                    <property name="orientation">
    1.98 -                        <enum>Horizontal</enum>
    1.99 -                    </property>
   1.100 -                    <property name="sizeType">
   1.101 -                        <enum>Expanding</enum>
   1.102 -                    </property>
   1.103 -                    <property name="sizeHint">
   1.104 -                        <size>
   1.105 -                            <width>61</width>
   1.106 -                            <height>20</height>
   1.107 -                        </size>
   1.108 -                    </property>
   1.109 -                </spacer>
   1.110 -                <widget class="QCheckBox">
   1.111 -                    <property name="name">
   1.112 -                        <cstring>showAgainBox</cstring>
   1.113 -                    </property>
   1.114 -                    <property name="text">
   1.115 -                        <string>showAgainBox</string>
   1.116 -                    </property>
   1.117 -                    <property name="checked">
   1.118 -                        <bool>true</bool>
   1.119 -                    </property>
   1.120 -                </widget>
   1.121 -                <spacer>
   1.122 -                    <property name="name">
   1.123 -                        <cstring>spacer4</cstring>
   1.124 -                    </property>
   1.125 -                    <property name="orientation">
   1.126 -                        <enum>Horizontal</enum>
   1.127 -                    </property>
   1.128 -                    <property name="sizeType">
   1.129 -                        <enum>Expanding</enum>
   1.130 -                    </property>
   1.131 -                    <property name="sizeHint">
   1.132 -                        <size>
   1.133 -                            <width>51</width>
   1.134 -                            <height>21</height>
   1.135 -                        </size>
   1.136 -                    </property>
   1.137 -                </spacer>
   1.138 -            </hbox>
   1.139 -        </widget>
   1.140 -        <spacer>
   1.141 -            <property name="name">
   1.142 -                <cstring>spacer5</cstring>
   1.143 -            </property>
   1.144 -            <property name="orientation">
   1.145 -                <enum>Vertical</enum>
   1.146 -            </property>
   1.147 -            <property name="sizeType">
   1.148 -                <enum>Expanding</enum>
   1.149 -            </property>
   1.150 -            <property name="sizeHint">
   1.151 -                <size>
   1.152 -                    <width>21</width>
   1.153 -                    <height>20</height>
   1.154 -                </size>
   1.155 -            </property>
   1.156 -        </spacer>
   1.157 -        <widget class="QLayoutWidget">
   1.158 -            <property name="name">
   1.159 -                <cstring>layout3</cstring>
   1.160 -            </property>
   1.161 -            <hbox>
   1.162 -                <property name="name">
   1.163 -                    <cstring>unnamed</cstring>
   1.164 -                </property>
   1.165 -                <spacer>
   1.166 -                    <property name="name">
   1.167 -                        <cstring>spacer2</cstring>
   1.168 -                    </property>
   1.169 -                    <property name="orientation">
   1.170 -                        <enum>Horizontal</enum>
   1.171 -                    </property>
   1.172 -                    <property name="sizeType">
   1.173 -                        <enum>Expanding</enum>
   1.174 -                    </property>
   1.175 -                    <property name="sizeHint">
   1.176 -                        <size>
   1.177 -                            <width>161</width>
   1.178 -                            <height>31</height>
   1.179 -                        </size>
   1.180 -                    </property>
   1.181 -                </spacer>
   1.182 -                <widget class="QPushButton">
   1.183 -                    <property name="name">
   1.184 -                        <cstring>cancelButton</cstring>
   1.185 -                    </property>
   1.186 -                    <property name="text">
   1.187 -                        <string>Cancel</string>
   1.188 -                    </property>
   1.189 -                </widget>
   1.190 -                <widget class="QPushButton">
   1.191 -                    <property name="name">
   1.192 -                        <cstring>okButton</cstring>
   1.193 -                    </property>
   1.194 -                    <property name="text">
   1.195 -                        <string>Ok</string>
   1.196 -                    </property>
   1.197 -                </widget>
   1.198 -            </hbox>
   1.199 -        </widget>
   1.200 -    </vbox>
   1.201 -</widget>
   1.202 -<connections>
   1.203 -    <connection>
   1.204 -        <sender>okButton</sender>
   1.205 -        <signal>clicked()</signal>
   1.206 -        <receiver>WarningDialog</receiver>
   1.207 -        <slot>accept()</slot>
   1.208 -    </connection>
   1.209 -    <connection>
   1.210 -        <sender>cancelButton</sender>
   1.211 -        <signal>clicked()</signal>
   1.212 -        <receiver>WarningDialog</receiver>
   1.213 -        <slot>reject()</slot>
   1.214 -    </connection>
   1.215 -</connections>
   1.216 -<includes>
   1.217 -    <include location="local" impldecl="in implementation">warningdialog.ui.h</include>
   1.218 -</includes>
   1.219 -<variables>
   1.220 -    <variable>bool useShowAgain;</variable>
   1.221 -    <variable>QString showAgainName;</variable>
   1.222 -</variables>
   1.223 -<slots>
   1.224 -    <slot>setCancelButton( bool b )</slot>
   1.225 -    <slot>setShowAgainName( const QString &amp; s )</slot>
   1.226 -    <slot>setText( const QString &amp; s )</slot>
   1.227 -    <slot>setCaption( const QString &amp; s )</slot>
   1.228 -</slots>
   1.229 -<functions>
   1.230 -    <function access="private" specifier="non virtual">init()</function>
   1.231 -</functions>
   1.232 -<pixmapinproject/>
   1.233 -<layoutdefaults spacing="6" margin="11"/>
   1.234 -</UI>
   1.235 +<ui version="4.0" >
   1.236 + <author></author>
   1.237 + <comment></comment>
   1.238 + <exportmacro></exportmacro>
   1.239 + <class>WarningDialog</class>
   1.240 + <widget class="QDialog" name="WarningDialog" >
   1.241 +  <property name="geometry" >
   1.242 +   <rect>
   1.243 +    <x>0</x>
   1.244 +    <y>0</y>
   1.245 +    <width>543</width>
   1.246 +    <height>264</height>
   1.247 +   </rect>
   1.248 +  </property>
   1.249 +  <property name="windowTitle" >
   1.250 +   <string>VYM - Warning : Foo...</string>
   1.251 +  </property>
   1.252 +  <layout class="QVBoxLayout" >
   1.253 +   <property name="margin" >
   1.254 +    <number>9</number>
   1.255 +   </property>
   1.256 +   <property name="spacing" >
   1.257 +    <number>6</number>
   1.258 +   </property>
   1.259 +   <item>
   1.260 +    <widget class="QTextEdit" name="warningTE" />
   1.261 +   </item>
   1.262 +   <item>
   1.263 +    <widget class="QLabel" name="warningSign" >
   1.264 +     <property name="text" >
   1.265 +      <string/>
   1.266 +     </property>
   1.267 +    </widget>
   1.268 +   </item>
   1.269 +   <item>
   1.270 +    <spacer>
   1.271 +     <property name="orientation" >
   1.272 +      <enum>Qt::Vertical</enum>
   1.273 +     </property>
   1.274 +     <property name="sizeType" >
   1.275 +      <enum>QSizePolicy::Expanding</enum>
   1.276 +     </property>
   1.277 +     <property name="sizeHint" >
   1.278 +      <size>
   1.279 +       <width>512</width>
   1.280 +       <height>16</height>
   1.281 +      </size>
   1.282 +     </property>
   1.283 +    </spacer>
   1.284 +   </item>
   1.285 +   <item>
   1.286 +    <layout class="QHBoxLayout" >
   1.287 +     <property name="margin" >
   1.288 +      <number>0</number>
   1.289 +     </property>
   1.290 +     <property name="spacing" >
   1.291 +      <number>6</number>
   1.292 +     </property>
   1.293 +     <item>
   1.294 +      <widget class="QCheckBox" name="showAgainBox" >
   1.295 +       <property name="text" >
   1.296 +        <string>showAgainBox</string>
   1.297 +       </property>
   1.298 +       <property name="checked" >
   1.299 +        <bool>true</bool>
   1.300 +       </property>
   1.301 +      </widget>
   1.302 +     </item>
   1.303 +     <item>
   1.304 +      <spacer>
   1.305 +       <property name="orientation" >
   1.306 +        <enum>Qt::Horizontal</enum>
   1.307 +       </property>
   1.308 +       <property name="sizeType" >
   1.309 +        <enum>QSizePolicy::Expanding</enum>
   1.310 +       </property>
   1.311 +       <property name="sizeHint" >
   1.312 +        <size>
   1.313 +         <width>73</width>
   1.314 +         <height>31</height>
   1.315 +        </size>
   1.316 +       </property>
   1.317 +      </spacer>
   1.318 +     </item>
   1.319 +     <item>
   1.320 +      <widget class="QPushButton" name="cancelButton" >
   1.321 +       <property name="text" >
   1.322 +        <string>Cancel</string>
   1.323 +       </property>
   1.324 +      </widget>
   1.325 +     </item>
   1.326 +     <item>
   1.327 +      <widget class="QPushButton" name="okButton" >
   1.328 +       <property name="text" >
   1.329 +        <string>Ok</string>
   1.330 +       </property>
   1.331 +      </widget>
   1.332 +     </item>
   1.333 +    </layout>
   1.334 +   </item>
   1.335 +  </layout>
   1.336 + </widget>
   1.337 + <layoutdefault spacing="6" margin="11" />
   1.338 + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
   1.339 + <resources/>
   1.340 + <connections>
   1.341 +  <connection>
   1.342 +   <sender>cancelButton</sender>
   1.343 +   <signal>clicked()</signal>
   1.344 +   <receiver>WarningDialog</receiver>
   1.345 +   <slot>reject()</slot>
   1.346 +   <hints>
   1.347 +    <hint type="sourcelabel" >
   1.348 +     <x>131</x>
   1.349 +     <y>244</y>
   1.350 +    </hint>
   1.351 +    <hint type="destinationlabel" >
   1.352 +     <x>266</x>
   1.353 +     <y>135</y>
   1.354 +    </hint>
   1.355 +   </hints>
   1.356 +  </connection>
   1.357 +  <connection>
   1.358 +   <sender>okButton</sender>
   1.359 +   <signal>clicked()</signal>
   1.360 +   <receiver>WarningDialog</receiver>
   1.361 +   <slot>accept()</slot>
   1.362 +   <hints>
   1.363 +    <hint type="sourcelabel" >
   1.364 +     <x>222</x>
   1.365 +     <y>244</y>
   1.366 +    </hint>
   1.367 +    <hint type="destinationlabel" >
   1.368 +     <x>266</x>
   1.369 +     <y>135</y>
   1.370 +    </hint>
   1.371 +   </hints>
   1.372 +  </connection>
   1.373 + </connections>
   1.374 +</ui>