10
10
**************************************************************/
12
12
#ifndef THREAD_SEARCH_CONF_PANEL_H
13
#define THREAD_SEARCH_CONF_PANEL_H
13
#define THREAD_SEARCH_CONF_PANEL_H
15
15
// begin wxGlade: ::dependencies
18
18
// begin wxGlade: ::extracode
22
#include <wx/string.h>
22
#include <wx/string.h>
24
24
#include "configurationpanel.h"
35
35
class DirectoryParamsPanel;
38
38
class ThreadSearchConfPanel: public cbConfigurationPanel {
40
40
// begin wxGlade: ThreadSearchConfPanel::ids
44
44
ThreadSearchConfPanel(ThreadSearch& threadSearchPlugin, wxWindow* parent = NULL, wxWindowID id = -1);
46
/** Returns the title displayed in the left column of the "Settings/Environment" dialog. */
47
wxString GetTitle() const {return wxT("Thread search");}
49
/** Returns string used to build active/inactive images path in the left column
50
* of the "Settings/Environment" dialog.
52
wxString GetBitmapBaseName() const {return wxT("ThreadSearch");}
54
/** Called automatically when user clicks on OK
58
/** Called automatically when user clicks on Cancel
46
/** Returns the title displayed in the left column of the "Settings/Environment" dialog. */
47
wxString GetTitle() const {return _("Thread search");}
49
/** Returns string used to build active/inactive images path in the left column
50
* of the "Settings/Environment" dialog.
52
wxString GetBitmapBaseName() const {return wxT("ThreadSearch");}
54
/** Called automatically when user clicks on OK
58
/** Called automatically when user clicks on Cancel
63
63
// begin wxGlade: ThreadSearchConfPanel::methods
71
71
// begin wxGlade: ThreadSearchConfPanel::attributes
72
wxStaticBox* SizerThreadSearchLayout_staticbox;
73
wxStaticBox* SizerListControlOptions_staticbox;
74
wxStaticBox* SizerThreadSearchLayoutGlobal_staticbox;
72
wxStaticBox* SizerThreadSearchLayout_staticbox;
73
wxStaticBox* SizerListControlOptions_staticbox;
74
wxStaticBox* SizerThreadSearchLayoutGlobal_staticbox;
75
75
wxStaticBox* SizerThreadSearchOptions_staticbox;
76
76
wxStaticBox* SizerOptions_staticbox;
77
77
wxStaticBox* SizerSearchIn_staticbox;
82
82
wxCheckBox* m_pChkMatchCase;
83
83
wxCheckBox* m_pChkRegExp;
84
84
wxCheckBox* m_pChkThreadSearchEnable;
85
wxCheckBox* m_pChkUseDefaultOptionsForThreadSearch;
86
wxCheckBox* m_pChkShowThreadSearchToolBar;
87
wxCheckBox* m_pChkShowThreadSearchWidgets;
88
wxCheckBox* m_pChkShowCodePreview;
89
wxCheckBox* m_pChkDisplayLogHeaders;
90
wxCheckBox* m_pChkDrawLogLines;
91
wxRadioBox* m_pRadPanelManagement;
92
wxRadioBox* m_pRadLoggerType;
85
wxCheckBox* m_pChkUseDefaultOptionsForThreadSearch;
86
wxCheckBox* m_pChkShowMissingFilesError;
87
wxCheckBox* m_pChkShowCantOpenFileError;
88
wxCheckBox* m_pChkDeletePreviousResults;
89
wxCheckBox* m_pChkShowThreadSearchToolBar;
90
wxCheckBox* m_pChkShowThreadSearchWidgets;
91
wxCheckBox* m_pChkShowCodePreview;
92
wxCheckBox* m_pChkDisplayLogHeaders;
93
wxCheckBox* m_pChkDrawLogLines;
94
wxRadioBox* m_pRadPanelManagement;
95
wxRadioBox* m_pRadLoggerType;
93
96
wxRadioBox* m_pRadSplitterWndMode;
94
97
wxRadioBox* m_pRadSortBy;
97
100
DECLARE_EVENT_TABLE();
100
/** The m_pChkThreadSearchEnable checkbox is used to enable/disable 'Find occurrences'
101
* contextual menu integration.
102
* This method disables the m_pChkUseDefaultOptionsForThreadSearch checkbox if
103
* 'Find occurrences' is not present in the contextual menu.
103
/** The m_pChkThreadSearchEnable checkbox is used to enable/disable 'Find occurrences'
104
* contextual menu integration.
105
* This method disables the m_pChkUseDefaultOptionsForThreadSearch checkbox if
106
* 'Find occurrences' is not present in the contextual menu.
105
108
void OnThreadSearchEnable(wxCommandEvent &event); // wxGlade: <event_handler>
106
void OnChkShowThreadSearchToolBarClick(wxCommandEvent &event); // wxGlade: <event_handler>
109
void OnChkShowThreadSearchToolBarClick(wxCommandEvent &event); // wxGlade: <event_handler>
107
110
void OnChkCodePreview(wxCommandEvent &event); // wxGlade: <event_handler>
108
void OnChkShowThreadSearchWidgetsClick(wxCommandEvent &event); // wxGlade: <event_handler>
111
void OnChkShowThreadSearchWidgetsClick(wxCommandEvent &event); // wxGlade: <event_handler>
112
void OnChkShowMissingFilesErrorClick(wxCommandEvent &event); // wxGlade: <event_handler>
113
void OnChkShowCantOpenFileErrorClick(wxCommandEvent &event); // wxGlade: <event_handler>
109
115
}; // wxGlade: end class