QTfrontend/ui/page/pagefeedback.h
branchwebgl
changeset 8330 aaefa587e277
parent 8328 03684c667664
--- a/QTfrontend/ui/page/pagefeedback.h	Sun Dec 02 00:03:16 2012 +0100
+++ b/QTfrontend/ui/page/pagefeedback.h	Tue Dec 25 04:45:22 2012 +0100
@@ -21,24 +21,50 @@
 
 #include "AbstractPage.h"
 
+class QNetworkReply;
+class QNetworkAccessManager;
+
 class PageFeedback : public AbstractPage
 {
         Q_OBJECT
 
     public:
         PageFeedback(QWidget * parent = 0);
+        void EmbedSystemInfo();
+        void LoadCaptchaImage();
 
         QPushButton * BtnSend;
+        QPushButton * BtnViewInfo;
+        QCheckBox * CheckSendSpecs;
         QLineEdit * summary;
         QTextBrowser * description;
         QLabel * info;
         QLabel * label_summary;
         QLabel * label_description;
+        QLabel * label_captcha;
+        QLabel * label_email;
+        QLabel * label_captcha_input;
+        QLineEdit * captcha_code;
+        QLineEdit * email;
+        int captchaID;
+        QString specs;
+
+    private slots:
+
+        virtual void NetReply(QNetworkReply*);
+        virtual void ShowSpecs();
 
     private:
+        void GenerateSpecs();
         QLayout * bodyLayoutDefinition();
         QLayout * footerLayoutDefinition();
+        QNetworkAccessManager * GetNetManager();
+        void ShowErrorMessage(const QString & msg);
         void connectSignals();
+
+        QNetworkAccessManager * netManager;
+        QNetworkReply * captchaImageRequest;
+        QNetworkReply * genCaptchaRequest;
 };
 
 #endif