Files
GDevelop/IDE/BugReport.h
2015-07-09 18:17:13 +02:00

95 lines
2.4 KiB
C++

#ifndef BUGREPORT_H
#define BUGREPORT_H
//(*Headers(BugReport)
#include <wx/notebook.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/panel.h>
#include <wx/hyperlink.h>
#include <wx/statbmp.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)
#include <vector>
#include <string>
#include "GDCore/String.h"
class BugReport: public wxDialog
{
public:
BugReport(wxWindow* parent, const std::vector<gd::String> & openedFiles);
virtual ~BugReport();
//(*Declarations(BugReport)
wxNotebook* Notebook1;
wxStaticText* StaticText2;
wxPanel* Panel4;
wxButton* CloseNoOpenBt;
wxButton* Button1;
wxStaticText* StaticText6;
wxHyperlinkCtrl* bugListBt;
wxTextCtrl* openedFilesEdit;
wxTextCtrl* UserReportEdit;
wxStaticText* StaticText8;
wxStaticBitmap* StaticBitmap4;
wxStaticText* StaticText1;
wxButton* CreateRapportBt;
wxStaticText* StaticText3;
wxButton* Button2;
wxPanel* Panel3;
wxTextCtrl* mailEdit;
wxStaticText* StaticText7;
wxPanel* Panel2;
wxStaticText* StaticText4;
wxStaticBitmap* StaticBitmap3;
wxButton* CloseBt;
//*)
protected:
//(*Identifiers(BugReport)
static const long ID_STATICBITMAP3;
static const long ID_STATICTEXT2;
static const long ID_STATICBITMAP4;
static const long ID_STATICTEXT8;
static const long ID_HYPERLINKCTRL1;
static const long ID_BUTTON4;
static const long ID_PANEL2;
static const long ID_STATICTEXT3;
static const long ID_TEXTCTRL1;
static const long ID_STATICTEXT1;
static const long ID_TEXTCTRL3;
static const long ID_STATICTEXT6;
static const long ID_BUTTON1;
static const long ID_BUTTON5;
static const long ID_PANEL3;
static const long ID_STATICTEXT7;
static const long ID_TEXTCTRL2;
static const long ID_STATICTEXT4;
static const long ID_BUTTON3;
static const long ID_BUTTON2;
static const long ID_PANEL4;
static const long ID_NOTEBOOK1;
//*)
private:
//(*Handlers(BugReport)
void OnCreateRapportBtClick(wxCommandEvent& event);
void OnCloseNoOpenBtClick(wxCommandEvent& event);
void OnCloseBtClick(wxCommandEvent& event);
void OnButton1Click(wxCommandEvent& event);
void OnButton2Click(wxCommandEvent& event);
void OnUserReportEditText(wxCommandEvent& event);
//*)
const std::vector<gd::String> & openedFiles; ///< The filenames to display
DECLARE_EVENT_TABLE()
};
#endif