From fdc1613169b9725128ad19aaa4c4a5c39f2920d7 Mon Sep 17 00:00:00 2001 From: Maxime Date: Mon, 9 May 2011 09:40:03 +0200 Subject: [PATCH] Message for registering vv's user information --- vv/qt_ui/vvRegisterForm.ui | 95 ++++++++++++++++++++++++++++---------- vv/vvRegisterForm.cxx | 4 ++ vv/vvRegisterForm.h | 1 + 3 files changed, 76 insertions(+), 24 deletions(-) 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; -- 2.47.1