~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/plugins/contrib/ThreadSearch/ThreadSearchConfPanel.h

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 **************************************************************/
11
11
 
12
12
#ifndef THREAD_SEARCH_CONF_PANEL_H
13
 
#define THREAD_SEARCH_CONF_PANEL_H
14
 
 
 
13
#define THREAD_SEARCH_CONF_PANEL_H
 
14
 
15
15
// begin wxGlade: ::dependencies
16
16
// end wxGlade
17
 
 
 
17
 
18
18
// begin wxGlade: ::extracode
19
19
 
20
20
// end wxGlade
21
21
 
22
 
#include <wx/string.h>
 
22
#include <wx/string.h>
23
23
 
24
24
#include "configurationpanel.h"
25
25
 
26
 
 
27
 
class wxWindow;
28
 
class wxRadioBox;
29
 
class wxCheckBox;
30
 
class wxStaticBox;
31
 
class wxCommandEvent;
32
 
 
33
 
class ThreadSearch;
34
 
class SearchInPanel;
 
26
 
 
27
class wxWindow;
 
28
class wxRadioBox;
 
29
class wxCheckBox;
 
30
class wxStaticBox;
 
31
class wxCommandEvent;
 
32
 
 
33
class ThreadSearch;
 
34
class SearchInPanel;
35
35
class DirectoryParamsPanel;
36
 
 
 
36
 
37
37
 
38
38
class ThreadSearchConfPanel: public cbConfigurationPanel {
39
39
public:
40
40
    // begin wxGlade: ThreadSearchConfPanel::ids
41
41
    // end wxGlade
42
42
 
43
 
        /** Constructor. */
 
43
    /** Constructor. */
44
44
    ThreadSearchConfPanel(ThreadSearch& threadSearchPlugin, wxWindow* parent = NULL, wxWindowID id = -1);
45
45
 
46
 
        /** Returns the title displayed in the left column of the "Settings/Environment" dialog. */
47
 
        wxString GetTitle()          const {return wxT("Thread search");}
48
 
 
49
 
        /** Returns string used to build active/inactive images path in the left column
50
 
          * of the "Settings/Environment" dialog.
51
 
          */
52
 
        wxString GetBitmapBaseName() const {return wxT("ThreadSearch");}
53
 
 
54
 
        /** Called automatically when user clicks on OK
55
 
          */
56
 
        void OnApply();
57
 
 
58
 
        /** Called automatically when user clicks on Cancel
59
 
          */
60
 
        void OnCancel() {}
 
46
    /** Returns the title displayed in the left column of the "Settings/Environment" dialog. */
 
47
    wxString GetTitle()          const {return _("Thread search");}
 
48
 
 
49
    /** Returns string used to build active/inactive images path in the left column
 
50
      * of the "Settings/Environment" dialog.
 
51
      */
 
52
    wxString GetBitmapBaseName() const {return wxT("ThreadSearch");}
 
53
 
 
54
    /** Called automatically when user clicks on OK
 
55
      */
 
56
    void OnApply();
 
57
 
 
58
    /** Called automatically when user clicks on Cancel
 
59
      */
 
60
    void OnCancel() {}
61
61
 
62
62
private:
63
63
    // begin wxGlade: ThreadSearchConfPanel::methods
69
69
 
70
70
protected:
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;
95
98
    // end wxGlade
97
100
    DECLARE_EVENT_TABLE();
98
101
 
99
102
public:
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.
104
 
          */
 
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.
 
107
      */
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>
 
114
 
109
115
}; // wxGlade: end class
110
116
 
111
117