From: Maxime Date: Mon, 9 May 2011 07:40:03 +0000 (+0200) Subject: Message for registering vv's user information X-Git-Tag: v1.2.1~35 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=fdc1613169b9725128ad19aaa4c4a5c39f2920d7;p=clitk.git Message for registering vv's user information --- diff --git a/vv/qt_ui/vvRegisterForm.ui b/vv/qt_ui/vvRegisterForm.ui index 59f7764..d700b0c 100644 --- a/vv/qt_ui/vvRegisterForm.ui +++ b/vv/qt_ui/vvRegisterForm.ui @@ -32,9 +32,9 @@ - 160 - 120 - 201 + 110 + 150 + 241 21 @@ -42,9 +42,9 @@ - 100 - 120 - 61 + 40 + 150 + 71 20 @@ -55,9 +55,9 @@ - 100 - 140 - 61 + 40 + 170 + 71 20 @@ -68,9 +68,9 @@ - 160 - 140 - 201 + 110 + 170 + 241 21 @@ -78,9 +78,9 @@ - 160 - 160 - 201 + 110 + 190 + 241 21 @@ -88,9 +88,9 @@ - 160 - 180 - 201 + 110 + 210 + 241 21 @@ -98,9 +98,9 @@ - 100 - 160 - 61 + 40 + 190 + 71 20 @@ -111,9 +111,9 @@ - 100 - 180 - 61 + 40 + 210 + 71 20 @@ -121,6 +121,53 @@ Institute + + + + 40 + 10 + 311 + 121 + + + + <!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;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Thank you for using vv!</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;">We would like to know more about our vv users. Those informations are private and will not be shared to any other society.</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;">The data which will be sent are the facultative input to fill below, and the operating system name.</p></body></html> + + + + + + 40 + 240 + 61 + 20 + + + + OS name + + + + + + 110 + 240 + 241 + 20 + + + + OS name + + diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index 430ba5f..c084bfa 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -52,4 +52,8 @@ bool vvRegisterForm::canPush(){ void vvRegisterForm::acquitPushed(){ QSettings settings(getVVSettingsPath(), getSettingsOptionFormat()); settings.setValue("vvVersion", VV_VERSION); +} +void vvRegisterForm::show(){ + osName->setText(QString::fromStdString(OS_NAME)); + QDialog::show(); } \ No newline at end of file diff --git a/vv/vvRegisterForm.h b/vv/vvRegisterForm.h index 10c5770..72bec2a 100644 --- a/vv/vvRegisterForm.h +++ b/vv/vvRegisterForm.h @@ -34,6 +34,7 @@ public: virtual void acquitPushed(); public slots: virtual void accept(); + virtual void show(); protected: QUrl url; QNetworkAccessManager* manager;