Bugfix: avoid sub-cent change (lost in fees) whenever possible
[bitcoin.git] / uibase.h
blob25af62a32b47371c2d38144c0ce89658c2368395
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 ///////////////////////////////////////////////////////////////////////////
8 #ifndef __uibase__
9 #define __uibase__
11 #include <wx/intl.h>
13 #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>
41 ///////////////////////////////////////////////////////////////////////////
43 #define wxID_MAINFRAME 1000
44 #define wxID_OPTIONSGENERATEBITCOINS 1001
45 #define wxID_BUTTONSEND 1002
46 #define wxID_BUTTONRECEIVE 1003
47 #define wxID_TEXTCTRLADDRESS 1004
48 #define wxID_BUTTONNEW 1005
49 #define wxID_BUTTONCOPY 1006
50 #define wxID_PROXYIP 1007
51 #define wxID_PROXYPORT 1008
52 #define wxID_TRANSACTIONFEE 1009
53 #define wxID_TEXTCTRLPAYTO 1010
54 #define wxID_BUTTONPASTE 1011
55 #define wxID_BUTTONADDRESSBOOK 1012
56 #define wxID_TEXTCTRLAMOUNT 1013
57 #define wxID_CHOICETRANSFERTYPE 1014
58 #define wxID_LISTCTRL 1015
59 #define wxID_BUTTONRENAME 1016
60 #define wxID_PANELSENDING 1017
61 #define wxID_LISTCTRLSENDING 1018
62 #define wxID_PANELRECEIVING 1019
63 #define wxID_LISTCTRLRECEIVING 1020
64 #define wxID_BUTTONDELETE 1021
65 #define wxID_BUTTONEDIT 1022
66 #define wxID_TEXTCTRL 1023
68 ///////////////////////////////////////////////////////////////////////////////
69 /// Class CMainFrameBase
70 ///////////////////////////////////////////////////////////////////////////////
71 class CMainFrameBase : public wxFrame
73 private:
75 protected:
76 wxMenuBar* m_menubar;
77 wxMenu* m_menuFile;
78 wxMenu* m_menuHelp;
79 wxToolBar* m_toolBar;
81 wxStaticText* m_staticText32;
82 wxButton* m_buttonNew;
83 wxButton* m_buttonCopy;
85 wxStaticText* m_staticText41;
86 wxStaticText* m_staticTextBalance;
88 wxChoice* m_choiceFilter;
89 wxNotebook* m_notebook;
90 wxPanel* m_panel9;
91 wxPanel* m_panel91;
92 wxPanel* m_panel92;
93 wxPanel* m_panel93;
95 // Virtual event handlers, overide them in your derived class
96 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(); }
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();
133 ///////////////////////////////////////////////////////////////////////////////
134 /// Class CTxDetailsDialogBase
135 ///////////////////////////////////////////////////////////////////////////////
136 class CTxDetailsDialogBase : public wxDialog
138 private:
140 protected:
141 wxHtmlWindow* m_htmlWin;
142 wxButton* m_buttonOK;
144 // Virtual event handlers, overide them in your derived class
145 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
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();
154 ///////////////////////////////////////////////////////////////////////////////
155 /// Class COptionsDialogBase
156 ///////////////////////////////////////////////////////////////////////////////
157 class COptionsDialogBase : public wxDialog
159 private:
161 protected:
162 wxListBox* m_listBox;
163 wxScrolledWindow* m_scrolledWindow;
164 wxPanel* m_panelMain;
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;
174 wxStaticText* m_staticTextProxyIP;
175 wxTextCtrl* m_textCtrlProxyIP;
176 wxStaticText* m_staticTextProxyPort;
177 wxTextCtrl* m_textCtrlProxyPort;
179 wxStaticText* m_staticText32;
180 wxStaticText* m_staticText31;
181 wxTextCtrl* m_textCtrlTransactionFee;
182 wxPanel* m_panelTest2;
184 wxStaticText* m_staticText321;
185 wxStaticText* m_staticText69;
186 wxButton* m_buttonOK;
187 wxButton* m_buttonCancel;
188 wxButton* m_buttonApply;
190 // Virtual event handlers, overide them in your derived class
191 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(); }
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();
208 ///////////////////////////////////////////////////////////////////////////////
209 /// Class CAboutDialogBase
210 ///////////////////////////////////////////////////////////////////////////////
211 class CAboutDialogBase : public wxDialog
213 private:
215 protected:
216 wxStaticBitmap* m_bitmap;
218 wxStaticText* m_staticText40;
220 wxStaticText* m_staticTextMain;
223 wxButton* m_buttonOK;
225 // Virtual event handlers, overide them in your derived class
226 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
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();
236 ///////////////////////////////////////////////////////////////////////////////
237 /// Class CSendDialogBase
238 ///////////////////////////////////////////////////////////////////////////////
239 class CSendDialogBase : public wxDialog
241 private:
243 protected:
246 wxStaticText* m_staticTextInstructions;
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;
259 wxStaticText* m_staticTextFrom;
260 wxTextCtrl* m_textCtrlFrom;
261 wxStaticText* m_staticTextMessage;
262 wxTextCtrl* m_textCtrlMessage;
264 wxButton* m_buttonSend;
265 wxButton* m_buttonCancel;
267 // Virtual event handlers, overide them in your derived class
268 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(); }
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();
283 ///////////////////////////////////////////////////////////////////////////////
284 /// Class CSendingDialogBase
285 ///////////////////////////////////////////////////////////////////////////////
286 class CSendingDialogBase : public wxDialog
288 private:
290 protected:
291 wxStaticText* m_staticTextSending;
292 wxTextCtrl* m_textCtrlStatus;
294 wxButton* m_buttonOK;
295 wxButton* m_buttonCancel;
297 // Virtual event handlers, overide them in your derived class
298 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(); }
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();
310 ///////////////////////////////////////////////////////////////////////////////
311 /// Class CYourAddressDialogBase
312 ///////////////////////////////////////////////////////////////////////////////
313 class CYourAddressDialogBase : public wxDialog
315 private:
317 protected:
319 wxStaticText* m_staticText45;
320 wxListCtrl* m_listCtrl;
322 wxButton* m_buttonRename;
323 wxButton* m_buttonNew;
324 wxButton* m_buttonCopy;
325 wxButton* m_buttonOK;
326 wxButton* m_buttonCancel;
328 // Virtual event handlers, overide them in your derived class
329 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(); }
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();
346 ///////////////////////////////////////////////////////////////////////////////
347 /// Class CAddressBookDialogBase
348 ///////////////////////////////////////////////////////////////////////////////
349 class CAddressBookDialogBase : public wxDialog
351 private:
353 protected:
354 wxNotebook* m_notebook;
355 wxPanel* m_panelSending;
357 wxStaticText* m_staticText55;
358 wxListCtrl* m_listCtrlSending;
359 wxPanel* m_panelReceiving;
361 wxStaticText* m_staticText45;
363 wxListCtrl* m_listCtrlReceiving;
365 wxButton* m_buttonDelete;
366 wxButton* m_buttonCopy;
367 wxButton* m_buttonEdit;
368 wxButton* m_buttonNew;
369 wxButton* m_buttonOK;
371 // Virtual event handlers, overide them in your derived class
372 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(); }
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();
392 ///////////////////////////////////////////////////////////////////////////////
393 /// Class CGetTextFromUserDialogBase
394 ///////////////////////////////////////////////////////////////////////////////
395 class CGetTextFromUserDialogBase : public wxDialog
397 private:
399 protected:
401 wxStaticText* m_staticTextMessage1;
402 wxTextCtrl* m_textCtrl1;
403 wxStaticText* m_staticTextMessage2;
404 wxTextCtrl* m_textCtrl2;
407 wxButton* m_buttonOK;
408 wxButton* m_buttonCancel;
410 // Virtual event handlers, overide them in your derived class
411 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(); }
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();
423 #endif //__uibase__