]> Creatis software - clitk.git/commitdiff
textBrowser for registration is not set with a transparent background
authormpech <maxime.pech@insa-lyon.fr>
Wed, 18 May 2011 09:06:48 +0000 (11:06 +0200)
committermpech <maxime.pech@insa-lyon.fr>
Wed, 18 May 2011 09:06:48 +0000 (11:06 +0200)
vv/qt_ui/vvRegisterForm.ui
vv/vvRegisterForm.cxx

index d700b0c379f58fa6dcf65c3a281defd1c8d6b63d..c32cdf9586f6f4d8715bee4deb7d7e6a87ddbf58 100644 (file)
      <height>121</height>
     </rect>
    </property>
+   <property name="contextMenuPolicy">
+    <enum>Qt::DefaultContextMenu</enum>
+   </property>
+   <property name="autoFillBackground">
+    <bool>false</bool>
+   </property>
+   <property name="frameShape">
+    <enum>QFrame::NoFrame</enum>
+   </property>
+   <property name="frameShadow">
+    <enum>QFrame::Plain</enum>
+   </property>
    <property name="html">
     <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
index 839887fd0d84b34dc4ddc025e0b14fd03b0c8958..93d16e490c9d6d4bef50ad7f658d519db6730a7f 100644 (file)
@@ -20,6 +20,7 @@
 #include "vvRegisterForm.h"
 #include <QNetworkRequest>
 #include <QDir>
+#include <QPalette>
 #include "common/globals.h"
 #include "vvCommon.h"
 #include "vvUtils.h"
@@ -27,6 +28,7 @@
 vvRegisterForm::vvRegisterForm(QUrl url, QString path, QSettings::Format format):url(url), settings(path, format){ 
   manager = new QNetworkAccessManager(this);
   setupUi(this);
+  textBrowser->viewport()->setAutoFillBackground(false);
 }
 
 void vvRegisterForm::sendData(){