|
|
1.1 root 1: ///////////////////////////////////////////////////////////////////////////
2: // C++ code generated with wxFormBuilder
3: // http://www.wxformbuilder.org/
4: //
5: // PLEASE DO "NOT" EDIT THIS FILE!
6: ///////////////////////////////////////////////////////////////////////////
7:
8: #ifndef __Forms__
9: #define __Forms__
10:
11: class WizardPage;
12:
13: #include "WizardPage.h"
14: #include <wx/string.h>
15: #include <wx/bitmap.h>
16: #include <wx/image.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/listctrl.h>
23: #include <wx/sizer.h>
24: #include <wx/statbox.h>
25: #include <wx/button.h>
26: #include <wx/statbmp.h>
27: #include <wx/combobox.h>
28: #include <wx/checkbox.h>
29: #include <wx/gbsizer.h>
30: #include <wx/panel.h>
31: #include <wx/frame.h>
32: #include <wx/stattext.h>
33: #include <wx/hyperlink.h>
34: #include <wx/statline.h>
35: #include <wx/textctrl.h>
36: #include <wx/dialog.h>
37: #include <wx/spinctrl.h>
38: #include <wx/notebook.h>
39: #include <wx/choice.h>
40: #include <wx/gauge.h>
41: #include <wx/radiobut.h>
42:
43: ///////////////////////////////////////////////////////////////////////////
44:
45: namespace TrueCrypt
46: {
47: ///////////////////////////////////////////////////////////////////////////////
48: /// Class MainFrameBase
49: ///////////////////////////////////////////////////////////////////////////////
50: class MainFrameBase : public wxFrame
51: {
52: private:
53:
54: protected:
55: wxMenuBar* MainMenuBar;
56: wxMenu* VolumesMenu;
57: wxMenuItem* MountVolumeMenuItem;
58: wxMenuItem* DismountVolumeMenuItem;
59: wxMenuItem* DismountAllMenuItem;
60: wxMenuItem* VolumePropertiesMenuItem;
61: wxMenu* KeyfilesMenu;
62: wxMenu* FavoritesMenu;
63: wxMenuItem* AddToFavoritesMenuItem;
64: wxMenuItem* AddAllMountedToFavoritesMenuItem;
65: wxMenu* ToolsMenu;
66: wxMenuItem* TravelerDiskWizardMenuItem;
67: wxMenuItem* BackupVolumeHeadersMenuItem;
68: wxMenuItem* RestoreVolumeHeaderMenuItem;
69: wxMenuItem* WipeCachedPasswordsMenuItem;
70: wxMenu* SettingsMenu;
71: wxMenuItem* HotkeysMenuItem;
72: wxMenuItem* PreferencesMenuItem;
73: wxMenu* HelpMenu;
74: wxPanel* MainPanel;
75: wxListCtrl* SlotListCtrl;
76: wxStaticBoxSizer* LowStaticBoxSizer;
77: wxBoxSizer* HigherButtonSizer;
78: wxButton* CreateVolumeButton;
79: wxButton* VolumePropertiesButton;
80: wxButton* WipeCacheButton;
81:
82: wxStaticBoxSizer* VolumeStaticBoxSizer;
83: wxGridBagSizer* VolumeGridBagSizer;
84: wxStaticBitmap* LogoBitmap;
85: wxComboBox* VolumePathComboBox;
86: wxButton* SelectFileButton;
87: wxCheckBox* NoHistoryCheckBox;
88: wxButton* VolumeToolsButton;
89: wxButton* SelectDeviceButton;
90:
91: wxButton* VolumeButton;
92: wxButton* MountAllDevicesButton;
93: wxButton* DismountAllButton;
94: wxButton* ExitButton;
95:
96: // Virtual event handlers, overide them in your derived class
97: virtual void OnActivate( wxActivateEvent& event ){ event.Skip(); }
98: virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
99: virtual void OnMountVolumeMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
100: virtual void OnMountAllDevicesButtonClick( wxCommandEvent& event ){ event.Skip(); }
101: virtual void OnDismountVolumeMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
102: virtual void OnDismountAllButtonClick( wxCommandEvent& event ){ event.Skip(); }
103: virtual void OnCreateVolumeButtonClick( wxCommandEvent& event ){ event.Skip(); }
104: virtual void OnChangePasswordMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
105: virtual void OnChangePkcs5PrfMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
106: virtual void OnVolumePropertiesButtonClick( wxCommandEvent& event ){ event.Skip(); }
107: virtual void OnChangeKeyfilesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
108: virtual void OnRemoveKeyfilesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
109: virtual void OnDefaultKeyfilesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
110: virtual void OnAddToFavoritesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
111: virtual void OnAddAllMountedToFavoritesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
112: virtual void OnOrganizeFavoritesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
113: virtual void OnMountAllFavoritesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
114: virtual void OnEncryptionTestMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
115: virtual void OnTravelerDiskWizardMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
116: virtual void OnBackupVolumeHeadersMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
117: virtual void OnRestoreVolumeHeaderMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
118: virtual void OnWipeCacheButtonClick( wxCommandEvent& event ){ event.Skip(); }
119: virtual void OnHotkeysMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
120: virtual void OnPreferencesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
121: virtual void OnUserGuideMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
122: virtual void OnOnlineHelpMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
123: virtual void OnBeginnersTutorialMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
124: virtual void OnFaqMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
125: virtual void OnWebsiteMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
126: virtual void OnDownloadsMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
127: virtual void OnNewsMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
128: virtual void OnVersionHistoryMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
129: virtual void OnLegalNoticesMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
130: virtual void OnReportBugMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
131: virtual void OnForumsMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
132: virtual void OnContactMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
133: virtual void OnDonationsMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
134: virtual void OnAboutMenuItemSelected( wxCommandEvent& event ){ event.Skip(); }
135: virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }
136: virtual void OnListItemDeselected( wxListEvent& event ){ event.Skip(); }
137: virtual void OnListItemRightClick( wxListEvent& event ){ event.Skip(); }
138: virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }
139: virtual void OnLogoBitmapClick( wxMouseEvent& event ){ event.Skip(); }
140: virtual void OnSelectFileButtonClick( wxCommandEvent& event ){ event.Skip(); }
141: virtual void OnNoHistoryCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
142: virtual void OnVolumeToolsButtonClick( wxCommandEvent& event ){ event.Skip(); }
143: virtual void OnSelectDeviceButtonClick( wxCommandEvent& event ){ event.Skip(); }
144: virtual void OnVolumeButtonClick( wxCommandEvent& event ){ event.Skip(); }
145: virtual void OnExitButtonClick( wxCommandEvent& event ){ event.Skip(); }
146:
147:
148: public:
149: MainFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("TrueCrypt"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,496 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxTAB_TRAVERSAL );
150: ~MainFrameBase();
151:
152: };
153:
154: ///////////////////////////////////////////////////////////////////////////////
155: /// Class WizardFrameBase
156: ///////////////////////////////////////////////////////////////////////////////
157: class WizardFrameBase : public wxFrame
158: {
159: private:
160:
161: protected:
162: wxPanel* MainPanel;
163: wxStaticBitmap* WizardBitmap;
164: wxStaticText* PageTitleStaticText;
165: wxBoxSizer* PageSizer;
166:
167: wxButton* HelpButton;
168:
169: wxButton* PreviousButton;
170: wxButton* NextButton;
171:
172: wxButton* CancelButton;
173:
174: // Virtual event handlers, overide them in your derived class
175: virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
176: virtual void OnMouseMotion( wxMouseEvent& event ){ event.Skip(); }
177: virtual void OnHelpButtonClick( wxCommandEvent& event ){ event.Skip(); }
178: virtual void OnPreviousButtonClick( wxCommandEvent& event ){ event.Skip(); }
179: virtual void OnNextButtonClick( wxCommandEvent& event ){ event.Skip(); }
180: virtual void OnCancelButtonClick( wxCommandEvent& event ){ event.Skip(); }
181:
182:
183: public:
184: WizardFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxTAB_TRAVERSAL );
185: ~WizardFrameBase();
186:
187: };
188:
189: ///////////////////////////////////////////////////////////////////////////////
190: /// Class AboutDialogBase
191: ///////////////////////////////////////////////////////////////////////////////
192: class AboutDialogBase : public wxDialog
193: {
194: private:
195:
196: protected:
197: wxPanel* m_panel14;
198:
199: wxStaticBitmap* LogoBitmap;
200: wxStaticText* VersionStaticText;
201:
202: wxStaticText* CopyrightStaticText;
203:
204: wxHyperlinkCtrl* WebsiteHyperlink;
205: wxStaticLine* m_staticline3;
206: wxTextCtrl* CreditsTextCtrl;
207:
208: wxStaticLine* m_staticline4;
209: wxStaticLine* m_staticline5;
210:
211: wxButton* DonationsButton;
212:
213:
214: // Virtual event handlers, overide them in your derived class
215: virtual void OnWebsiteHyperlinkClick( wxHyperlinkEvent& event ){ event.Skip(); }
216: virtual void OnDonationsButtonClick( wxCommandEvent& event ){ event.Skip(); }
217:
218:
219: public:
220: AboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
221: ~AboutDialogBase();
222:
223: };
224:
225: ///////////////////////////////////////////////////////////////////////////////
226: /// Class ChangePasswordDialogBase
227: ///////////////////////////////////////////////////////////////////////////////
228: class ChangePasswordDialogBase : public wxDialog
229: {
230: private:
231:
232: protected:
233: wxStaticBoxSizer* CurrentSizer;
234: wxBoxSizer* CurrentPasswordPanelSizer;
235: wxStaticBoxSizer* NewSizer;
236: wxBoxSizer* NewPasswordPanelSizer;
237: wxButton* OKButton;
238: wxButton* CancelButton;
239:
240: // Virtual event handlers, overide them in your derived class
241: virtual void OnOKButtonClick( wxCommandEvent& event ){ event.Skip(); }
242:
243:
244: public:
245: ChangePasswordDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
246: ~ChangePasswordDialogBase();
247:
248: };
249:
250: ///////////////////////////////////////////////////////////////////////////////
251: /// Class DeviceSelectionDialogBase
252: ///////////////////////////////////////////////////////////////////////////////
253: class DeviceSelectionDialogBase : public wxDialog
254: {
255: private:
256:
257: protected:
258: wxListCtrl* DeviceListCtrl;
259: wxStdDialogButtonSizer* StdButtons;
260: wxButton* StdButtonsOK;
261: wxButton* StdButtonsCancel;
262:
263: // Virtual event handlers, overide them in your derived class
264: virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }
265: virtual void OnListItemDeselected( wxListEvent& event ){ event.Skip(); }
266: virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }
267:
268:
269: public:
270: DeviceSelectionDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select a Partition or Device"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE );
271: ~DeviceSelectionDialogBase();
272:
273: };
274:
275: ///////////////////////////////////////////////////////////////////////////////
276: /// Class FavoriteVolumesDialogBase
277: ///////////////////////////////////////////////////////////////////////////////
278: class FavoriteVolumesDialogBase : public wxDialog
279: {
280: private:
281:
282: protected:
283: wxListCtrl* FavoritesListCtrl;
284: wxButton* MoveUpButton;
285: wxButton* MoveDownButton;
286: wxButton* RemoveButton;
287: wxButton* RemoveAllButton;
288:
289: wxButton* OKButton;
290: wxButton* CancelButton;
291:
292: // Virtual event handlers, overide them in your derived class
293: virtual void OnListItemDeselected( wxListEvent& event ){ event.Skip(); }
294: virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }
295: virtual void OnMoveUpButtonClick( wxCommandEvent& event ){ event.Skip(); }
296: virtual void OnMoveDownButtonClick( wxCommandEvent& event ){ event.Skip(); }
297: virtual void OnRemoveButtonClick( wxCommandEvent& event ){ event.Skip(); }
298: virtual void OnRemoveAllButtonClick( wxCommandEvent& event ){ event.Skip(); }
299: virtual void OnOKButtonClick( wxCommandEvent& event ){ event.Skip(); }
300:
301:
302: public:
303: FavoriteVolumesDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Favorite Volumes"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
304: ~FavoriteVolumesDialogBase();
305:
306: };
307:
308: ///////////////////////////////////////////////////////////////////////////////
309: /// Class KeyfilesDialogBase
310: ///////////////////////////////////////////////////////////////////////////////
311: class KeyfilesDialogBase : public wxDialog
312: {
313: private:
314:
315: protected:
316: wxBoxSizer* UpperSizer;
317: wxBoxSizer* PanelSizer;
318: wxButton* OKButton;
319: wxButton* CancelButton;
320: wxStaticText* WarningStaticText;
321: wxBoxSizer* KeyfilesNoteSizer;
322: wxStaticText* KeyfilesNoteStaticText;
323: wxHyperlinkCtrl* KeyfilesHyperlink;
324: wxButton* CreateKeyfileButtton;
325:
326: // Virtual event handlers, overide them in your derived class
327: virtual void OnKeyfilesHyperlinkClick( wxHyperlinkEvent& event ){ event.Skip(); }
328: virtual void OnCreateKeyfileButttonClick( wxCommandEvent& event ){ event.Skip(); }
329:
330:
331: public:
332: KeyfilesDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select Keyfiles"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
333: ~KeyfilesDialogBase();
334:
335: };
336:
337: ///////////////////////////////////////////////////////////////////////////////
338: /// Class LegalNoticesDialogBase
339: ///////////////////////////////////////////////////////////////////////////////
340: class LegalNoticesDialogBase : public wxDialog
341: {
342: private:
343:
344: protected:
345: wxTextCtrl* LegalNoticesTextCtrl;
346:
347: public:
348: LegalNoticesDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("TrueCrypt - Legal Notices"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
349: ~LegalNoticesDialogBase();
350:
351: };
352:
353: ///////////////////////////////////////////////////////////////////////////////
354: /// Class MountOptionsDialogBase
355: ///////////////////////////////////////////////////////////////////////////////
356: class MountOptionsDialogBase : public wxDialog
357: {
358: private:
359:
360: protected:
361: wxBoxSizer* PasswordSizer;
362: wxButton* OKButton;
363: wxButton* CancelButton;
364:
365: wxButton* OptionsButton;
366: wxPanel* OptionsPanel;
367: wxStaticBoxSizer* OptionsSizer;
368:
369: wxCheckBox* ReadOnlyCheckBox;
370: wxCheckBox* RemovableCheckBox;
371: wxStaticBoxSizer* ProtectionSizer;
372: wxCheckBox* ProtectionCheckBox;
373: wxBoxSizer* ProtectionPasswordSizer;
374: wxHyperlinkCtrl* ProtectionHyperlinkCtrl;
375: wxBoxSizer* FilesystemSizer;
376: wxPanel* m_panel8;
377: wxCheckBox* NoFilesystemCheckBox;
378: wxGridBagSizer* FilesystemOptionsSizer;
379: wxBoxSizer* FilesystemSpacer;
380: wxStaticText* MountPointTextCtrlStaticText;
381: wxTextCtrl* MountPointTextCtrl;
382: wxButton* MountPointButton;
383: wxStaticText* FilesystemOptionsStaticText;
384: wxTextCtrl* FilesystemOptionsTextCtrl;
385:
386: // Virtual event handlers, overide them in your derived class
387: virtual void OnInitDialog( wxInitDialogEvent& event ){ event.Skip(); }
388: virtual void OnOKButtonClick( wxCommandEvent& event ){ event.Skip(); }
389: virtual void OnOptionsButtonClick( wxCommandEvent& event ){ event.Skip(); }
390: virtual void OnReadOnlyCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
391: virtual void OnProtectionCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
392: virtual void OnProtectionHyperlinkClick( wxHyperlinkEvent& event ){ event.Skip(); }
393: virtual void OnNoFilesystemCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
394: virtual void OnMountPointButtonClick( wxCommandEvent& event ){ event.Skip(); }
395:
396:
397: public:
398: MountOptionsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Enter TrueCrypt Volume Password"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE );
399: ~MountOptionsDialogBase();
400:
401: };
402:
403: ///////////////////////////////////////////////////////////////////////////////
404: /// Class PreferencesDialogBase
405: ///////////////////////////////////////////////////////////////////////////////
406: class PreferencesDialogBase : public wxDialog
407: {
408: private:
409:
410: protected:
411: wxNotebook* PreferencesNotebook;
412: wxPanel* SecurityPage;
413: wxStaticBoxSizer* AutoDismountSizer;
414: wxCheckBox* DismountOnLogOffCheckBox;
415: wxCheckBox* DismountOnScreenSaverCheckBox;
416: wxCheckBox* DismountOnPowerSavingCheckBox;
417: wxCheckBox* DismountOnInactivityCheckBox;
418: wxSpinCtrl* DismountOnInactivitySpinCtrl;
419: wxCheckBox* ForceAutoDismountCheckBox;
420: wxStaticBoxSizer* FilesystemSecuritySizer;
421: wxCheckBox* PreserveTimestampsCheckBox;
422: wxCheckBox* WipeCacheOnCloseCheckBox;
423: wxCheckBox* WipeCacheOnAutoDismountCheckBox;
424: wxPanel* DefaultMountOptionsPage;
425: wxCheckBox* MountReadOnlyCheckBox;
426: wxCheckBox* MountRemovableCheckBox;
427: wxCheckBox* CachePasswordsCheckBox;
428: wxStaticBoxSizer* FilesystemSizer;
429: wxTextCtrl* FilesystemOptionsTextCtrl;
430: wxBoxSizer* DefaultKeyfilesSizer;
431: wxCheckBox* UseKeyfilesCheckBox;
432: wxPanel* BackgroundTaskPanel;
433: wxCheckBox* BackgroundTaskEnabledCheckBox;
434: wxCheckBox* CloseBackgroundTaskOnNoVolumesCheckBox;
435: wxCheckBox* BackgroundTaskMenuMountItemsEnabledCheckBox;
436: wxCheckBox* BackgroundTaskMenuOpenItemsEnabledCheckBox;
437: wxCheckBox* BackgroundTaskMenuDismountItemsEnabledCheckBox;
438: wxPanel* SystemIntegrationPage;
439: wxStaticBoxSizer* LogOnSizer;
440: wxCheckBox* StartOnLogonCheckBox;
441: wxCheckBox* MountFavoritesOnLogonCheckBox;
442: wxCheckBox* MountDevicesOnLogonCheckBox;
443: wxStaticBoxSizer* ExplorerSizer;
444: wxCheckBox* OpenExplorerWindowAfterMountCheckBox;
445: wxCheckBox* CloseExplorerWindowsOnDismountCheckBox;
446: wxListCtrl* HotkeyListCtrl;
447: wxTextCtrl* HotkeyTextCtrl;
448: wxButton* AssignHotkeyButton;
449:
450: wxCheckBox* HotkeyControlCheckBox;
451: wxCheckBox* HotkeyShiftCheckBox;
452: wxCheckBox* HotkeyAltCheckBox;
453: wxCheckBox* HotkeyWinCheckBox;
454: wxButton* RemoveHotkeyButton;
455: wxCheckBox* BeepAfterHotkeyMountDismountCheckBox;
456: wxCheckBox* DisplayMessageAfterHotkeyDismountCheckBox;
457: wxStdDialogButtonSizer* StdButtons;
458: wxButton* StdButtonsOK;
459: wxButton* StdButtonsCancel;
460:
461: // Virtual event handlers, overide them in your derived class
462: virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }
463: virtual void OnDismountOnScreenSaverCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
464: virtual void OnDismountOnPowerSavingCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
465: virtual void OnForceAutoDismountCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
466: virtual void OnPreserveTimestampsCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
467: virtual void OnBackgroundTaskEnabledCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
468: virtual void OnHotkeyListItemDeselected( wxListEvent& event ){ event.Skip(); }
469: virtual void OnHotkeyListItemSelected( wxListEvent& event ){ event.Skip(); }
470: virtual void OnAssignHotkeyButtonClick( wxCommandEvent& event ){ event.Skip(); }
471: virtual void OnRemoveHotkeyButtonClick( wxCommandEvent& event ){ event.Skip(); }
472: virtual void OnCancelButtonClick( wxCommandEvent& event ){ event.Skip(); }
473: virtual void OnOKButtonClick( wxCommandEvent& event ){ event.Skip(); }
474:
475:
476: public:
477: wxPanel* DefaultKeyfilesPage;
478: wxPanel* HotkeysPage;
479: PreferencesDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Preferences"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
480: ~PreferencesDialogBase();
481:
482: };
483:
484: ///////////////////////////////////////////////////////////////////////////////
485: /// Class VolumePropertiesDialogBase
486: ///////////////////////////////////////////////////////////////////////////////
487: class VolumePropertiesDialogBase : public wxDialog
488: {
489: private:
490:
491: protected:
492: wxListCtrl* PropertiesListCtrl;
493: wxStdDialogButtonSizer* StdButtons;
494: wxButton* StdButtonsOK;
495:
496: public:
497: VolumePropertiesDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Volume Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE );
498: ~VolumePropertiesDialogBase();
499:
500: };
501:
502: ///////////////////////////////////////////////////////////////////////////////
503: /// Class EncryptionOptionsWizardPageBase
504: ///////////////////////////////////////////////////////////////////////////////
505: class EncryptionOptionsWizardPageBase : public WizardPage
506: {
507: private:
508:
509: protected:
510: wxChoice* EncryptionAlgorithmChoice;
511: wxButton* TestButton;
512: wxStaticText* EncryptionAlgorithmStaticText;
513: wxHyperlinkCtrl* EncryptionAlgorithmHyperlink;
514:
515: wxButton* BenchmarkButton;
516: wxChoice* HashChoice;
517: wxHyperlinkCtrl* HashHyperlink;
518:
519: // Virtual event handlers, overide them in your derived class
520: virtual void OnEncryptionAlgorithmSelected( wxCommandEvent& event ){ event.Skip(); }
521: virtual void OnTestButtonClick( wxCommandEvent& event ){ event.Skip(); }
522: virtual void OnEncryptionAlgorithmHyperlinkClick( wxHyperlinkEvent& event ){ event.Skip(); }
523: virtual void OnBenchmarkButtonClick( wxCommandEvent& event ){ event.Skip(); }
524: virtual void OnHashHyperlinkClick( wxHyperlinkEvent& event ){ event.Skip(); }
525:
526:
527: public:
528: EncryptionOptionsWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
529: ~EncryptionOptionsWizardPageBase();
530:
531: };
532:
533: ///////////////////////////////////////////////////////////////////////////////
534: /// Class InfoWizardPageBase
535: ///////////////////////////////////////////////////////////////////////////////
536: class InfoWizardPageBase : public WizardPage
537: {
538: private:
539:
540: protected:
541: wxStaticText* InfoStaticText;
542:
543: public:
544: InfoWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
545: ~InfoWizardPageBase();
546:
547: };
548:
549: ///////////////////////////////////////////////////////////////////////////////
550: /// Class KeyfilesPanelBase
551: ///////////////////////////////////////////////////////////////////////////////
552: class KeyfilesPanelBase : public wxPanel
553: {
554: private:
555:
556: protected:
557: wxListCtrl* KeyfilesListCtrl;
558: wxButton* AddFilesButton;
559: wxButton* AddDirectoryButton;
560: wxButton* RemoveButton;
561: wxButton* RemoveAllButton;
562:
563: // Virtual event handlers, overide them in your derived class
564: virtual void OnListItemDeselected( wxListEvent& event ){ event.Skip(); }
565: virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }
566: virtual void OnListSizeChanged( wxSizeEvent& event ){ event.Skip(); }
567: virtual void OnAddFilesButtonClick( wxCommandEvent& event ){ event.Skip(); }
568: virtual void OnAddDirectoryButtonClick( wxCommandEvent& event ){ event.Skip(); }
569: virtual void OnRemoveButtonClick( wxCommandEvent& event ){ event.Skip(); }
570: virtual void OnRemoveAllButtonClick( wxCommandEvent& event ){ event.Skip(); }
571:
572:
573: public:
574: KeyfilesPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
575: ~KeyfilesPanelBase();
576:
577: };
578:
579: ///////////////////////////////////////////////////////////////////////////////
580: /// Class ProgressWizardPageBase
581: ///////////////////////////////////////////////////////////////////////////////
582: class ProgressWizardPageBase : public WizardPage
583: {
584: private:
585:
586: protected:
587: wxBoxSizer* ProgressSizer;
588: wxGauge* ProgressGauge;
589: wxButton* AbortButton;
590: wxStaticText* InfoStaticText;
591:
592: // Virtual event handlers, overide them in your derived class
593: virtual void OnAbortButtonClick( wxCommandEvent& event ){ event.Skip(); }
594:
595:
596: public:
597: ProgressWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
598: ~ProgressWizardPageBase();
599:
600: };
601:
602: ///////////////////////////////////////////////////////////////////////////////
603: /// Class SelectDirectoryWizardPageBase
604: ///////////////////////////////////////////////////////////////////////////////
605: class SelectDirectoryWizardPageBase : public WizardPage
606: {
607: private:
608:
609: protected:
610: wxTextCtrl* DirectoryTextCtrl;
611: wxButton* BrowseButton;
612: wxStaticText* InfoStaticText;
613:
614: // Virtual event handlers, overide them in your derived class
615: virtual void OnDirectoryTextChanged( wxCommandEvent& event ){ event.Skip(); }
616: virtual void OnBrowseButtonClick( wxCommandEvent& event ){ event.Skip(); }
617:
618:
619: public:
620: SelectDirectoryWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 200,65 ), long style = wxTAB_TRAVERSAL );
621: ~SelectDirectoryWizardPageBase();
622:
623: };
624:
625: ///////////////////////////////////////////////////////////////////////////////
626: /// Class SingleChoiceWizardPageBase
627: ///////////////////////////////////////////////////////////////////////////////
628: class SingleChoiceWizardPageBase : public WizardPage
629: {
630: private:
631:
632: protected:
633: wxBoxSizer* OuterChoicesSizer;
634: wxBoxSizer* ChoicesSizer;
635: wxStaticText* InfoStaticText;
636:
637: public:
638: SingleChoiceWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
639: ~SingleChoiceWizardPageBase();
640:
641: };
642:
643: ///////////////////////////////////////////////////////////////////////////////
644: /// Class TravelerMountOptionsWizardPageBase
645: ///////////////////////////////////////////////////////////////////////////////
646: class TravelerMountOptionsWizardPageBase : public WizardPage
647: {
648: private:
649:
650: protected:
651: wxTextCtrl* VolumePathTextCtrl;
652: wxButton* SelectVolumeButton;
653: wxChoice* MountPointChoice;
654: wxCheckBox* BackgroundTaskCheckBox;
655: wxCheckBox* OpenExplorerCheckBox;
656: wxCheckBox* MountReadOnlyCheckBox;
657: wxCheckBox* CachePasswordCheckBox;
658: wxStaticText* InfoStaticText;
659:
660: // Virtual event handlers, overide them in your derived class
661: virtual void OnVolumePathTextChanged( wxCommandEvent& event ){ event.Skip(); }
662: virtual void OnSelectVolumeButtonClick( wxCommandEvent& event ){ event.Skip(); }
663:
664:
665: public:
666: TravelerMountOptionsWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
667: ~TravelerMountOptionsWizardPageBase();
668:
669: };
670:
671: ///////////////////////////////////////////////////////////////////////////////
672: /// Class VolumeCreationIntroWizardPageBase
673: ///////////////////////////////////////////////////////////////////////////////
674: class VolumeCreationIntroWizardPageBase : public WizardPage
675: {
676: private:
677:
678: protected:
679:
680: wxRadioButton* StandardVolumeRadioButton;
681: wxRadioButton* HiddenVolumeRadioButton;
682:
683: wxHyperlinkCtrl* HiddenVolumeHyperlink;
684:
685: wxStaticText* InfoStaticText;
686:
687:
688: // Virtual event handlers, overide them in your derived class
689: virtual void OnHiddenVolumeHyperlinkClick( wxHyperlinkEvent& event ){ event.Skip(); }
690:
691:
692: public:
693: VolumeCreationIntroWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
694: ~VolumeCreationIntroWizardPageBase();
695:
696: };
697:
698: ///////////////////////////////////////////////////////////////////////////////
699: /// Class VolumeCreationProgressWizardPageBase
700: ///////////////////////////////////////////////////////////////////////////////
701: class VolumeCreationProgressWizardPageBase : public WizardPage
702: {
703: private:
704:
705: protected:
706: wxStaticText* RandomPoolSampleStaticText;
707: wxCheckBox* DisplayKeysCheckBox;
708: wxStaticText* HeaderKeySampleStaticText;
709: wxStaticText* MasterKeySampleStaticText;
710: wxGauge* ProgressGauge;
711: wxButton* AbortButton;
712: wxStaticText* m_staticText31;
713: wxPanel* m_panel12;
714: wxStaticText* SizeDoneStaticText;
715: wxStaticText* m_staticText311;
716: wxPanel* m_panel121;
717: wxStaticText* SpeedStaticText;
718: wxStaticText* m_staticText312;
719: wxPanel* m_panel122;
720: wxStaticText* TimeLeftStaticText;
721:
722: wxStaticText* InfoStaticText;
723:
724: // Virtual event handlers, overide them in your derived class
725: virtual void OnDisplayKeysCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
726: virtual void OnAbortButtonClick( wxCommandEvent& event ){ event.Skip(); }
727:
728:
729: public:
730: VolumeCreationProgressWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
731: ~VolumeCreationProgressWizardPageBase();
732:
733: };
734:
735: ///////////////////////////////////////////////////////////////////////////////
736: /// Class VolumeLocationWizardPageBase
737: ///////////////////////////////////////////////////////////////////////////////
738: class VolumeLocationWizardPageBase : public WizardPage
739: {
740: private:
741:
742: protected:
743:
744: wxComboBox* VolumePathComboBox;
745:
746: wxCheckBox* NoHistoryCheckBox;
747: wxButton* SelectFileButton;
748: wxButton* SelectDeviceButton;
749:
750: wxStaticText* InfoStaticText;
751:
752: // Virtual event handlers, overide them in your derived class
753: virtual void OnVolumePathTextChanged( wxCommandEvent& event ){ event.Skip(); }
754: virtual void OnNoHistoryCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
755: virtual void OnSelectFileButtonClick( wxCommandEvent& event ){ event.Skip(); }
756: virtual void OnSelectDeviceButtonClick( wxCommandEvent& event ){ event.Skip(); }
757:
758:
759: public:
760: VolumeLocationWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
761: ~VolumeLocationWizardPageBase();
762:
763: };
764:
765: ///////////////////////////////////////////////////////////////////////////////
766: /// Class VolumeFormatOptionsWizardPageBase
767: ///////////////////////////////////////////////////////////////////////////////
768: class VolumeFormatOptionsWizardPageBase : public WizardPage
769: {
770: private:
771:
772: protected:
773: wxStaticText* m_staticText43;
774: wxChoice* FilesystemTypeChoice;
775: wxCheckBox* QuickFormatCheckBox;
776:
777: wxStaticText* InfoStaticText;
778:
779: // Virtual event handlers, overide them in your derived class
780: virtual void OnFilesystemTypeSelected( wxCommandEvent& event ){ event.Skip(); }
781: virtual void OnQuickFormatCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
782:
783:
784: public:
785: VolumeFormatOptionsWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
786: ~VolumeFormatOptionsWizardPageBase();
787:
788: };
789:
790: ///////////////////////////////////////////////////////////////////////////////
791: /// Class VolumePasswordPanelBase
792: ///////////////////////////////////////////////////////////////////////////////
793: class VolumePasswordPanelBase : public wxPanel
794: {
795: private:
796:
797: protected:
798: wxGridBagSizer* GridBagSizer;
799: wxStaticText* PasswordStaticText;
800: wxTextCtrl* PasswordTextCtrl;
801: wxStaticText* ConfirmPasswordStaticText;
802: wxTextCtrl* ConfirmPasswordTextCtrl;
803: wxCheckBox* CacheCheckBox;
804: wxCheckBox* DisplayPasswordCheckBox;
805: wxCheckBox* UseKeyfilesCheckBox;
806: wxButton* KeyfilesButton;
807: wxBoxSizer* Pkcs5PrfSizer;
808: wxStaticText* Pkcs5PrfStaticText;
809: wxChoice* Pkcs5PrfChoice;
810: wxBoxSizer* PasswordPlaceholderSizer;
811:
812: // Virtual event handlers, overide them in your derived class
813: virtual void OnTextChanged( wxCommandEvent& event ){ event.Skip(); }
814: virtual void OnDisplayPasswordCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
815: virtual void OnUseKeyfilesCheckBoxClick( wxCommandEvent& event ){ event.Skip(); }
816: virtual void OnKeyfilesButtonClick( wxCommandEvent& event ){ event.Skip(); }
817: virtual void OnKeyfilesButtonRightClick( wxMouseEvent& event ){ event.Skip(); }
818:
819:
820: public:
821: VolumePasswordPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
822: ~VolumePasswordPanelBase();
823:
824: };
825:
826: ///////////////////////////////////////////////////////////////////////////////
827: /// Class VolumePasswordWizardPageBase
828: ///////////////////////////////////////////////////////////////////////////////
829: class VolumePasswordWizardPageBase : public WizardPage
830: {
831: private:
832:
833: protected:
834: wxBoxSizer* PasswordPanelSizer;
835: wxStaticText* InfoStaticText;
836:
837: public:
838: VolumePasswordWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
839: ~VolumePasswordWizardPageBase();
840:
841: };
842:
843: ///////////////////////////////////////////////////////////////////////////////
844: /// Class VolumeSizeWizardPageBase
845: ///////////////////////////////////////////////////////////////////////////////
846: class VolumeSizeWizardPageBase : public WizardPage
847: {
848: private:
849:
850: protected:
851:
852: wxTextCtrl* VolumeSizeTextCtrl;
853: wxChoice* VolumeSizePrefixChoice;
854:
855: wxStaticText* FreeSpaceStaticText;
856:
857: wxStaticText* InfoStaticText;
858:
859: // Virtual event handlers, overide them in your derived class
860: virtual void OnVolumeSizeTextChanged( wxCommandEvent& event ){ event.Skip(); }
861: virtual void OnVolumeSizePrefixSelected( wxCommandEvent& event ){ event.Skip(); }
862:
863:
864: public:
865: VolumeSizeWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
866: ~VolumeSizeWizardPageBase();
867:
868: };
869:
870: } // namespace TrueCrypt
871:
872: #endif //__Forms__
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.