Add wallet privkey encryption.
[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                 wxStatusBar* m_statusBar;
121                 wxTextCtrl* m_textCtrlAddress;
122                 wxListCtrl* m_listCtrlAll;
123                 wxListCtrl* m_listCtrlSentReceived;
124                 wxListCtrl* m_listCtrlSent;
125                 wxListCtrl* m_listCtrlReceived;
126                 
127                 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 );
128                 ~CMainFrameBase();
129         
130 };
131
132 ///////////////////////////////////////////////////////////////////////////////
133 /// Class CTxDetailsDialogBase
134 ///////////////////////////////////////////////////////////////////////////////
135 class CTxDetailsDialogBase : public wxDialog 
136 {
137         private:
138         
139         protected:
140                 wxHtmlWindow* m_htmlWin;
141                 wxButton* m_buttonOK;
142                 
143                 // Virtual event handlers, overide them in your derived class
144                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
145                 
146         
147         public:
148                 
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 };
153
154 ///////////////////////////////////////////////////////////////////////////////
155 /// Class COptionsDialogBase
156 ///////////////////////////////////////////////////////////////////////////////
157 class 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_checkBoxStartOnSystemStartup;
167                 wxCheckBox* m_checkBoxMinimizeToTray;
168                 wxCheckBox* m_checkBoxUseUPnP;
169                 wxCheckBox* m_checkBoxMinimizeOnClose;
170                 wxCheckBox* m_checkBoxUseProxy;
171                 
172                 wxStaticText* m_staticTextProxyIP;
173                 wxTextCtrl* m_textCtrlProxyIP;
174                 wxStaticText* m_staticTextProxyPort;
175                 wxTextCtrl* m_textCtrlProxyPort;
176                 
177                 wxStaticText* m_staticText32;
178                 wxStaticText* m_staticText31;
179                 wxTextCtrl* m_textCtrlTransactionFee;
180                 wxPanel* m_panelTest2;
181                 
182                 wxStaticText* m_staticText321;
183                 wxStaticText* m_staticText69;
184                 wxButton* m_buttonOK;
185                 wxButton* m_buttonCancel;
186                 wxButton* m_buttonApply;
187                 
188                 // Virtual event handlers, overide them in your derived class
189                 virtual void OnListBox( wxCommandEvent& event ) { event.Skip(); }
190                 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ) { event.Skip(); }
191                 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ) { event.Skip(); }
192                 virtual void OnKillFocusProxy( wxFocusEvent& event ) { event.Skip(); }
193                 virtual void OnKillFocusTransactionFee( wxFocusEvent& event ) { event.Skip(); }
194                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
195                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
196                 virtual void OnButtonApply( wxCommandEvent& event ) { event.Skip(); }
197                 
198         
199         public:
200                 
201                 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 );
202                 ~COptionsDialogBase();
203         
204 };
205
206 ///////////////////////////////////////////////////////////////////////////////
207 /// Class CAboutDialogBase
208 ///////////////////////////////////////////////////////////////////////////////
209 class CAboutDialogBase : public wxDialog 
210 {
211         private:
212         
213         protected:
214                 wxStaticBitmap* m_bitmap;
215                 
216                 wxStaticText* m_staticText40;
217                 
218                 wxStaticText* m_staticTextMain;
219                 
220                 
221                 wxButton* m_buttonOK;
222                 
223                 // Virtual event handlers, overide them in your derived class
224                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
225                 
226         
227         public:
228                 wxStaticText* m_staticTextVersion;
229                 
230                 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 );
231                 ~CAboutDialogBase();
232         
233 };
234
235 ///////////////////////////////////////////////////////////////////////////////
236 /// Class CSendDialogBase
237 ///////////////////////////////////////////////////////////////////////////////
238 class 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                 
259                 wxButton* m_buttonSend;
260                 wxButton* m_buttonCancel;
261                 
262                 // Virtual event handlers, overide them in your derived class
263                 virtual void OnKeyDown( wxKeyEvent& event ) { event.Skip(); }
264                 virtual void OnTextAddress( wxCommandEvent& event ) { event.Skip(); }
265                 virtual void OnButtonPaste( wxCommandEvent& event ) { event.Skip(); }
266                 virtual void OnButtonAddressBook( wxCommandEvent& event ) { event.Skip(); }
267                 virtual void OnKillFocusAmount( wxFocusEvent& event ) { event.Skip(); }
268                 virtual void OnButtonSend( wxCommandEvent& event ) { event.Skip(); }
269                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
270                 
271         
272         public:
273                 
274                 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 );
275                 ~CSendDialogBase();
276         
277 };
278
279 ///////////////////////////////////////////////////////////////////////////////
280 /// Class CSendingDialogBase
281 ///////////////////////////////////////////////////////////////////////////////
282 class CSendingDialogBase : public wxDialog 
283 {
284         private:
285         
286         protected:
287                 wxStaticText* m_staticTextSending;
288                 wxTextCtrl* m_textCtrlStatus;
289                 
290                 wxButton* m_buttonOK;
291                 wxButton* m_buttonCancel;
292                 
293                 // Virtual event handlers, overide them in your derived class
294                 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
295                 virtual void OnPaint( wxPaintEvent& event ) { event.Skip(); }
296                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
297                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
298                 
299         
300         public:
301                 
302                 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 );
303                 ~CSendingDialogBase();
304         
305 };
306
307 ///////////////////////////////////////////////////////////////////////////////
308 /// Class CYourAddressDialogBase
309 ///////////////////////////////////////////////////////////////////////////////
310 class CYourAddressDialogBase : public wxDialog 
311 {
312         private:
313         
314         protected:
315                 
316                 wxStaticText* m_staticText45;
317                 wxListCtrl* m_listCtrl;
318                 
319                 wxButton* m_buttonRename;
320                 wxButton* m_buttonNew;
321                 wxButton* m_buttonCopy;
322                 wxButton* m_buttonOK;
323                 wxButton* m_buttonCancel;
324                 
325                 // Virtual event handlers, overide them in your derived class
326                 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
327                 virtual void OnListEndLabelEdit( wxListEvent& event ) { event.Skip(); }
328                 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
329                 virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
330                 virtual void OnButtonRename( wxCommandEvent& event ) { event.Skip(); }
331                 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
332                 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
333                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
334                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
335                 
336         
337         public:
338                 
339                 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 );
340                 ~CYourAddressDialogBase();
341         
342 };
343
344 ///////////////////////////////////////////////////////////////////////////////
345 /// Class CAddressBookDialogBase
346 ///////////////////////////////////////////////////////////////////////////////
347 class CAddressBookDialogBase : public wxDialog 
348 {
349         private:
350         
351         protected:
352                 wxNotebook* m_notebook;
353                 wxPanel* m_panelSending;
354                 
355                 wxStaticText* m_staticText55;
356                 wxListCtrl* m_listCtrlSending;
357                 wxPanel* m_panelReceiving;
358                 
359                 wxStaticText* m_staticText45;
360                 
361                 wxListCtrl* m_listCtrlReceiving;
362                 
363                 wxButton* m_buttonDelete;
364                 wxButton* m_buttonCopy;
365                 wxButton* m_buttonEdit;
366                 wxButton* m_buttonNew;
367                 wxButton* m_buttonOK;
368                 
369                 // Virtual event handlers, overide them in your derived class
370                 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
371                 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
372                 virtual void OnListEndLabelEdit( wxListEvent& event ) { event.Skip(); }
373                 virtual void OnListItemActivated( wxListEvent& event ) { event.Skip(); }
374                 virtual void OnListItemSelected( wxListEvent& event ) { event.Skip(); }
375                 virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
376                 virtual void OnButtonCopy( wxCommandEvent& event ) { event.Skip(); }
377                 virtual void OnButtonEdit( wxCommandEvent& event ) { event.Skip(); }
378                 virtual void OnButtonNew( wxCommandEvent& event ) { event.Skip(); }
379                 virtual void OnButtonOK( wxCommandEvent& event ) { event.Skip(); }
380                 virtual void OnButtonCancel( wxCommandEvent& event ) { event.Skip(); }
381                 
382         
383         public:
384                 wxButton* m_buttonCancel;
385                 
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 };
390
391 ///////////////////////////////////////////////////////////////////////////////
392 /// Class CGetTextFromUserDialogBase
393 ///////////////////////////////////////////////////////////////////////////////
394 class 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 class
410                 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                 
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 };
422
423 #endif //__uibase__