X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FAppXestiaCalendar.h;h=e27361c14c38ea8dbca8ef9ea257d889d079be3a;hb=cba151c4b833a26c63984769f921bab5e755decd;hp=faaf083c8163f0b756a37a1b96101748be96e96f;hpb=4b113882cfb8bd3a2c90754128f114aaab9aab76;p=xestiacalendar%2F.git diff --git a/source/AppXestiaCalendar.h b/source/AppXestiaCalendar.h index faaf083..e27361c 100644 --- a/source/AppXestiaCalendar.h +++ b/source/AppXestiaCalendar.h @@ -1,3 +1,21 @@ +// AppXesitaCalendar.cpp - Xestia Calendar application form code header +// +// (c) 2016-2017 Xestia Software Development. +// +// This file is part of Xestia Calendar. +// +// Xestia Calendar is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, version 3 of the license. +// +// Xestia Calendar is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Calendar. If not, see + /////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Nov 13 2016) // http://www.wxformbuilder.org/ @@ -37,6 +55,10 @@ #include #include #include +#include +#include +#include +#include /////////////////////////////////////////////////////////////////////////// @@ -55,6 +77,18 @@ class frmMainADT : public wxFrame wxMenu* mnuCreate; wxMenu* mnuHelp; wxBoxSizer* szrMain; + + // Virtual event handlers, overide them in your derived class + virtual void QuitApp( wxCloseEvent& event ) { event.Skip(); } + virtual void OpenNewAccountDialog( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowPreferencesWindow( wxCommandEvent& event ) { event.Skip(); } + virtual void QuitApp( wxCommandEvent& event ) { event.Skip(); } + virtual void CreateNewCalendar( wxCommandEvent& event ) { event.Skip(); } + virtual void CreateNewEvent( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowHelp( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowUpdateWindow( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowAboutWindow( wxCommandEvent& event ) { event.Skip(); } + public: @@ -130,6 +164,11 @@ class frmPreferencesADT : public wxDialog virtual void AddABAccount( wxCommandEvent& event ) { event.Skip(); } virtual void ModifyABAccount( wxCommandEvent& event ) { event.Skip(); } virtual void DeleteABAccount( wxCommandEvent& event ) { event.Skip(); } + virtual void DisableButtons( wxListEvent& event ) { event.Skip(); } + virtual void EnableButtons( wxListEvent& event ) { event.Skip(); } + virtual void AddAccount( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyAccount( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteAccount( wxCommandEvent& event ) { event.Skip(); } virtual void SavePreferences( wxCommandEvent& event ) { event.Skip(); } virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } @@ -415,4 +454,83 @@ class frmInvalidSSLCertificateADT : public wxDialog }; +/////////////////////////////////////////////////////////////////////////////// +/// Class frmCalendarEditorADT +/////////////////////////////////////////////////////////////////////////////// +class frmCalendarEditorADT : public wxDialog +{ + private: + + protected: + wxStaticText* lblAccount; + wxChoice* cmbAccount; + wxStaticText* lblName; + wxTextCtrl* txtName; + wxStaticText* lblColour; + wxColourPickerCtrl* clpColour; + wxStaticText* lblDescription; + wxTextCtrl* txtDescription; + wxButton* btnCreate; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void ProcessCalendar( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmCalendarEditorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Calendar Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 550,305 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmCalendarEditorADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmEventEditorADT +/////////////////////////////////////////////////////////////////////////////// +class frmEventEditorADT : public wxFrame +{ + private: + + protected: + wxMenuBar* menuBar; + wxMenu* mnuEvent; + wxMenu* mnuEdit; + wxNotebook* nbkNotebook; + wxScrolledWindow* tabProperties; + wxBoxSizer* szrList; + wxFlexGridSizer* szrDetails; + wxStaticText* lblCalendar; + wxChoice* cmbCalendar; + wxStaticText* lblEventName; + wxTextCtrl* txtEventName; + wxStaticText* lblDescription; + wxTextCtrl* txtEventDescription; + wxFlexGridSizer* szrTime; + wxStaticText* lblStartTime; + wxDatePickerCtrl* dapStartDate; + wxTextCtrl* txtStartTime; + wxStaticText* lblEndTime; + wxDatePickerCtrl* dapEndDate; + wxTextCtrl* txtEndTime; + wxStaticText* lblDuration; + wxTextCtrl* m_textCtrl20; + + // Virtual event handlers, overide them in your derived class + virtual void SaveContact( wxCommandEvent& event ) { event.Skip(); } + virtual void SaveNewContact( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + virtual void CutText( wxCommandEvent& event ) { event.Skip(); } + virtual void CopyText( wxCommandEvent& event ) { event.Skip(); } + virtual void PasteText( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmEventEditorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Event Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 546,401 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); + + ~frmEventEditorADT(); + +}; + #endif //__APPXESTIACALENDAR_H__