ca0730b20e52f345b30644f9c8dbfc2de5732491
[novacoin.git] / src / uibase.h
1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Dec 21 2009)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
6 ///////////////////////////////////////////////////////////////////////////
7
8 #ifndef __uibase__
9 #define __uibase__
10
11 #include <wx/intl.h>
12
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/scrolwin.h>
38 #include <wx/statbmp.h>
39
40 ///////////////////////////////////////////////////////////////////////////
41
42 #define wxID_MAINFRAME 1000
43 #define wxID_BUTTONSEND 1001
44 #define wxID_BUTTONRECEIVE 1002
45 #define wxID_TEXTCTRLADDRESS 1003
46 #define wxID_BUTTONNEW 1004
47 #define wxID_BUTTONCOPY 1005
48 #define wxID_PROXYIP 1006
49 #define wxID_PROXYPORT 1007
50 #define wxID_TRANSACTIONFEE 1008
51 #define wxID_TEXTCTRLPAYTO 1009
52 #define wxID_BUTTONPASTE 1010
53 #define wxID_BUTTONADDRESSBOOK 1011
54 #define wxID_TEXTCTRLAMOUNT 1012
55 #define wxID_CHOICETRANSFERTYPE 1013
56 #define wxID_LISTCTRL 1014
57 #define wxID_BUTTONRENAME 1015
58 #define wxID_PANELSENDING 1016
59 #define wxID_LISTCTRLSENDING 1017
60 #define wxID_PANELRECEIVING 1018
61 #define wxID_LISTCTRLRECEIVING 1019
62 #define wxID_BUTTONDELETE 1020
63 #define wxID_BUTTONEDIT 1021
64 #define wxID_TEXTCTRL 1022
65
66 ///////////////////////////////////////////////////////////////////////////////
67 /// Class CMainFrameBase
68 ///////////////////////////////////////////////////////////////////////////////
69 class CMainFrameBase : public wxFrame 
70 {
71         private:
72         
73         protected:
74                 wxMenuBar* m_menubar;
75                 wxMenu* m_menuFile;
76                 wxMenu* m_menuHelp;
77                 wxToolBar* m_toolBar;
78                 
79                 wxStaticText* m_staticText32;
80                 wxButton* m_buttonNew;
81                 wxButton* m_buttonCopy;
82                 
83                 wxStaticText* m_staticText41;
84                 wxStaticText* m_staticTextBalance;
85                 
86                 wxChoice* m_choiceFilter;
87                 wxNotebook* m_notebook;
88                 wxPanel* m_panel9;
89                 wxPanel* m_panel91;
90                 wxPanel* m_panel92;
91                 wxPanel* m_panel93;
92                 
93                 // Virtual event handlers, overide them in your derived class
94                 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
95                 virtual void OnIconize( wxIconizeEvent& event ) { event.Skip(); }
96                 virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
97                 virtual void OnMouseEvents( wxMouseEvent& event ) { event.Skip(); }
98                 virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
99                 virtual void OnMenuFileExit( wxCommandEvent& event ) { event.Skip(); }
100                 virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ) { event.Skip(); }
101                 virtual void OnMenuOptionsEncryptWallet( wxCommandEvent& event ) { event.Skip(); }
102                 virtual void OnMenuOptionsChangeWalletPassphrase( wxCommandEvent& event ) { event.Skip(); }
103                 virtual void OnMenuOptionsOptions( wxCommandEvent& event ) { event.Skip(); }
104                 virtual void OnMenuHelpAbout( wxCommandEvent& event ) { event.Skip(); }
105                 virtual void OnButtonSend( wxCommandEvent& event ) { event.Skip(); }
106                 virtual void OnButtonAddressBook( wxCommandEvent& event ) { event.Skip(); }
107                 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
108                 virtual void OnMouseEventsAddress( wxMouseEvent& event ) { event.Skip(); }
109                 virtual void OnSetFocusAddress( wxFocusEvent& event ) { event.Skip(); }
110                 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
111                 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
112                 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
113                 virtual void OnListColBeginDrag( wxListEvent& event ) { event.Skip(); }
114                 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
115                 virtual void OnPaintListCtrl( wxPaintEvent& event ) { event.Skip(); }
116                 
117         
118         public:
119                 wxMenu* m_menuOptions;
120                 wxMenuItem* m_menuOptionsEncryptWallet;
121                 wxMenuItem* m_menuOptionsChangeWalletPassphrase;
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                 
129                 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 );
130                 ~CMainFrameBase();
131         
132 };
133
134 ///////////////////////////////////////////////////////////////////////////////
135 /// Class CTxDetailsDialogBase
136 ///////////////////////////////////////////////////////////////////////////////
137 class CTxDetailsDialogBase : public wxDialog 
138 {
139         private:
140         
141         protected:
142                 wxHtmlWindow* m_htmlWin;
143                 wxButton* m_buttonOK;
144                 
145                 // Virtual event handlers, overide them in your derived class
146                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
147                 
148         
149         public:
150                 
151                 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 );
152                 ~CTxDetailsDialogBase();
153         
154 };
155
156 ///////////////////////////////////////////////////////////////////////////////
157 /// Class COptionsDialogBase
158 ///////////////////////////////////////////////////////////////////////////////
159 class COptionsDialogBase : public wxDialog 
160 {
161         private:
162         
163         protected:
164                 wxListBox* m_listBox;
165                 wxScrolledWindow* m_scrolledWindow;
166                 wxPanel* m_panelMain;
167                 
168                 wxCheckBox* m_checkBoxStartOnSystemStartup;
169                 wxCheckBox* m_checkBoxMinimizeToTray;
170                 wxCheckBox* m_checkBoxUseUPnP;
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 class
191                 virtual void OnListBox( wxCommandEvent& event ) { event.Skip(); }
192                 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ) { event.Skip(); }
193                 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ) { event.Skip(); }
194                 virtual void OnKillFocusProxy( wxFocusEvent& event ) { event.Skip(); }
195                 virtual void OnKillFocusTransactionFee( 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                 
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 };
207
208 ///////////////////////////////////////////////////////////////////////////////
209 /// Class CAboutDialogBase
210 ///////////////////////////////////////////////////////////////////////////////
211 class 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 class
226                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
227                 
228         
229         public:
230                 wxStaticText* m_staticTextVersion;
231                 
232                 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 );
233                 ~CAboutDialogBase();
234         
235 };
236
237 ///////////////////////////////////////////////////////////////////////////////
238 /// Class CSendDialogBase
239 ///////////////////////////////////////////////////////////////////////////////
240 class CSendDialogBase : public wxDialog 
241 {
242         private:
243         
244         protected:
245                 
246                 
247                 wxStaticText* m_staticTextInstructions;
248                 
249                 wxStaticBitmap* m_bitmapCheckMark;
250                 wxStaticText* m_staticText36;
251                 wxTextCtrl* m_textCtrlAddress;
252                 wxButton* m_buttonPaste;
253                 wxButton* m_buttonAddress;
254                 wxStaticText* m_staticText19;
255                 wxTextCtrl* m_textCtrlAmount;
256                 wxStaticText* m_staticText20;
257                 wxChoice* m_choiceTransferType;
258                 
259                 
260                 
261                 wxButton* m_buttonSend;
262                 wxButton* m_buttonCancel;
263                 
264                 // Virtual event handlers, overide them in your derived class
265                 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
266                 virtual void OnTextAddress( wxCommandEvent& event ) { event.Skip(); }
267                 virtual void OnButtonPaste( wxCommandEvent& event ) { event.Skip(); }
268                 virtual void OnButtonAddressBook( wxCommandEvent& event ) { event.Skip(); }
269                 virtual void OnKillFocusAmount( wxFocusEvent& event ) { event.Skip(); }
270                 virtual void OnButtonSend( wxCommandEvent& event ) { event.Skip(); }
271                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
272                 
273         
274         public:
275                 
276                 CSendDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 498,157 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
277                 ~CSendDialogBase();
278         
279 };
280
281 ///////////////////////////////////////////////////////////////////////////////
282 /// Class CSendingDialogBase
283 ///////////////////////////////////////////////////////////////////////////////
284 class CSendingDialogBase : public wxDialog 
285 {
286         private:
287         
288         protected:
289                 wxStaticText* m_staticTextSending;
290                 wxTextCtrl* m_textCtrlStatus;
291                 
292                 wxButton* m_buttonOK;
293                 wxButton* m_buttonCancel;
294                 
295                 // Virtual event handlers, overide them in your derived class
296                 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
297                 virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
298                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
299                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
300                 
301         
302         public:
303                 
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 };
308
309 ///////////////////////////////////////////////////////////////////////////////
310 /// Class CYourAddressDialogBase
311 ///////////////////////////////////////////////////////////////////////////////
312 class 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 class
328                 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                 
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 };
345
346 ///////////////////////////////////////////////////////////////////////////////
347 /// Class CAddressBookDialogBase
348 ///////////////////////////////////////////////////////////////////////////////
349 class 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 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(); }
383                 
384         
385         public:
386                 wxButton* m_buttonCancel;
387                 
388                 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 );
389                 ~CAddressBookDialogBase();
390         
391 };
392
393 ///////////////////////////////////////////////////////////////////////////////
394 /// Class CGetTextFromUserDialogBase
395 ///////////////////////////////////////////////////////////////////////////////
396 class CGetTextFromUserDialogBase : public wxDialog 
397 {
398         private:
399         
400         protected:
401                 
402                 wxStaticText* m_staticTextMessage1;
403                 wxTextCtrl* m_textCtrl1;
404                 wxStaticText* m_staticTextMessage2;
405                 wxTextCtrl* m_textCtrl2;
406                 
407                 
408                 wxButton* m_buttonOK;
409                 wxButton* m_buttonCancel;
410                 
411                 // Virtual event handlers, overide them in your derived class
412                 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
413                 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
414                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
415                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
416                 
417         
418         public:
419                 
420                 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 );
421                 ~CGetTextFromUserDialogBase();
422         
423 };
424
425 #endif //__uibase__