Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef BUGREPORT_H
00029 #define BUGREPORT_H
00030
00031 #include "ui_BugReport.h"
00032 #include "HttpAccess.h"
00033 #include "Dialog.h"
00034
00035 class QHttp;
00036
00037 namespace QGpGuiTools {
00038
00039 class HttpAccess;
00040
00041 class QGPGUITOOLS_EXPORT BugReport : public Dialog, private Ui::BugReport
00042 {
00043 Q_OBJECT
00044 public:
00045 BugReport(QWidget* parent=0, Qt::WindowFlags fl=0);
00046 ~BugReport();
00047
00048 void setInfo(const QString & bugInfo);
00049 private slots:
00050 void on_sendBut_clicked();
00051 void on_saveBut_clicked();
00052 void on_attach_clicked();
00053 void sent(bool ok);
00054 void on_comment_textChanged();
00055 void on_from_textEdited();
00056 private:
00057 void setGuiEnable(bool e);
00058 void send();
00059 QByteArray bugInfo();
00060
00061 QStringList _attachments;
00062 HttpAccess * _access;
00063 uint _commentTouched:1;
00064 uint _fromTouched:1;
00065 };
00066
00067 }
00068
00069 #endif // BUGREPORT_H