From: mpech Date: Wed, 18 May 2011 14:54:29 +0000 (+0200) Subject: text justified in registerform popup X-Git-Tag: v1.2.1~17 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8d3db8f21847b3f88db0bb1bf9522eb2e8f01992;p=clitk.git text justified in registerform popup workaround for the fail of margin+float in QTextBrowser; the weNeedYou icon gets a transparent margin --- diff --git a/vv/icons/weNeedYou.jpg b/vv/icons/weNeedYou.jpg deleted file mode 100644 index 56272be..0000000 Binary files a/vv/icons/weNeedYou.jpg and /dev/null differ diff --git a/vv/icons/weNeedYou.png b/vv/icons/weNeedYou.png new file mode 100644 index 0000000..a363a57 Binary files /dev/null and b/vv/icons/weNeedYou.png differ diff --git a/vv/qt_ui/vvRegisterForm.ui b/vv/qt_ui/vvRegisterForm.ui index fac7fd3..1bb5168 100644 --- a/vv/qt_ui/vvRegisterForm.ui +++ b/vv/qt_ui/vvRegisterForm.ui @@ -2,6 +2,9 @@ vvRegisterForm + + Qt::ApplicationModal + 0 @@ -13,122 +16,107 @@ Dialog - - - - 4 - 4 - 361 - 401 - - - - - - - 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"> + + + + + + + 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"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<img src=":/common/icons/weNeedYou.jpg" style="float:right;" /> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Welcome to VV !</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">We wish to keep an estimate of the number of persons using VV. This is</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">really important for us to justify the ressources spent in developing this software.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Please, take a few seconds to fill in the following fields and send us</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">the information by clicking OK. If you still prefer to remain </p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">anonymous, simply click &quot;No, thanks&quot; (you can still register afterwards using the help menu).</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Privacy: the collected information is for internal and non-commercial</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">use only. We will only use your email for vv release announcements.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - - - - - - - - - First name - - - - - - - - - - Last name - - - - - - - - - - Email - - - - - - - - - - Institute - - - - - - - - - - OS name - - - - - - - OS name - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - +<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:10px; -qt-block-indent:0; text-indent:0px;"><img src=":/common/icons/weNeedYou.png" style="float: left;" /><span style=" font-weight:600; color:#0000c0;">Welcome to VV !</span><br /><br />We wish to keep an estimate of the number of persons using VV. This is really important for us to justify the ressources spent in developing this software.</p> +<p align="justify" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:10px; -qt-block-indent:0; text-indent:0px;"></p> +<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:10px; -qt-block-indent:0; text-indent:0px;">Please, take a few seconds to fill in the following fields and send us the information by clicking OK. If you still prefer to remain anonymous, simply click &quot;No, thanks&quot; (you can still register afterwards using the help menu).</p> +<p align="justify" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:10px; -qt-block-indent:0; text-indent:0px;"></p> +<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:10px; -qt-block-indent:0; text-indent:0px;">Privacy: the collected information is for internal and non-commercial use only. We will only use your email for vv release announcements.</p></body></html> + + + + + + + + + First name + + + + + + + + + + Last name + + + + + + + + + + Email + + + + + + + + + + Institute + + + + + + + + + + OS name + + + + + + + OS name + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + diff --git a/vv/vvIcons.qrc b/vv/vvIcons.qrc index 620ce0c..9dd0d96 100644 --- a/vv/vvIcons.qrc +++ b/vv/vvIcons.qrc @@ -1,7 +1,7 @@ - icons/weNeedYou.jpg icons/mip.png + icons/weNeedYou.png icons/tool-roi.png icons/plastimatch.png icons/lung-overlay.png