Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends

ThreadSearchView Class Reference

Collaboration diagram for ThreadSearchView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void ApplySplitterSettings (bool showCodePreview, long splitterMode)
void ApplySplitterSettings (bool showCodePreview, long splitterMode)
virtual void Clear ()
int GetSashPosition () const
int GetSashPosition () const
wxArrayString GetSearchHistory () const
wxArrayString GetSearchHistory () const
ThreadSearchGetThreadSearchPlugin ()
bool IsSearchRunning ()
bool IsSearchRunning ()
void OnBtnOptionsClick (wxCommandEvent &event)
void OnBtnOptionsClick (wxCommandEvent &event)
void OnBtnSearchClick (wxCommandEvent &event)
void OnBtnSearchClick (wxCommandEvent &event)
void OnBtnSearchDirectoryFiles (wxCommandEvent &event)
void OnBtnSearchOpenFiles (wxCommandEvent &event)
void OnBtnSearchProjectFiles (wxCommandEvent &event)
void OnBtnSearchTargetFiles (wxCommandEvent &event)
void OnBtnSearchWorkspaceFiles (wxCommandEvent &event)
void OnBtnShowDirItemsClick (wxCommandEvent &event)
void OnBtnShowDirItemsClick (wxCommandEvent &event)
void OnCboSearchExprEnter (wxCommandEvent &event)
void OnCboSearchExprEnter (wxCommandEvent &event)
void OnChkSearchDirectoryFiles (wxCommandEvent &event)
void OnChkSearchDirHidden (wxCommandEvent &event)
void OnChkSearchDirHidden (wxCommandEvent &event)
void OnChkSearchDirRecurse (wxCommandEvent &event)
void OnChkSearchDirRecurse (wxCommandEvent &event)
void OnChkSearchOpenFiles (wxCommandEvent &event)
void OnChkSearchSnippetFiles (wxCommandEvent &event)
void OnChkSearchWorkspaceFiles (wxCommandEvent &event)
void OnContextMenu (wxContextMenuEvent &event)
void OnContextMenu (wxContextMenuEvent &event)
void OnLoggerClick (const wxString &file, long line)
void OnLoggerClick (const wxString &file, long line)
void OnLoggerDoubleClick (const wxString &file, long line)
void OnLoggerDoubleClick (const wxString &file, long line)
void OnMarginClick (wxScintillaEvent &event)
void OnMarginClick (wxScintillaEvent &event)
void OnSplitterDoubleClick (wxSplitterEvent &event)
void OnSplitterDoubleClick (wxSplitterEvent &event)
void OnThreadExit ()
void OnThreadExit ()
void OnThreadSearchErrorEvent (const ThreadSearchEvent &event)
void OnThreadSearchErrorEvent (const ThreadSearchEvent &event)
void OnTmrListCtrlUpdate (wxTimerEvent &event)
void OnTmrListCtrlUpdate (wxTimerEvent &event)
void OnTxtSearchDirPathTextEvent (wxCommandEvent &event)
void OnTxtSearchDirPathTextEvent (wxCommandEvent &event)
void OnTxtSearchMaskTextEvent (wxCommandEvent &event)
void OnTxtSearchMaskTextEvent (wxCommandEvent &event)
void PostThreadSearchEvent (const ThreadSearchEvent &event)
void PostThreadSearchEvent (const ThreadSearchEvent &event)
void SetLoggerType (ThreadSearchLoggerBase::eLoggerTypes lgrType)
void SetLoggerType (ThreadSearchLoggerBase::eLoggerTypes lgrType)
void SetSashPosition (int position, const bool redraw=true)
void SetSashPosition (int position, const bool redraw=true)
void SetSearchHistory (const wxArrayString &searchPatterns)
void SetSearchHistory (const wxArrayString &searchPatterns)
void SetToolBar (wxToolBar *pToolBar)
void SetToolBar (wxToolBar *pToolBar)
void ShowSearchControls (bool show)
void ShowSearchControls (bool show)
void ThreadedSearch (const ThreadSearchFindData &aFindData)
void ThreadedSearch (const ThreadSearchFindData &aFindData)
 ThreadSearchView (ThreadSearch &threadSearchPlugin)
 ThreadSearchView (ThreadSearch &threadSearchPlugin)
void Update ()
void Update ()
bool UpdatePreview (const wxString &file, long line)
bool UpdatePreview (const wxString &file, long line)
 ~ThreadSearchView ()
 ~ThreadSearchView ()

Protected Types

enum  eSearchButtonLabel {
  search, cancel, skip, search,
  cancel, skip
}
enum  eSearchButtonLabel {
  search, cancel, skip, search,
  cancel, skip
}

Protected Member Functions

void AddExpressionToSearchCombos (const wxString &expression)
void AddExpressionToSearchCombos (const wxString &expression)
void EnableControls (bool enable)
void EnableControls (bool enable)
void UpdateSearchButtons (bool enable, eSearchButtonLabel label=skip)
void UpdateSearchButtons (bool enable, eSearchButtonLabel label=skip)

Protected Attributes

wxButton * m_pBtnOptions
wxBitmapButton * m_pBtnOptions
wxButton * m_pBtnSearch
wxBitmapButton * m_pBtnSearch
wxButton * m_pBtnShowDirItems
wxBitmapButton * m_pBtnShowDirItems
wxComboBox * m_pCboSearchExpr
ThreadSearchLoggerBasem_pLogger
DirectoryParamsPanelm_pPnlDirParams
wxPanel * m_pPnlListLog
wxPanel * m_pPnlPreview
SearchInPanelm_pPnlSearchIn
cbStyledTextCtrlm_pSearchPreview
wxStaticBoxSizer * m_pSizerSearchDirItems
wxStaticBox * m_pSizerSearchDirItems_staticbox
wxBoxSizer * m_pSizerSearchItems
wxSplitterWindow * m_pSplitter
wxStaticLine * m_pStaticLine1
wxStaticLine * m_pStaticLine2
wxStaticText * m_pStaTxtSearchIn
wxToolBar * m_pToolBar

Private Member Functions

bool ClearThreadSearchEventsArray ()
bool ClearThreadSearchEventsArray ()
void do_layout ()
void do_layout ()
void set_properties ()
void set_properties ()
void SetFoldingIndicator (int id)
void SetFoldingIndicator (int id)
void SetMarkerStyle (int marker, int markerType, wxColor fore, wxColor back)
void SetMarkerStyle (int marker, int markerType, wxColor fore, wxColor back)
bool StopThread ()
bool StopThread ()
void UnderlineFoldedLines (bool underline)
void UnderlineFoldedLines (bool underline)

Private Attributes

bool m_bNotebookSizerSet
wxMutex m_MutexSearchEventsArray
ThreadSearchThreadm_pFindThread
wxWindow * m_pParent
wxDateTime m_PreviewFileDate
wxString m_PreviewFilePath
wxFrame * m_pTSFrame
long m_StoppingThread
wxArrayPtrVoid m_ThreadSearchEventsArray
ThreadSearchm_ThreadSearchPlugin
wxTimer m_Timer

Friends

class ThreadSearch

Detailed Description

Definition at line 54 of file ThreadSearchView.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index