Bitcoin v0.3.19 · 2010-12-13
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_PROXYIP 100751#define wxID_PROXYPORT 100852#define wxID_TRANSACTIONFEE 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 wxCheckBox* m_checkBoxLimitProcessors;167 wxSpinCtrl* m_spinCtrlLimitProcessors;168 wxStaticText* m_staticText35;169 wxCheckBox* m_checkBoxStartOnSystemStartup;170 wxCheckBox* m_checkBoxMinimizeToTray;171 wxCheckBox* m_checkBoxMinimizeOnClose;172 wxCheckBox* m_checkBoxUseProxy;173 174 wxStaticText* m_staticTextProxyIP;175 wxTextCtrl* m_textCtrlProxyIP;176 wxStaticText* m_staticTextProxyPort;177 wxTextCtrl* m_textCtrlProxyPort;178 179 wxStaticText* m_staticText32;180 wxStaticText* m_staticText31;181 wxTextCtrl* m_textCtrlTransactionFee;182 wxPanel* m_panelTest2;183 184 wxStaticText* m_staticText321;185 wxStaticText* m_staticText69;186 wxButton* m_buttonOK;187 wxButton* m_buttonCancel;188 wxButton* m_buttonApply;189 190 // Virtual event handlers, overide them in your derived class191 virtual void OnListBox( wxCommandEvent& 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 OnKillFocusTransactionFee( wxFocusEvent& event ){ event.Skip(); }197 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }198 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }199 virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }200 201 202 public:203 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 );204 ~COptionsDialogBase();205 206};207208///////////////////////////////////////////////////////////////////////////////209/// Class CAboutDialogBase210///////////////////////////////////////////////////////////////////////////////211class CAboutDialogBase : public wxDialog 212{213 private:214 215 protected:216 wxStaticBitmap* m_bitmap;217 218 wxStaticText* m_staticText40;219 220 wxStaticText* m_staticTextMain;221 222 223 wxButton* m_buttonOK;224 225 // Virtual event handlers, overide them in your derived class226 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }227 228 229 public:230 wxStaticText* m_staticTextVersion;231 CAboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 532,333 ), long style = wxDEFAULT_DIALOG_STYLE );232 ~CAboutDialogBase();233 234};235236///////////////////////////////////////////////////////////////////////////////237/// Class CSendDialogBase238///////////////////////////////////////////////////////////////////////////////239class CSendDialogBase : public wxDialog 240{241 private:242 243 protected:244 245 246 wxStaticText* m_staticTextInstructions;247 248 wxStaticBitmap* m_bitmapCheckMark;249 wxStaticText* m_staticText36;250 wxTextCtrl* m_textCtrlAddress;251 wxButton* m_buttonPaste;252 wxButton* m_buttonAddress;253 wxStaticText* m_staticText19;254 wxTextCtrl* m_textCtrlAmount;255 wxStaticText* m_staticText20;256 wxChoice* m_choiceTransferType;257 258 259 wxStaticText* m_staticTextFrom;260 wxTextCtrl* m_textCtrlFrom;261 wxStaticText* m_staticTextMessage;262 wxTextCtrl* m_textCtrlMessage;263 264 wxButton* m_buttonSend;265 wxButton* m_buttonCancel;266 267 // Virtual event handlers, overide them in your derived class268 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }269 virtual void OnTextAddress( wxCommandEvent& event ){ event.Skip(); }270 virtual void OnButtonPaste( wxCommandEvent& event ){ event.Skip(); }271 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }272 virtual void OnKillFocusAmount( wxFocusEvent& event ){ event.Skip(); }273 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }274 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }275 276 277 public:278 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 );279 ~CSendDialogBase();280 281};282283///////////////////////////////////////////////////////////////////////////////284/// Class CSendingDialogBase285///////////////////////////////////////////////////////////////////////////////286class CSendingDialogBase : public wxDialog 287{288 private:289 290 protected:291 wxStaticText* m_staticTextSending;292 wxTextCtrl* m_textCtrlStatus;293 294 wxButton* m_buttonOK;295 wxButton* m_buttonCancel;296 297 // Virtual event handlers, overide them in your derived class298 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }299 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }300 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }301 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }302 303 304 public:305 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 );306 ~CSendingDialogBase();307 308};309310///////////////////////////////////////////////////////////////////////////////311/// Class CYourAddressDialogBase312///////////////////////////////////////////////////////////////////////////////313class CYourAddressDialogBase : public wxDialog 314{315 private:316 317 protected:318 319 wxStaticText* m_staticText45;320 wxListCtrl* m_listCtrl;321 322 wxButton* m_buttonRename;323 wxButton* m_buttonNew;324 wxButton* m_buttonCopy;325 wxButton* m_buttonOK;326 wxButton* m_buttonCancel;327 328 // Virtual event handlers, overide them in your derived class329 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }330 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }331 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }332 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }333 virtual void OnButtonRename( wxCommandEvent& event ){ event.Skip(); }334 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }335 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }336 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }337 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }338 339 340 public:341 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 );342 ~CYourAddressDialogBase();343 344};345346///////////////////////////////////////////////////////////////////////////////347/// Class CAddressBookDialogBase348///////////////////////////////////////////////////////////////////////////////349class CAddressBookDialogBase : public wxDialog 350{351 private:352 353 protected:354 wxNotebook* m_notebook;355 wxPanel* m_panelSending;356 357 wxStaticText* m_staticText55;358 wxListCtrl* m_listCtrlSending;359 wxPanel* m_panelReceiving;360 361 wxStaticText* m_staticText45;362 363 wxListCtrl* m_listCtrlReceiving;364 365 wxButton* m_buttonDelete;366 wxButton* m_buttonCopy;367 wxButton* m_buttonEdit;368 wxButton* m_buttonNew;369 wxButton* m_buttonOK;370 371 // Virtual event handlers, overide them in your derived class372 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }373 virtual void OnNotebookPageChanged( wxNotebookEvent& event ){ event.Skip(); }374 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }375 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }376 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }377 virtual void OnButtonDelete( wxCommandEvent& event ){ event.Skip(); }378 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }379 virtual void OnButtonEdit( wxCommandEvent& event ){ event.Skip(); }380 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }381 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }382 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }383 384 385 public:386 wxButton* m_buttonCancel;387 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 );388 ~CAddressBookDialogBase();389 390};391392///////////////////////////////////////////////////////////////////////////////393/// Class CGetTextFromUserDialogBase394///////////////////////////////////////////////////////////////////////////////395class CGetTextFromUserDialogBase : public wxDialog 396{397 private:398 399 protected:400 401 wxStaticText* m_staticTextMessage1;402 wxTextCtrl* m_textCtrl1;403 wxStaticText* m_staticTextMessage2;404 wxTextCtrl* m_textCtrl2;405 406 407 wxButton* m_buttonOK;408 wxButton* m_buttonCancel;409 410 // Virtual event handlers, overide them in your derived class411 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }412 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }413 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }414 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }415 416 417 public:418 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 );419 ~CGetTextFromUserDialogBase();420 421};422423#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.
