File: findinfiles_dlg.h

package info (click to toggle)
codelite 17.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 136,204 kB
  • sloc: cpp: 491,547; ansic: 280,393; php: 10,259; sh: 8,930; lisp: 7,664; vhdl: 6,518; python: 6,020; lex: 4,920; yacc: 3,123; perl: 2,385; javascript: 1,715; cs: 1,193; xml: 1,110; makefile: 804; cobol: 741; sql: 709; ruby: 620; f90: 566; ada: 534; asm: 464; fortran: 350; objc: 289; tcl: 258; java: 157; erlang: 61; pascal: 51; ml: 49; awk: 44; haskell: 36
file content (150 lines) | stat: -rw-r--r-- 6,208 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: findinfiles_dlg.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////

#ifndef _CODELITE_FORMBUILDER_FINDINFILES_DLG_BASE_CLASSES_H
#define _CODELITE_FORMBUILDER_FINDINFILES_DLG_BASE_CLASSES_H

// clang-format off
#include <wx/settings.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
#include <wx/artprov.h>
#include <wx/sizer.h>
#include <wx/panel.h>
#include <wx/stattext.h>
#include <wx/combobox.h>
#include <wx/arrstr.h>
#include "clThemedComboBox.hpp"
#include <wx/button.h>
#include <wx/gbsizer.h>
#include <wx/statbox.h>
#include <wx/checkbox.h>
#include <wx/checklst.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/treebook.h>
#endif

#ifdef WXC_FROM_DIP
#undef WXC_FROM_DIP
#endif
#if wxVERSION_NUMBER >= 3100
#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
#else
#define WXC_FROM_DIP(x) x
#endif

// clang-format on

class FindInFilesDialogBase : public wxDialog
{
protected:
    wxPanel* m_panelMainPanel;
    wxStaticText* m_staticText1;
    clThemedComboBox* m_findString;
    wxButton* m_find;
    wxStaticText* m_staticText102;
    clThemedComboBox* m_replaceString;
    wxButton* m_replaceAll;
    wxStaticText* m_staticText3;
    clThemedComboBox* m_fileTypes;
    wxStaticText* m_staticText2;
    clThemedComboBox* m_comboBoxWhere;
    wxButton* m_btnAddPath;
    wxStaticText* m_staticText5;
    clThemedComboBox* m_comboBoxEncoding;
    wxButton* m_cancel;
    wxCheckBox* m_matchCase;
    wxCheckBox* m_matchWholeWord;
    wxCheckBox* m_regualrExpression;
    wxCheckBox* m_checkBoxPipeForGrep;
    wxCheckBox* m_checkBoxSaveFilesBeforeSearching;
    wxCheckBox* m_checkBoxFollowSymlinks;
    wxCheckBox* m_checkBoxIncludeHiddenFolders;
    wxCheckBox* m_checkBoxTODO;
    wxCheckBox* m_checkBoxATTN;
    wxCheckBox* m_checkBoxBUG;
    wxCheckBox* m_checkBoxFIXME;

protected:
    virtual void OnFindEnter(wxCommandEvent& event) { event.Skip(); }
    virtual void OnFind(wxCommandEvent& event) { event.Skip(); }
    virtual void OnFindWhatUI(wxUpdateUIEvent& event) { event.Skip(); }
    virtual void OnReplaceEnter(wxCommandEvent& event) { event.Skip(); }
    virtual void OnReplace(wxCommandEvent& event) { event.Skip(); }
    virtual void OnReplaceUI(wxUpdateUIEvent& event) { event.Skip(); }
    virtual void OnAddPath(wxCommandEvent& event) { event.Skip(); }
    virtual void OnButtonClose(wxCommandEvent& event) { event.Skip(); }
    virtual void OnRegex(wxCommandEvent& event) { event.Skip(); }
    virtual void OnTODO(wxCommandEvent& event) { event.Skip(); }
    virtual void OnATTN(wxCommandEvent& event) { event.Skip(); }
    virtual void OnBUG(wxCommandEvent& event) { event.Skip(); }
    virtual void OnFIXME(wxCommandEvent& event) { event.Skip(); }

public:
    wxStaticText* GetStaticText1() { return m_staticText1; }
    clThemedComboBox* GetFindString() { return m_findString; }
    wxButton* GetFind() { return m_find; }
    wxStaticText* GetStaticText102() { return m_staticText102; }
    clThemedComboBox* GetReplaceString() { return m_replaceString; }
    wxButton* GetReplaceAll() { return m_replaceAll; }
    wxStaticText* GetStaticText3() { return m_staticText3; }
    clThemedComboBox* GetFileTypes() { return m_fileTypes; }
    wxStaticText* GetStaticText2() { return m_staticText2; }
    clThemedComboBox* GetComboBoxWhere() { return m_comboBoxWhere; }
    wxButton* GetBtnAddPath() { return m_btnAddPath; }
    wxStaticText* GetStaticText5() { return m_staticText5; }
    clThemedComboBox* GetComboBoxEncoding() { return m_comboBoxEncoding; }
    wxButton* GetCancel() { return m_cancel; }
    wxPanel* GetPanelMainPanel() { return m_panelMainPanel; }
    wxCheckBox* GetMatchCase() { return m_matchCase; }
    wxCheckBox* GetMatchWholeWord() { return m_matchWholeWord; }
    wxCheckBox* GetRegualrExpression() { return m_regualrExpression; }
    wxCheckBox* GetCheckBoxPipeForGrep() { return m_checkBoxPipeForGrep; }
    wxCheckBox* GetCheckBoxSaveFilesBeforeSearching() { return m_checkBoxSaveFilesBeforeSearching; }
    wxCheckBox* GetCheckBoxFollowSymlinks() { return m_checkBoxFollowSymlinks; }
    wxCheckBox* GetCheckBoxIncludeHiddenFolders() { return m_checkBoxIncludeHiddenFolders; }
    wxCheckBox* GetCheckBoxTODO() { return m_checkBoxTODO; }
    wxCheckBox* GetCheckBoxATTN() { return m_checkBoxATTN; }
    wxCheckBox* GetCheckBoxBUG() { return m_checkBoxBUG; }
    wxCheckBox* GetCheckBoxFIXME() { return m_checkBoxFIXME; }
    FindInFilesDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Find In Files"),
                          const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1),
                          long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
    virtual ~FindInFilesDialogBase();
};

class FindInFilesLocationsDlgBase : public wxDialog
{
protected:
    wxCheckListBox* m_checkListBoxLocations;
    wxButton* m_buttonAdd;
    wxButton* m_buttonDelete;
    wxStdDialogButtonSizer* m_stdBtnSizer113;
    wxButton* m_button115;
    wxButton* m_button117;

protected:
    virtual void OnAddPath(wxCommandEvent& event) { event.Skip(); }
    virtual void OnDeletePath(wxCommandEvent& event) { event.Skip(); }
    virtual void OnDeletePathUI(wxUpdateUIEvent& event) { event.Skip(); }

public:
    wxCheckListBox* GetCheckListBoxLocations() { return m_checkListBoxLocations; }
    wxButton* GetButtonAdd() { return m_buttonAdd; }
    wxButton* GetButtonDelete() { return m_buttonDelete; }
    FindInFilesLocationsDlgBase(wxWindow* parent, wxWindowID id = wxID_ANY,
                                const wxString& title = _("Edit Search Locations"),
                                const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1),
                                long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
    virtual ~FindInFilesLocationsDlgBase();
};

#endif