From: mpech Date: Wed, 18 May 2011 09:06:48 +0000 (+0200) Subject: textBrowser for registration is not set with a transparent background X-Git-Tag: v1.2.1~21 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ad4f8c2393789c1bef45419e4d59375315e4c7ff;p=clitk.git textBrowser for registration is not set with a transparent background --- diff --git a/vv/qt_ui/vvRegisterForm.ui b/vv/qt_ui/vvRegisterForm.ui index d700b0c..c32cdf9 100644 --- a/vv/qt_ui/vvRegisterForm.ui +++ b/vv/qt_ui/vvRegisterForm.ui @@ -130,6 +130,18 @@ 121 + + Qt::DefaultContextMenu + + + false + + + QFrame::NoFrame + + + QFrame::Plain + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index 839887f..93d16e4 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -20,6 +20,7 @@ #include "vvRegisterForm.h" #include #include +#include #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(){