Bitcoin v0.3.0 · 2010-07-06
uibase.h
1///////////////////////////////////////////////////////////////////////////2// C++ code generated with wxFormBuilder (version Apr 16 2008)3// http://www.wxformbuilder.org/4//5// PLEASE DO "NOT" EDIT THIS FILE!6///////////////////////////////////////////////////////////////////////////78#ifndef __uibase__9#define __uibase__1011#include <wx/intl.h>1213#include <wx/string.h>14#include <wx/bitmap.h>15#include <wx/image.h>16#include <wx/icon.h>17#include <wx/menu.h>18#include <wx/gdicmn.h>19#include <wx/font.h>20#include <wx/colour.h>21#include <wx/settings.h>22#include <wx/toolbar.h>23#include <wx/statusbr.h>24#include <wx/stattext.h>25#include <wx/textctrl.h>26#include <wx/button.h>27#include <wx/sizer.h>28#include <wx/choice.h>29#include <wx/listctrl.h>30#include <wx/panel.h>31#include <wx/notebook.h>32#include <wx/frame.h>33#include <wx/html/htmlwin.h>34#include <wx/dialog.h>35#include <wx/listbox.h>36#include <wx/checkbox.h>37#include <wx/spinctrl.h>38#include <wx/scrolwin.h>39#include <wx/statbmp.h>4041///////////////////////////////////////////////////////////////////////////4243#define wxID_MAINFRAME 100044#define wxID_OPTIONSGENERATEBITCOINS 100145#define wxID_BUTTONSEND 100246#define wxID_BUTTONRECEIVE 100347#define wxID_TEXTCTRLADDRESS 100448#define wxID_BUTTONNEW 100549#define wxID_BUTTONCOPY 100650#define wxID_TRANSACTIONFEE 100751#define wxID_PROXYIP 100852#define wxID_PROXYPORT 100953#define wxID_TEXTCTRLPAYTO 101054#define wxID_BUTTONPASTE 101155#define wxID_BUTTONADDRESSBOOK 101256#define wxID_TEXTCTRLAMOUNT 101357#define wxID_CHOICETRANSFERTYPE 101458#define wxID_LISTCTRL 101559#define wxID_BUTTONRENAME 101660#define wxID_PANELSENDING 101761#define wxID_LISTCTRLSENDING 101862#define wxID_PANELRECEIVING 101963#define wxID_LISTCTRLRECEIVING 102064#define wxID_BUTTONDELETE 102165#define wxID_BUTTONEDIT 102266#define wxID_TEXTCTRL 10236768///////////////////////////////////////////////////////////////////////////////69/// Class CMainFrameBase70///////////////////////////////////////////////////////////////////////////////71class CMainFrameBase : public wxFrame 72{73 private:74 75 protected:76 wxMenuBar* m_menubar;77 wxMenu* m_menuFile;78 wxMenu* m_menuHelp;79 wxToolBar* m_toolBar;80 81 wxStaticText* m_staticText32;82 wxButton* m_buttonNew;83 wxButton* m_buttonCopy;84 85 wxStaticText* m_staticText41;86 wxStaticText* m_staticTextBalance;87 88 wxChoice* m_choiceFilter;89 wxNotebook* m_notebook;90 wxPanel* m_panel9;91 wxPanel* m_panel91;92 wxPanel* m_panel92;93 wxPanel* m_panel93;94 95 // Virtual event handlers, overide them in your derived class96 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }97 virtual void OnIconize( wxIconizeEvent& event ){ event.Skip(); }98 virtual void OnIdle( wxIdleEvent& event ){ event.Skip(); }99 virtual void OnMouseEvents( wxMouseEvent& event ){ event.Skip(); }100 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }101 virtual void OnMenuFileExit( wxCommandEvent& event ){ event.Skip(); }102 virtual void OnMenuOptionsGenerate( wxCommandEvent& event ){ event.Skip(); }103 virtual void OnUpdateUIOptionsGenerate( wxUpdateUIEvent& event ){ event.Skip(); }104 virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ){ event.Skip(); }105 virtual void OnMenuOptionsOptions( wxCommandEvent& event ){ event.Skip(); }106 virtual void OnMenuHelpAbout( wxCommandEvent& event ){ event.Skip(); }107 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }108 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }109 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }110 virtual void OnMouseEventsAddress( wxMouseEvent& event ){ event.Skip(); }111 virtual void OnSetFocusAddress( wxFocusEvent& event ){ event.Skip(); }112 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }113 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }114 virtual void OnNotebookPageChanged( wxNotebookEvent& event ){ event.Skip(); }115 virtual void OnListColBeginDrag( wxListEvent& event ){ event.Skip(); }116 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }117 virtual void OnPaintListCtrl( wxPaintEvent& event ){ event.Skip(); }118 119 120 public:121 wxMenu* m_menuOptions;122 wxStatusBar* m_statusBar;123 wxTextCtrl* m_textCtrlAddress;124 wxListCtrl* m_listCtrlAll;125 wxListCtrl* m_listCtrlSentReceived;126 wxListCtrl* m_listCtrlSent;127 wxListCtrl* m_listCtrlReceived;128 CMainFrameBase( wxWindow* parent, wxWindowID id = wxID_MAINFRAME, const wxString& title = _("Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 723,484 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );129 ~CMainFrameBase();130 131};132133///////////////////////////////////////////////////////////////////////////////134/// Class CTxDetailsDialogBase135///////////////////////////////////////////////////////////////////////////////136class CTxDetailsDialogBase : public wxDialog 137{138 private:139 140 protected:141 wxHtmlWindow* m_htmlWin;142 wxButton* m_buttonOK;143 144 // Virtual event handlers, overide them in your derived class145 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }146 147 148 public:149 CTxDetailsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Transaction Details"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 620,450 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );150 ~CTxDetailsDialogBase();151 152};153154///////////////////////////////////////////////////////////////////////////////155/// Class COptionsDialogBase156///////////////////////////////////////////////////////////////////////////////157class COptionsDialogBase : public wxDialog 158{159 private:160 161 protected:162 wxListBox* m_listBox;163 wxScrolledWindow* m_scrolledWindow;164 wxPanel* m_panelMain;165 166 wxStaticText* m_staticText32;167 wxStaticText* m_staticText31;168 wxTextCtrl* m_textCtrlTransactionFee;169 wxCheckBox* m_checkBoxLimitProcessors;170 wxSpinCtrl* m_spinCtrlLimitProcessors;171 wxStaticText* m_staticText35;172 wxCheckBox* m_checkBoxStartOnSystemStartup;173 wxCheckBox* m_checkBoxMinimizeToTray;174 wxCheckBox* m_checkBoxMinimizeOnClose;175 wxCheckBox* m_checkBoxUseProxy;176 177 wxStaticText* m_staticTextProxyIP;178 wxTextCtrl* m_textCtrlProxyIP;179 wxStaticText* m_staticTextProxyPort;180 wxTextCtrl* m_textCtrlProxyPort;181 wxPanel* m_panelTest2;182 183 wxStaticText* m_staticText321;184 wxStaticText* m_staticText69;185 wxButton* m_buttonOK;186 wxButton* m_buttonCancel;187 wxButton* m_buttonApply;188 189 // Virtual event handlers, overide them in your derived class190 virtual void OnListBox( wxCommandEvent& event ){ event.Skip(); }191 virtual void OnKillFocusTransactionFee( wxFocusEvent& event ){ event.Skip(); }192 virtual void OnCheckBoxLimitProcessors( wxCommandEvent& event ){ event.Skip(); }193 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ){ event.Skip(); }194 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ){ event.Skip(); }195 virtual void OnKillFocusProxy( wxFocusEvent& event ){ event.Skip(); }196 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }197 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }198 virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }199 200 201 public:202 COptionsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 540,360 ), long style = wxDEFAULT_DIALOG_STYLE );203 ~COptionsDialogBase();204 205};206207///////////////////////////////////////////////////////////////////////////////208/// Class CAboutDialogBase209///////////////////////////////////////////////////////////////////////////////210class CAboutDialogBase : public wxDialog 211{212 private:213 214 protected:215 wxStaticBitmap* m_bitmap;216 217 wxStaticText* m_staticText40;218 219 wxStaticText* m_staticTextMain;220 221 222 wxButton* m_buttonOK;223 224 // Virtual event handlers, overide them in your derived class225 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }226 227 228 public:229 wxStaticText* m_staticTextVersion;230 CAboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 532,315 ), long style = wxDEFAULT_DIALOG_STYLE );231 ~CAboutDialogBase();232 233};234235///////////////////////////////////////////////////////////////////////////////236/// Class CSendDialogBase237///////////////////////////////////////////////////////////////////////////////238class CSendDialogBase : public wxDialog 239{240 private:241 242 protected:243 244 245 wxStaticText* m_staticTextInstructions;246 247 wxStaticBitmap* m_bitmapCheckMark;248 wxStaticText* m_staticText36;249 wxTextCtrl* m_textCtrlAddress;250 wxButton* m_buttonPaste;251 wxButton* m_buttonAddress;252 wxStaticText* m_staticText19;253 wxTextCtrl* m_textCtrlAmount;254 wxStaticText* m_staticText20;255 wxChoice* m_choiceTransferType;256 257 258 wxStaticText* m_staticTextFrom;259 wxTextCtrl* m_textCtrlFrom;260 wxStaticText* m_staticTextMessage;261 wxTextCtrl* m_textCtrlMessage;262 263 wxButton* m_buttonSend;264 wxButton* m_buttonCancel;265 266 // Virtual event handlers, overide them in your derived class267 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }268 virtual void OnTextAddress( wxCommandEvent& event ){ event.Skip(); }269 virtual void OnButtonPaste( wxCommandEvent& event ){ event.Skip(); }270 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }271 virtual void OnKillFocusAmount( wxFocusEvent& event ){ event.Skip(); }272 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }273 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }274 275 276 public:277 CSendDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 675,298 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );278 ~CSendDialogBase();279 280};281282///////////////////////////////////////////////////////////////////////////////283/// Class CSendingDialogBase284///////////////////////////////////////////////////////////////////////////////285class CSendingDialogBase : public wxDialog 286{287 private:288 289 protected:290 wxStaticText* m_staticTextSending;291 wxTextCtrl* m_textCtrlStatus;292 293 wxButton* m_buttonOK;294 wxButton* m_buttonCancel;295 296 // Virtual event handlers, overide them in your derived class297 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }298 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }299 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }300 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }301 302 303 public:304 CSendingDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Sending..."), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 442,151 ), long style = wxDEFAULT_DIALOG_STYLE );305 ~CSendingDialogBase();306 307};308309///////////////////////////////////////////////////////////////////////////////310/// Class CYourAddressDialogBase311///////////////////////////////////////////////////////////////////////////////312class CYourAddressDialogBase : public wxDialog 313{314 private:315 316 protected:317 318 wxStaticText* m_staticText45;319 wxListCtrl* m_listCtrl;320 321 wxButton* m_buttonRename;322 wxButton* m_buttonNew;323 wxButton* m_buttonCopy;324 wxButton* m_buttonOK;325 wxButton* m_buttonCancel;326 327 // Virtual event handlers, overide them in your derived class328 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }329 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }330 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }331 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }332 virtual void OnButtonRename( wxCommandEvent& event ){ event.Skip(); }333 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }334 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }335 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }336 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }337 338 339 public:340 CYourAddressDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Your Bitcoin Addresses"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );341 ~CYourAddressDialogBase();342 343};344345///////////////////////////////////////////////////////////////////////////////346/// Class CAddressBookDialogBase347///////////////////////////////////////////////////////////////////////////////348class CAddressBookDialogBase : public wxDialog 349{350 private:351 352 protected:353 wxNotebook* m_notebook;354 wxPanel* m_panelSending;355 356 wxStaticText* m_staticText55;357 wxListCtrl* m_listCtrlSending;358 wxPanel* m_panelReceiving;359 360 wxStaticText* m_staticText45;361 362 wxListCtrl* m_listCtrlReceiving;363 364 wxButton* m_buttonDelete;365 wxButton* m_buttonCopy;366 wxButton* m_buttonEdit;367 wxButton* m_buttonNew;368 wxButton* m_buttonOK;369 370 // Virtual event handlers, overide them in your derived class371 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }372 virtual void OnNotebookPageChanged( wxNotebookEvent& event ){ event.Skip(); }373 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }374 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }375 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }376 virtual void OnButtonDelete( wxCommandEvent& event ){ event.Skip(); }377 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }378 virtual void OnButtonEdit( wxCommandEvent& event ){ event.Skip(); }379 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }380 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }381 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }382 383 384 public:385 wxButton* m_buttonCancel;386 CAddressBookDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );387 ~CAddressBookDialogBase();388 389};390391///////////////////////////////////////////////////////////////////////////////392/// Class CGetTextFromUserDialogBase393///////////////////////////////////////////////////////////////////////////////394class CGetTextFromUserDialogBase : public wxDialog 395{396 private:397 398 protected:399 400 wxStaticText* m_staticTextMessage1;401 wxTextCtrl* m_textCtrl1;402 wxStaticText* m_staticTextMessage2;403 wxTextCtrl* m_textCtrl2;404 405 406 wxButton* m_buttonOK;407 wxButton* m_buttonCancel;408 409 // Virtual event handlers, overide them in your derived class410 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }411 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }412 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }413 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }414 415 416 public:417 CGetTextFromUserDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 440,138 ), long style = wxDEFAULT_DIALOG_STYLE );418 ~CGetTextFromUserDialogBase();419 420};421422#endif //__uibase__
Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.
