]> Creatis software - clitk.git/blobdiff - vv/vvRegisterForm.cxx
change form width
[clitk.git] / vv / vvRegisterForm.cxx
index 839887fd0d84b34dc4ddc025e0b14fd03b0c8958..e39ffddadd9faf50f80befbab7f6b679927107d6 100644 (file)
 #include "vvRegisterForm.h"
 #include <QNetworkRequest>
 #include <QDir>
-#include "common/globals.h"
-#include "vvCommon.h"
+#include <QPalette>
+#include "clitkConfiguration.h"
+#include "vvConfiguration.h"
 #include "vvUtils.h"
 
 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(){
@@ -37,6 +39,9 @@ void vvRegisterForm::sendData(){
   url2.addQueryItem("group", group->text().toUtf8());
   url2.addQueryItem("os", osName->text().toUtf8());
   url2.addQueryItem("vvVersion", VV_VERSION);
+  url2.addQueryItem("architecture", ARCHITECTURE);
+  url2.addQueryItem("compilationDate", QString(__DATE__) + ", " + QString(__TIME__) );
+
   manager->get(QNetworkRequest(url2));
 }
 void vvRegisterForm::accept(){
@@ -63,4 +68,4 @@ void vvRegisterForm::show(){
   
  osName->setText(QString::fromStdString(OS_NAME));
  QDialog::show();
-}
\ No newline at end of file
+}