2009-08-30 05:46:39 +02:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// C++ code generated with wxFormBuilder (version Apr 16 2008)
|
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __uibase__
|
|
|
|
#define __uibase__
|
|
|
|
|
2010-02-15 05:03:07 +01:00
|
|
|
#include <wx/intl.h>
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/menu.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/toolbar.h>
|
|
|
|
#include <wx/statusbr.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/listctrl.h>
|
2010-02-21 22:42:01 +01:00
|
|
|
#include <wx/notebook.h>
|
2009-08-30 05:46:39 +02:00
|
|
|
#include <wx/frame.h>
|
|
|
|
#include <wx/html/htmlwin.h>
|
|
|
|
#include <wx/dialog.h>
|
2009-10-21 03:08:05 +02:00
|
|
|
#include <wx/listbox.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/spinctrl.h>
|
|
|
|
#include <wx/scrolwin.h>
|
2009-08-30 05:46:39 +02:00
|
|
|
#include <wx/statbmp.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#define wxID_MAINFRAME 1000
|
2010-02-21 22:42:01 +01:00
|
|
|
#define wxID_OPTIONSGENERATEBITCOINS 1001
|
|
|
|
#define wxID_MENUOPTIONSOPTIONS 1002
|
|
|
|
#define wxID_BUTTONSEND 1003
|
|
|
|
#define wxID_BUTTONRECEIVE 1004
|
|
|
|
#define wxID_TEXTCTRLADDRESS 1005
|
|
|
|
#define wxID_BUTTONNEW 1006
|
|
|
|
#define wxID_BUTTONCOPY 1007
|
|
|
|
#define wxID_TRANSACTIONFEE 1008
|
|
|
|
#define wxID_PROXYIP 1009
|
|
|
|
#define wxID_PROXYPORT 1010
|
|
|
|
#define wxID_TEXTCTRLPAYTO 1011
|
|
|
|
#define wxID_BUTTONPASTE 1012
|
|
|
|
#define wxID_BUTTONADDRESSBOOK 1013
|
|
|
|
#define wxID_TEXTCTRLAMOUNT 1014
|
|
|
|
#define wxID_CHOICETRANSFERTYPE 1015
|
|
|
|
#define wxID_LISTCTRL 1016
|
|
|
|
#define wxID_BUTTONRENAME 1017
|
|
|
|
#define wxID_PANELSENDING 1018
|
|
|
|
#define wxID_LISTCTRLSENDING 1019
|
|
|
|
#define wxID_PANELRECEIVING 1020
|
|
|
|
#define wxID_LISTCTRLRECEIVING 1021
|
|
|
|
#define wxID_BUTTONDELETE 1022
|
|
|
|
#define wxID_BUTTONEDIT 1023
|
|
|
|
#define wxID_TEXTCTRL 1024
|
2009-08-30 05:46:39 +02:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CMainFrameBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CMainFrameBase : public wxFrame
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxMenuBar* m_menubar;
|
|
|
|
wxMenu* m_menuFile;
|
|
|
|
wxMenu* m_menuHelp;
|
|
|
|
wxToolBar* m_toolBar;
|
|
|
|
wxStatusBar* m_statusBar;
|
|
|
|
|
|
|
|
wxStaticText* m_staticText32;
|
2010-02-15 05:03:07 +01:00
|
|
|
wxButton* m_buttonNew;
|
2009-09-24 06:09:56 +02:00
|
|
|
wxButton* m_buttonCopy;
|
|
|
|
|
|
|
|
wxPanel* m_panel14;
|
|
|
|
wxStaticText* m_staticText41;
|
|
|
|
wxStaticText* m_staticTextBalance;
|
|
|
|
|
|
|
|
wxChoice* m_choiceFilter;
|
2010-02-21 22:42:01 +01:00
|
|
|
wxNotebook* m_notebook;
|
|
|
|
wxPanel* m_panel9;
|
|
|
|
wxPanel* m_panel91;
|
|
|
|
wxPanel* m_panel92;
|
|
|
|
wxPanel* m_panel93;
|
2009-09-24 06:09:56 +02:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnIconize( wxIconizeEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnIdle( wxIdleEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnMouseEvents( wxMouseEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnMenuFileExit( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnMenuOptionsGenerate( wxCommandEvent& event ){ event.Skip(); }
|
2009-10-21 03:08:05 +02:00
|
|
|
virtual void OnUpdateUIOptionsGenerate( wxUpdateUIEvent& event ){ event.Skip(); }
|
2009-09-24 06:09:56 +02:00
|
|
|
virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnMenuOptionsOptions( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnMenuHelpAbout( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnMouseEventsAddress( wxMouseEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnSetFocusAddress( wxFocusEvent& event ){ event.Skip(); }
|
2010-02-20 22:59:59 +01:00
|
|
|
virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }
|
2010-02-15 05:03:07 +01:00
|
|
|
virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }
|
2010-02-21 22:42:01 +01:00
|
|
|
virtual void OnNotebookPageChanged( wxNotebookEvent& event ){ event.Skip(); }
|
2009-09-24 06:09:56 +02:00
|
|
|
virtual void OnListColBeginDrag( wxListEvent& event ){ event.Skip(); }
|
2010-02-03 23:58:40 +01:00
|
|
|
virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }
|
2009-09-24 06:09:56 +02:00
|
|
|
virtual void OnPaintListCtrl( wxPaintEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
wxMenu* m_menuOptions;
|
2010-02-20 22:59:59 +01:00
|
|
|
wxTextCtrl* m_textCtrlAddress;
|
2010-02-21 22:42:01 +01:00
|
|
|
wxListCtrl* m_listCtrlAll;
|
|
|
|
wxListCtrl* m_listCtrlSentReceived;
|
|
|
|
wxListCtrl* m_listCtrlSent;
|
|
|
|
wxListCtrl* m_listCtrlReceived;
|
|
|
|
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 );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CMainFrameBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CTxDetailsDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CTxDetailsDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxHtmlWindow* m_htmlWin;
|
|
|
|
wxButton* m_buttonOK;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2010-02-15 05:03:07 +01:00
|
|
|
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 );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CTxDetailsDialogBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class COptionsDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class COptionsDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2009-10-21 03:08:05 +02:00
|
|
|
wxListBox* m_listBox;
|
|
|
|
wxScrolledWindow* m_scrolledWindow;
|
|
|
|
wxPanel* m_panelMain;
|
|
|
|
|
|
|
|
wxStaticText* m_staticText32;
|
|
|
|
wxStaticText* m_staticText31;
|
|
|
|
wxTextCtrl* m_textCtrlTransactionFee;
|
|
|
|
wxCheckBox* m_checkBoxLimitProcessors;
|
|
|
|
wxSpinCtrl* m_spinCtrlLimitProcessors;
|
|
|
|
wxStaticText* m_staticText35;
|
|
|
|
wxCheckBox* m_checkBoxStartOnSystemStartup;
|
|
|
|
wxCheckBox* m_checkBoxMinimizeToTray;
|
|
|
|
wxCheckBox* m_checkBoxMinimizeOnClose;
|
2009-10-29 03:52:48 +01:00
|
|
|
wxCheckBox* m_checkBoxUseProxy;
|
|
|
|
|
|
|
|
wxStaticText* m_staticTextProxyIP;
|
|
|
|
wxTextCtrl* m_textCtrlProxyIP;
|
|
|
|
wxStaticText* m_staticTextProxyPort;
|
|
|
|
wxTextCtrl* m_textCtrlProxyPort;
|
2009-10-21 03:08:05 +02:00
|
|
|
wxPanel* m_panelTest2;
|
|
|
|
|
|
|
|
wxStaticText* m_staticText321;
|
|
|
|
wxStaticText* m_staticText69;
|
2009-09-24 06:09:56 +02:00
|
|
|
wxButton* m_buttonOK;
|
|
|
|
wxButton* m_buttonCancel;
|
|
|
|
wxButton* m_buttonApply;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2009-10-21 03:08:05 +02:00
|
|
|
virtual void OnListBox( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnKillFocusTransactionFee( wxFocusEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnCheckBoxLimitProcessors( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ){ event.Skip(); }
|
2009-10-29 03:52:48 +01:00
|
|
|
virtual void OnCheckBoxUseProxy( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnKillFocusProxy( wxFocusEvent& event ){ event.Skip(); }
|
2009-09-24 06:09:56 +02:00
|
|
|
virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
|
2009-10-21 03:08:05 +02:00
|
|
|
virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }
|
2009-09-24 06:09:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
2010-02-15 05:03:07 +01:00
|
|
|
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 );
|
2009-09-24 06:09:56 +02:00
|
|
|
~COptionsDialogBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CAboutDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CAboutDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2010-02-03 23:58:40 +01:00
|
|
|
wxStaticBitmap* m_bitmap;
|
2009-09-24 06:09:56 +02:00
|
|
|
|
|
|
|
wxStaticText* m_staticText40;
|
|
|
|
|
|
|
|
wxStaticText* m_staticTextMain;
|
|
|
|
|
|
|
|
|
|
|
|
wxButton* m_buttonOK;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
wxStaticText* m_staticTextVersion;
|
2010-02-15 05:03:07 +01:00
|
|
|
CAboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 532,329 ), long style = wxDEFAULT_DIALOG_STYLE );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CAboutDialogBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CSendDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CSendDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
2009-11-07 06:05:03 +01:00
|
|
|
wxStaticText* m_staticTextInstructions;
|
2009-09-24 06:09:56 +02:00
|
|
|
|
|
|
|
wxStaticBitmap* m_bitmapCheckMark;
|
|
|
|
wxStaticText* m_staticText36;
|
|
|
|
wxTextCtrl* m_textCtrlAddress;
|
|
|
|
wxButton* m_buttonPaste;
|
|
|
|
wxButton* m_buttonAddress;
|
|
|
|
wxStaticText* m_staticText19;
|
|
|
|
wxTextCtrl* m_textCtrlAmount;
|
|
|
|
wxStaticText* m_staticText20;
|
|
|
|
wxChoice* m_choiceTransferType;
|
|
|
|
|
|
|
|
|
|
|
|
wxStaticText* m_staticTextFrom;
|
|
|
|
wxTextCtrl* m_textCtrlFrom;
|
|
|
|
wxStaticText* m_staticTextMessage;
|
|
|
|
wxTextCtrl* m_textCtrlMessage;
|
|
|
|
|
|
|
|
wxButton* m_buttonSend;
|
|
|
|
wxButton* m_buttonCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnTextAddress( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonPaste( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnKillFocusAmount( wxFocusEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2010-02-15 05:03:07 +01:00
|
|
|
CSendDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 675,312 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CSendDialogBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CSendingDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CSendingDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticTextSending;
|
|
|
|
wxTextCtrl* m_textCtrlStatus;
|
|
|
|
|
|
|
|
wxButton* m_buttonOK;
|
|
|
|
wxButton* m_buttonCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2010-02-15 05:03:07 +01:00
|
|
|
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 );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CSendingDialogBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CYourAddressDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CYourAddressDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
wxStaticText* m_staticText45;
|
|
|
|
wxListCtrl* m_listCtrl;
|
|
|
|
|
|
|
|
wxButton* m_buttonRename;
|
|
|
|
wxButton* m_buttonNew;
|
|
|
|
wxButton* m_buttonCopy;
|
|
|
|
wxButton* m_buttonOK;
|
|
|
|
wxButton* m_buttonCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonRename( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2010-02-15 05:03:07 +01:00
|
|
|
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 );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CYourAddressDialogBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CAddressBookDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CAddressBookDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2010-02-20 22:59:59 +01:00
|
|
|
wxNotebook* m_notebook;
|
|
|
|
wxPanel* m_panelSending;
|
2009-09-24 06:09:56 +02:00
|
|
|
|
|
|
|
wxStaticText* m_staticText55;
|
2010-02-20 22:59:59 +01:00
|
|
|
wxListCtrl* m_listCtrlSending;
|
|
|
|
wxPanel* m_panelReceiving;
|
|
|
|
|
|
|
|
wxStaticText* m_staticText45;
|
|
|
|
|
|
|
|
wxListCtrl* m_listCtrlReceiving;
|
2009-09-24 06:09:56 +02:00
|
|
|
|
2010-02-20 22:59:59 +01:00
|
|
|
wxButton* m_buttonDelete;
|
|
|
|
wxButton* m_buttonCopy;
|
2009-09-24 06:09:56 +02:00
|
|
|
wxButton* m_buttonEdit;
|
|
|
|
wxButton* m_buttonNew;
|
|
|
|
wxButton* m_buttonOK;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
|
2010-02-20 22:59:59 +01:00
|
|
|
virtual void OnNotebookPageChanged( wxNotebookEvent& event ){ event.Skip(); }
|
2009-09-24 06:09:56 +02:00
|
|
|
virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }
|
2010-02-20 22:59:59 +01:00
|
|
|
virtual void OnButtonDelete( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }
|
2009-09-24 06:09:56 +02:00
|
|
|
virtual void OnButtonEdit( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
wxButton* m_buttonCancel;
|
2010-02-15 05:03:07 +01:00
|
|
|
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 );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CAddressBookDialogBase();
|
|
|
|
|
2009-08-30 05:46:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class CGetTextFromUserDialogBase
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2009-09-24 06:09:56 +02:00
|
|
|
class CGetTextFromUserDialogBase : public wxDialog
|
2009-08-30 05:46:39 +02:00
|
|
|
{
|
2009-09-24 06:09:56 +02:00
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
wxStaticText* m_staticTextMessage1;
|
|
|
|
wxTextCtrl* m_textCtrl1;
|
|
|
|
wxStaticText* m_staticTextMessage2;
|
|
|
|
wxTextCtrl* m_textCtrl2;
|
|
|
|
|
|
|
|
|
|
|
|
wxButton* m_buttonOK;
|
|
|
|
wxButton* m_buttonCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2010-02-20 22:59:59 +01:00
|
|
|
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 );
|
2009-09-24 06:09:56 +02:00
|
|
|
~CGetTextFromUserDialogBase();
|
|
|
|
|
|
|
|
};
|
2009-08-30 05:46:39 +02:00
|
|
|
|
|
|
|
#endif //__uibase__
|