Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated/Added copyright header and licensing to all source files
[xestiacalendar/.git] / source / AppXestiaCalendar.h
1 // AppXesitaCalendar.cpp - Xestia Calendar application form code header
2 //
3 // (c) 2016-2017 Xestia Software Development.
4 //
5 // This file is part of Xestia Calendar.
6 //
7 // Xestia Calendar is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
10 //
11 // Xestia Calendar is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Calendar. If not, see <http://www.gnu.org/licenses/> 
19 ///////////////////////////////////////////////////////////////////////////
20 // C++ code generated with wxFormBuilder (version Nov 13 2016)
21 // http://www.wxformbuilder.org/
22 //
23 // PLEASE DO "NOT" EDIT THIS FILE!
24 ///////////////////////////////////////////////////////////////////////////
26 #ifndef __APPXESTIACALENDAR_H__
27 #define __APPXESTIACALENDAR_H__
29 #include <wx/artprov.h>
30 #include <wx/xrc/xmlres.h>
31 #include <wx/statusbr.h>
32 #include <wx/gdicmn.h>
33 #include <wx/font.h>
34 #include <wx/colour.h>
35 #include <wx/settings.h>
36 #include <wx/string.h>
37 #include <wx/bitmap.h>
38 #include <wx/image.h>
39 #include <wx/icon.h>
40 #include <wx/menu.h>
41 #include <wx/sizer.h>
42 #include <wx/frame.h>
43 #include <wx/stattext.h>
44 #include <wx/panel.h>
45 #include <wx/statline.h>
46 #include <wx/button.h>
47 #include <wx/dialog.h>
48 #include <wx/checkbox.h>
49 #include <wx/listctrl.h>
50 #include <wx/notebook.h>
51 #include <wx/statbmp.h>
52 #include <wx/choice.h>
53 #include <wx/textctrl.h>
54 #include <wx/html/htmlwin.h>
55 #include <wx/splitter.h>
56 #include <wx/gauge.h>
57 #include <wx/treectrl.h>
58 #include <wx/clrpicker.h>
59 #include <wx/datectrl.h>
60 #include <wx/dateevt.h>
61 #include <wx/scrolwin.h>
63 ///////////////////////////////////////////////////////////////////////////
66 ///////////////////////////////////////////////////////////////////////////////
67 /// Class frmMainADT
68 ///////////////////////////////////////////////////////////////////////////////
69 class frmMainADT : public wxFrame 
70 {
71         private:
72         
73         protected:
74                 wxStatusBar* stbBottom;
75                 wxMenuBar* menuBar;
76                 wxMenu* mnuManage;
77                 wxMenu* mnuCreate;
78                 wxMenu* mnuHelp;
79                 wxBoxSizer* szrMain;
80                 
81                 // Virtual event handlers, overide them in your derived class
82                 virtual void QuitApp( wxCloseEvent& event ) { event.Skip(); }
83                 virtual void OpenNewAccountDialog( wxCommandEvent& event ) { event.Skip(); }
84                 virtual void ShowPreferencesWindow( wxCommandEvent& event ) { event.Skip(); }
85                 virtual void QuitApp( wxCommandEvent& event ) { event.Skip(); }
86                 virtual void CreateNewCalendar( wxCommandEvent& event ) { event.Skip(); }
87                 virtual void CreateNewEvent( wxCommandEvent& event ) { event.Skip(); }
88                 virtual void ShowHelp( wxCommandEvent& event ) { event.Skip(); }
89                 virtual void ShowUpdateWindow( wxCommandEvent& event ) { event.Skip(); }
90                 virtual void ShowAboutWindow( wxCommandEvent& event ) { event.Skip(); }
91                 
92         
93         public:
94                 
95                 frmMainADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Xestia Calendar"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,600 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
96                 
97                 ~frmMainADT();
98         
99 };
101 ///////////////////////////////////////////////////////////////////////////////
102 /// Class frmUpdateADT
103 ///////////////////////////////////////////////////////////////////////////////
104 class frmUpdateADT : public wxDialog 
106         private:
107         
108         protected:
109                 wxPanel* pnlUpdateData;
110                 wxStaticText* lblRunningText;
111                 wxStaticText* lblRunningVer;
112                 wxStaticText* lblAvailableText;
113                 wxStaticText* lblAvailableVer;
114                 wxStaticText* lblBuildTypeText;
115                 wxStaticText* lblBuildType;
116                 wxStaticText* lblUpdateMessage;
117                 wxStaticLine* statLine;
118                 wxButton* btnVisitGelforn;
119                 wxButton* btnVisitPREMIUM;
120                 wxButton* btnClose;
121                 
122                 // Virtual event handlers, overide them in your derived class
123                 virtual void VisitGelforn( wxCommandEvent& event ) { event.Skip(); }
124                 virtual void VisitPREMIUM( wxCommandEvent& event ) { event.Skip(); }
125                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
126                 
127         
128         public:
129                 
130                 frmUpdateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Check For Updates"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 433,273 ), long style = wxDEFAULT_DIALOG_STYLE ); 
131                 ~frmUpdateADT();
132         
133 };
135 ///////////////////////////////////////////////////////////////////////////////
136 /// Class frmPreferencesADT
137 ///////////////////////////////////////////////////////////////////////////////
138 class frmPreferencesADT : public wxDialog 
140         private:
141         
142         protected:
143                 wxNotebook* NbtPreferences;
144                 wxPanel* tabGeneral;
145                 wxCheckBox* chkSaveWindowPosition;
146                 wxCheckBox* chkHideLocal;
147                 wxPanel* tabTheme;
148                 wxListCtrl* lstThemes;
149                 wxButton* btnThemeAdd;
150                 wxButton* btnThemeModify;
151                 wxButton* btnThemeDelete;
152                 wxPanel* tabAccounts;
153                 wxListCtrl* lstAccounts;
154                 wxButton* btnAccountAdd;
155                 wxButton* btnAccountModify;
156                 wxButton* btnAccountDelete;
157                 wxButton* btnSave;
158                 wxButton* btnCancel;
159                 
160                 // Virtual event handlers, overide them in your derived class
161                 virtual void LoadPreferences( wxInitDialogEvent& event ) { event.Skip(); }
162                 virtual void DisableABButtons( wxListEvent& event ) { event.Skip(); }
163                 virtual void EnableABButtons( wxListEvent& event ) { event.Skip(); }
164                 virtual void AddABAccount( wxCommandEvent& event ) { event.Skip(); }
165                 virtual void ModifyABAccount( wxCommandEvent& event ) { event.Skip(); }
166                 virtual void DeleteABAccount( wxCommandEvent& event ) { event.Skip(); }
167                 virtual void DisableButtons( wxListEvent& event ) { event.Skip(); }
168                 virtual void EnableButtons( wxListEvent& event ) { event.Skip(); }
169                 virtual void AddAccount( wxCommandEvent& event ) { event.Skip(); }
170                 virtual void ModifyAccount( wxCommandEvent& event ) { event.Skip(); }
171                 virtual void DeleteAccount( wxCommandEvent& event ) { event.Skip(); }
172                 virtual void SavePreferences( wxCommandEvent& event ) { event.Skip(); }
173                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
174                 
175         
176         public:
177                 
178                 frmPreferencesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Preferences"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 450,400 ), long style = wxDEFAULT_DIALOG_STYLE ); 
179                 ~frmPreferencesADT();
180         
181 };
183 ///////////////////////////////////////////////////////////////////////////////
184 /// Class frmAboutADT
185 ///////////////////////////////////////////////////////////////////////////////
186 class frmAboutADT : public wxDialog 
188         private:
189         
190         protected:
191                 wxStaticBitmap* bmpLogo;
192                 wxStaticText* lblVersion;
193                 wxStaticText* lblCompileTime;
194                 wxStaticText* lblCopyright;
195                 wxButton* btnClose;
196                 
197                 // Virtual event handlers, overide them in your derived class
198                 virtual void CloseAboutWindow( wxCommandEvent& event ) { event.Skip(); }
199                 
200         
201         public:
202                 
203                 frmAboutADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Xestia Calendar"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,400 ), long style = wxDEFAULT_DIALOG_STYLE ); 
204                 ~frmAboutADT();
205         
206 };
208 ///////////////////////////////////////////////////////////////////////////////
209 /// Class frmNewAccountADT
210 ///////////////////////////////////////////////////////////////////////////////
211 class frmNewAccountADT : public wxDialog 
213         private:
214         
215         protected:
216                 wxBoxSizer* szrNewAccount;
217                 wxPanel* tabType;
218                 wxStaticText* lblEnterText;
219                 wxStaticText* lblType;
220                 wxChoice* cmbServerType;
221                 wxStaticText* lblServerAddress;
222                 wxTextCtrl* txtServerAddress;
223                 wxStaticText* lblServerPort;
224                 wxTextCtrl* txtServerPort;
225                 wxStaticText* lblUsername;
226                 wxTextCtrl* txtUsername;
227                 wxStaticText* lblPassword;
228                 wxTextCtrl* txtPassword;
229                 wxStaticText* lblSSL;
230                 wxCheckBox* chkUseSSL;
231                 wxPanel* tabConn;
232                 wxStaticText* lblConnectionResult;
233                 wxStaticText* lblServerConnected;
234                 wxStaticText* lblServerConnResult;
235                 wxStaticText* lblValidResponse;
236                 wxStaticText* lblServerResponse;
237                 wxStaticText* lblUseSSL;
238                 wxStaticText* lblServerSSLResult;
239                 wxStaticText* lblServerSSLCert;
240                 wxStaticText* lblServerSSLValid;
241                 wxStaticText* lblServerUsernamePassword;
242                 wxStaticText* lblAbleToLoginResult;
243                 wxStaticText* lblIsCalDAV;
244                 wxStaticText* lblCardDAVSupportResult;
245                 wxStaticLine* m_staticline3;
246                 wxStaticText* lblConnectionResultText;
247                 wxPanel* tabFinish;
248                 wxStaticText* lblFinishText;
249                 wxStaticText* lblAccountName;
250                 wxTextCtrl* txtAccountName;
251                 wxButton* btnPrevious;
252                 wxButton* btnNext;
253                 wxButton* btnClose;
254                 
255                 // Virtual event handlers, overide them in your derived class
256                 virtual void UpdateRequirements( wxCommandEvent& event ) { event.Skip(); }
257                 virtual void CheckAccountName( wxCommandEvent& event ) { event.Skip(); }
258                 virtual void ProcessPrevious( wxCommandEvent& event ) { event.Skip(); }
259                 virtual void ProcessNext( wxCommandEvent& event ) { event.Skip(); }
260                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
261                 
262         
263         public:
264                 
265                 frmNewAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("New Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 425,330 ), long style = wxDEFAULT_DIALOG_STYLE ); 
266                 ~frmNewAccountADT();
267         
268 };
270 ///////////////////////////////////////////////////////////////////////////////
271 /// Class frmConflictResolutionADT
272 ///////////////////////////////////////////////////////////////////////////////
273 class frmConflictResolutionADT : public wxDialog 
275         private:
276         
277         protected:
278                 wxStaticText* lblText;
279                 wxSplitterWindow* m_splitter3;
280                 wxPanel* m_panel44;
281                 wxHtmlWindow* htmClient;
282                 wxPanel* m_panel45;
283                 wxHtmlWindow* htmServer;
284                 wxButton* btnKeepLocal;
285                 wxButton* btnKeepServer;
286                 wxButton* btnDecideLater;
287                 
288                 // Virtual event handlers, overide them in your derived class
289                 virtual void KeepLocalData( wxCommandEvent& event ) { event.Skip(); }
290                 virtual void KeepServerData( wxCommandEvent& event ) { event.Skip(); }
291                 virtual void DecideLater( wxCommandEvent& event ) { event.Skip(); }
292                 
293         
294         public:
295                 
296                 frmConflictResolutionADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Conflict Resolution"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 536,417 ), long style = wxDEFAULT_DIALOG_STYLE ); 
297                 ~frmConflictResolutionADT();
298                 
299                 void m_splitter3OnIdle( wxIdleEvent& )
300                 {
301                         m_splitter3->SetSashPosition( 257 );
302                         m_splitter3->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
303                 }
304         
305 };
307 ///////////////////////////////////////////////////////////////////////////////
308 /// Class frmActivityMgrADT
309 ///////////////////////////////////////////////////////////////////////////////
310 class frmActivityMgrADT : public wxFrame 
312         private:
313         
314         protected:
315                 wxMenuBar* mnuMenuBar;
316                 wxMenu* mnuWindow;
317                 wxMenuItem* mnuSleepMode;
318                 wxPanel* m_panel43;
319                 wxStaticBitmap* bmpActivity;
320                 wxPanel* m_panel46;
321                 wxStaticText* lblDetails;
322                 wxGauge* GauProgress;
323                 wxPanel* m_panel44;
324                 wxListCtrl* lstActivity;
325                 
326                 // Virtual event handlers, overide them in your derived class
327                 virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); }
328                 virtual void StopTask( wxCommandEvent& event ) { event.Skip(); }
329                 virtual void StopAllTasks( wxCommandEvent& event ) { event.Skip(); }
330                 virtual void RetryTask( wxCommandEvent& event ) { event.Skip(); }
331                 virtual void SleepMode( wxCommandEvent& event ) { event.Skip(); }
332                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
333                 
334         
335         public:
336                 
337                 frmActivityMgrADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Activity Manager"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 400,425 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
338                 
339                 ~frmActivityMgrADT();
340         
341 };
343 ///////////////////////////////////////////////////////////////////////////////
344 /// Class frmEditAccountADT
345 ///////////////////////////////////////////////////////////////////////////////
346 class frmEditAccountADT : public wxDialog 
348         private:
349         
350         protected:
351                 wxNotebook* tabAccount;
352                 wxPanel* tabProperties;
353                 wxStaticText* lblAccName;
354                 wxTextCtrl* txtAccountName;
355                 wxStaticText* lblAccAdr;
356                 wxTextCtrl* txtAddress;
357                 wxStaticText* m_staticText193;
358                 wxTextCtrl* txtPort;
359                 wxStaticText* lblPort;
360                 wxTextCtrl* txtUsername;
361                 wxStaticText* lblPassword;
362                 wxTextCtrl* txtPassword;
363                 wxStaticText* lblPrefix;
364                 wxTextCtrl* txtPrefix;
365                 wxButton* btnDetect;
366                 wxStaticText* txtSSL;
367                 wxCheckBox* chkSSL;
368                 wxPanel* tabRefresh;
369                 wxStaticText* lblRefresh;
370                 wxTextCtrl* txtRefresh;
371                 wxButton* btnSave;
372                 wxButton* btnCancel;
373                 
374                 // Virtual event handlers, overide them in your derived class
375                 virtual void DetectAddressBook( wxCommandEvent& event ) { event.Skip(); }
376                 virtual void UpdateSettings( wxCommandEvent& event ) { event.Skip(); }
377                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
378                 
379         
380         public:
381                 
382                 frmEditAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Edit Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 306,341 ), long style = wxDEFAULT_DIALOG_STYLE ); 
383                 ~frmEditAccountADT();
384         
385 };
387 ///////////////////////////////////////////////////////////////////////////////
388 /// Class frmSSLCertificateADT
389 ///////////////////////////////////////////////////////////////////////////////
390 class frmSSLCertificateADT : public wxDialog 
392         private:
393         
394         protected:
395                 wxNotebook* m_notebook28;
396                 wxPanel* tabSummary;
397                 wxPanel* pnlTop;
398                 wxStaticText* lblCertName;
399                 wxStaticText* lblValidityStatus;
400                 wxPanel* m_panel54;
401                 wxStaticText* lblIssuedTo;
402                 wxStaticText* lblIssuedToData;
403                 wxStaticText* lblValidFrom;
404                 wxStaticText* lblValidFromData;
405                 wxStaticText* lblValidUntil;
406                 wxStaticText* lblValidUntilData;
407                 wxPanel* tabDetail;
408                 wxListCtrl* lstValues;
409                 wxTextCtrl* txtValueData;
410                 wxPanel* tabHierarchy;
411                 wxTreeCtrl* treHierarchy;
412                 wxPanel* m_panel57;
413                 wxButton* btnViewCert;
414                 wxPanel* pnlButtons;
415                 wxButton* btnClose;
416                 
417                 // Virtual event handlers, overide them in your derived class
418                 virtual void LoadValueData( wxListEvent& event ) { event.Skip(); }
419                 virtual void CheckCertificate( wxTreeEvent& event ) { event.Skip(); }
420                 virtual void ViewCertificate( wxCommandEvent& event ) { event.Skip(); }
421                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
422                 
423         
424         public:
425                 
426                 frmSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("SSL Certificate Window"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 347,402 ), long style = wxDEFAULT_DIALOG_STYLE ); 
427                 ~frmSSLCertificateADT();
428         
429 };
431 ///////////////////////////////////////////////////////////////////////////////
432 /// Class frmInvalidSSLCertificateADT
433 ///////////////////////////////////////////////////////////////////////////////
434 class frmInvalidSSLCertificateADT : public wxDialog 
436         private:
437         
438         protected:
439                 wxStaticText* lblSSLText;
440                 wxButton* btnAccept;
441                 wxButton* btnReject;
442                 wxButton* btnViewCert;
443                 
444                 // Virtual event handlers, overide them in your derived class
445                 virtual void Accept( wxCommandEvent& event ) { event.Skip(); }
446                 virtual void Reject( wxCommandEvent& event ) { event.Skip(); }
447                 virtual void ViewCertificates( wxCommandEvent& event ) { event.Skip(); }
448                 
449         
450         public:
451                 
452                 frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Invalid SSL Certificate"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 445,239 ), long style = wxCAPTION ); 
453                 ~frmInvalidSSLCertificateADT();
454         
455 };
457 ///////////////////////////////////////////////////////////////////////////////
458 /// Class frmCalendarEditorADT
459 ///////////////////////////////////////////////////////////////////////////////
460 class frmCalendarEditorADT : public wxDialog 
462         private:
463         
464         protected:
465                 wxStaticText* lblAccount;
466                 wxChoice* cmbAccount;
467                 wxStaticText* lblName;
468                 wxTextCtrl* txtName;
469                 wxStaticText* lblColour;
470                 wxColourPickerCtrl* clpColour;
471                 wxStaticText* lblDescription;
472                 wxTextCtrl* txtDescription;
473                 wxButton* btnCreate;
474                 wxButton* btnClose;
475                 
476                 // Virtual event handlers, overide them in your derived class
477                 virtual void ProcessCalendar( wxCommandEvent& event ) { event.Skip(); }
478                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
479                 
480         
481         public:
482                 
483                 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 ); 
484                 ~frmCalendarEditorADT();
485         
486 };
488 ///////////////////////////////////////////////////////////////////////////////
489 /// Class frmEventEditorADT
490 ///////////////////////////////////////////////////////////////////////////////
491 class frmEventEditorADT : public wxFrame 
493         private:
494         
495         protected:
496                 wxMenuBar* menuBar;
497                 wxMenu* mnuEvent;
498                 wxMenu* mnuEdit;
499                 wxNotebook* nbkNotebook;
500                 wxScrolledWindow* tabProperties;
501                 wxBoxSizer* szrList;
502                 wxFlexGridSizer* szrDetails;
503                 wxStaticText* lblCalendar;
504                 wxChoice* cmbCalendar;
505                 wxStaticText* lblEventName;
506                 wxTextCtrl* txtEventName;
507                 wxStaticText* lblDescription;
508                 wxTextCtrl* txtEventDescription;
509                 wxFlexGridSizer* szrTime;
510                 wxStaticText* lblStartTime;
511                 wxDatePickerCtrl* dapStartDate;
512                 wxTextCtrl* txtStartTime;
513                 wxStaticText* lblEndTime;
514                 wxDatePickerCtrl* dapEndDate;
515                 wxTextCtrl* txtEndTime;
516                 wxStaticText* lblDuration;
517                 wxTextCtrl* m_textCtrl20;
518                 
519                 // Virtual event handlers, overide them in your derived class
520                 virtual void SaveContact( wxCommandEvent& event ) { event.Skip(); }
521                 virtual void SaveNewContact( wxCommandEvent& event ) { event.Skip(); }
522                 virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
523                 virtual void CutText( wxCommandEvent& event ) { event.Skip(); }
524                 virtual void CopyText( wxCommandEvent& event ) { event.Skip(); }
525                 virtual void PasteText( wxCommandEvent& event ) { event.Skip(); }
526                 
527         
528         public:
529                 
530                 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 );
531                 
532                 ~frmEventEditorADT();
533         
534 };
536 #endif //__APPXESTIACALENDAR_H__
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy