1.1 --- a/warningdialog.h Mon Mar 05 23:22:51 2007 +0000
1.2 +++ b/warningdialog.h Mon Mar 05 23:22:51 2007 +0000
1.3 @@ -9,6 +9,7 @@
1.4
1.5 public:
1.6 WarningDialog(QWidget* parent = 0);
1.7 + int exec();
1.8
1.9 public slots:
1.10 virtual void showCancelButton( bool b );
2.1 --- a/warningdialog.ui Mon Mar 05 23:22:51 2007 +0000
2.2 +++ b/warningdialog.ui Mon Mar 05 23:22:51 2007 +0000
2.3 @@ -1,7 +1,4 @@
2.4 <ui version="4.0" >
2.5 - <author></author>
2.6 - <comment></comment>
2.7 - <exportmacro></exportmacro>
2.8 <class>WarningDialog</class>
2.9 <widget class="QDialog" name="WarningDialog" >
2.10 <property name="geometry" >
2.11 @@ -23,7 +20,54 @@
2.12 <number>6</number>
2.13 </property>
2.14 <item>
2.15 - <widget class="QTextEdit" name="warningTE" />
2.16 + <widget class="QTextEdit" name="warningTE" >
2.17 + <property name="palette" >
2.18 + <palette>
2.19 + <active>
2.20 + <colorrole role="Base" >
2.21 + <brush brushstyle="SolidPattern" >
2.22 + <color alpha="255" >
2.23 + <red>238</red>
2.24 + <green>238</green>
2.25 + <blue>238</blue>
2.26 + </color>
2.27 + </brush>
2.28 + </colorrole>
2.29 + </active>
2.30 + <inactive>
2.31 + <colorrole role="Base" >
2.32 + <brush brushstyle="SolidPattern" >
2.33 + <color alpha="255" >
2.34 + <red>238</red>
2.35 + <green>238</green>
2.36 + <blue>238</blue>
2.37 + </color>
2.38 + </brush>
2.39 + </colorrole>
2.40 + </inactive>
2.41 + <disabled>
2.42 + <colorrole role="Base" >
2.43 + <brush brushstyle="SolidPattern" >
2.44 + <color alpha="255" >
2.45 + <red>238</red>
2.46 + <green>238</green>
2.47 + <blue>238</blue>
2.48 + </color>
2.49 + </brush>
2.50 + </colorrole>
2.51 + </disabled>
2.52 + </palette>
2.53 + </property>
2.54 + <property name="frameShape" >
2.55 + <enum>QFrame::NoFrame</enum>
2.56 + </property>
2.57 + <property name="frameShadow" >
2.58 + <enum>QFrame::Plain</enum>
2.59 + </property>
2.60 + <property name="readOnly" >
2.61 + <bool>true</bool>
2.62 + </property>
2.63 + </widget>
2.64 </item>
2.65 <item>
2.66 <widget class="QLabel" name="warningSign" >
2.67 @@ -42,7 +86,7 @@
2.68 </property>
2.69 <property name="sizeHint" >
2.70 <size>
2.71 - <width>512</width>
2.72 + <width>525</width>
2.73 <height>16</height>
2.74 </size>
2.75 </property>