From ad4f8c2393789c1bef45419e4d59375315e4c7ff Mon Sep 17 00:00:00 2001 From: mpech Date: Wed, 18 May 2011 11:06:48 +0200 Subject: [PATCH] textBrowser for registration is not set with a transparent background --- vv/qt_ui/vvRegisterForm.ui | 12 ++++++++++++ vv/vvRegisterForm.cxx | 2 ++ 2 files changed, 14 insertions(+) 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(){ -- 2.47.1