diff -r 927da572bcdc -r fe4e94311585 QTfrontend/ui/page/pagefeedback.h --- a/QTfrontend/ui/page/pagefeedback.h Fri Dec 07 16:03:53 2012 -0500 +++ b/QTfrontend/ui/page/pagefeedback.h Sat Dec 08 15:06:30 2012 +0100 @@ -21,12 +21,17 @@ #include "AbstractPage.h" +class QNetworkReply; +class QNetworkAccessManager; + class PageFeedback : public AbstractPage { Q_OBJECT public: PageFeedback(QWidget * parent = 0); + void EmbedSystemInfo(); + void LoadCaptchaImage(); QPushButton * BtnSend; QLineEdit * summary; @@ -34,11 +39,27 @@ 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; + + private slots: + + virtual void NetReply(QNetworkReply*); private: QLayout * bodyLayoutDefinition(); QLayout * footerLayoutDefinition(); + QNetworkAccessManager * GetNetManager(); + void ShowErrorMessage(const QString & msg); void connectSignals(); + + QNetworkAccessManager * netManager; + QNetworkReply * captchaImageRequest; + QNetworkReply * genCaptchaRequest; }; #endif