Code::Blocks  SVN r11506
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
FindReplaceDlg Class Reference

#include <findreplacedlg.h>

Inheritance diagram for FindReplaceDlg:
Collaboration diagram for FindReplaceDlg:

Public Member Functions

 FindReplaceDlg (wxWindow *parent, const wxString &initial=wxEmptyString, bool hasSelection=false, bool findMode=true, bool findReplaceInFilesOnly=false, bool findReplaceInFilesActive=false)
 
 ~FindReplaceDlg () override
 
wxString GetFindString () const override
 
wxString GetReplaceString () const override
 
bool IsFindInFiles () const override
 
bool GetDeleteOldSearches () const override
 
bool GetSortSearchResult () const override
 
bool GetMatchWord () const override
 
bool GetStartWord () const override
 
bool GetMatchCase () const override
 
bool GetRegEx () const override
 
bool GetAutoWrapSearch () const override
 
bool GetFindUsesSelectedText () const override
 
bool GetStartFile () const override
 
bool GetMultiLine () const override
 
bool GetFixEOLs () const override
 
int GetDirection () const override
 
int GetOrigin () const override
 
int GetScope () const override
 
bool GetRecursive () const override
 
bool GetHidden () const override
 
wxString GetSearchPath () const override
 
wxString GetSearchMask () const override
 
int GetProject () const override
 
int GetTarget () const override
 
bool IsMultiLine () const
 
- Public Member Functions inherited from FindReplaceBase
 FindReplaceBase (cb_optional wxWindow *parent, cb_optional const wxString &initial, cb_optional bool hasSelection)
 
 ~FindReplaceBase () override
 
- Public Member Functions inherited from wxScrollingDialog
 wxScrollingDialog ()
 
 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
 
- Public Member Functions inherited from wxDialog
virtual int ShowModal ()
 

Protected Member Functions

void OnReplaceChange (wxNotebookEvent &event)
 
void OnRegEx (wxCommandEvent &event)
 
void OnActivate (wxActivateEvent &event)
 
void OnMultiChange (wxCommandEvent &event)
 
void OnLimitToChange (wxCommandEvent &event)
 
void OnScopeChange (wxCommandEvent &event)
 
void OnBrowsePath (wxCommandEvent &event)
 
void OnSearchProject (wxCommandEvent &event)
 
void OnDeferredFocus (wxCommandEvent &event)
 
void OnSelectTarget (wxCommandEvent &event)
 

Private Member Functions

void FillComboWithLastValues (wxComboBox *combo, const wxString &configKey)
 
void SaveComboValues (wxComboBox *combo, const wxString &configKey)
 

Private Attributes

bool m_findReplaceInFilesActive
 
bool m_findMode
 
wxWindowm_findPage
 

Detailed Description

Definition at line 16 of file findreplacedlg.h.

Constructor & Destructor Documentation

◆ FindReplaceDlg()

FindReplaceDlg::FindReplaceDlg ( wxWindow parent,
const wxString initial = wxEmptyString,
bool  hasSelection = false,
bool  findMode = true,
bool  findReplaceInFilesOnly = false,
bool  findReplaceInFilesActive = false 
)

◆ ~FindReplaceDlg()

FindReplaceDlg::~FindReplaceDlg ( )
override

Member Function Documentation

◆ FillComboWithLastValues()

void FindReplaceDlg::FillComboWithLastValues ( wxComboBox combo,
const wxString configKey 
)
private

◆ GetAutoWrapSearch()

bool FindReplaceDlg::GetAutoWrapSearch ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 450 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetDeleteOldSearches()

bool FindReplaceDlg::GetDeleteOldSearches ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 400 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetDirection()

int FindReplaceDlg::GetDirection ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 487 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetFindString()

wxString FindReplaceDlg::GetFindString ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 365 of file findreplacedlg.cpp.

References IsFindInFiles(), and IsMultiLine().

◆ GetFindUsesSelectedText()

bool FindReplaceDlg::GetFindUsesSelectedText ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 457 of file findreplacedlg.cpp.

◆ GetFixEOLs()

bool FindReplaceDlg::GetFixEOLs ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 480 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetHidden()

bool FindReplaceDlg::GetHidden ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 513 of file findreplacedlg.cpp.

◆ GetMatchCase()

bool FindReplaceDlg::GetMatchCase ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 436 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetMatchWord()

bool FindReplaceDlg::GetMatchWord ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 413 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetMultiLine()

bool FindReplaceDlg::GetMultiLine ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 473 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetOrigin()

int FindReplaceDlg::GetOrigin ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 494 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetProject()

int FindReplaceDlg::GetProject ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 528 of file findreplacedlg.cpp.

◆ GetRecursive()

bool FindReplaceDlg::GetRecursive ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 508 of file findreplacedlg.cpp.

◆ GetRegEx()

bool FindReplaceDlg::GetRegEx ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 443 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetReplaceString()

wxString FindReplaceDlg::GetReplaceString ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 379 of file findreplacedlg.cpp.

References IsFindInFiles(), and IsMultiLine().

◆ GetScope()

int FindReplaceDlg::GetScope ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 501 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetSearchMask()

wxString FindReplaceDlg::GetSearchMask ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 523 of file findreplacedlg.cpp.

◆ GetSearchPath()

wxString FindReplaceDlg::GetSearchPath ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 518 of file findreplacedlg.cpp.

◆ GetSortSearchResult()

bool FindReplaceDlg::GetSortSearchResult ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 408 of file findreplacedlg.cpp.

◆ GetStartFile()

bool FindReplaceDlg::GetStartFile ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 462 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetStartWord()

bool FindReplaceDlg::GetStartWord ( ) const
overridevirtual

Implements FindReplaceBase.

Definition at line 425 of file findreplacedlg.cpp.

References IsFindInFiles().

◆ GetTarget()

int FindReplaceDlg::GetTarget ( ) const
overridevirtual

◆ IsFindInFiles()

bool FindReplaceDlg::IsFindInFiles ( ) const
overridevirtual

◆ IsMultiLine()

bool FindReplaceDlg::IsMultiLine ( ) const

Definition at line 553 of file findreplacedlg.cpp.

References IsFindInFiles().

Referenced by GetFindString(), GetReplaceString(), OnActivate(), and OnDeferredFocus().

◆ OnActivate()

void FindReplaceDlg::OnActivate ( wxActivateEvent event)
protected

Definition at line 671 of file findreplacedlg.cpp.

References IsFindInFiles(), and IsMultiLine().

◆ OnBrowsePath()

void FindReplaceDlg::OnBrowsePath ( wxCommandEvent event)
protected

Definition at line 589 of file findreplacedlg.cpp.

References _(), ChooseDirectory(), and wxString::IsEmpty().

◆ OnDeferredFocus()

void FindReplaceDlg::OnDeferredFocus ( wxCommandEvent event)
protected

Definition at line 650 of file findreplacedlg.cpp.

References IsFindInFiles(), and IsMultiLine().

◆ OnLimitToChange()

void FindReplaceDlg::OnLimitToChange ( wxCommandEvent event)
protected

Definition at line 745 of file findreplacedlg.cpp.

◆ OnMultiChange()

void FindReplaceDlg::OnMultiChange ( wxCommandEvent event)
protected

◆ OnRegEx()

void FindReplaceDlg::OnRegEx ( wxCommandEvent event)
protected

Definition at line 666 of file findreplacedlg.cpp.

◆ OnReplaceChange()

void FindReplaceDlg::OnReplaceChange ( wxNotebookEvent &  event)
protected

Definition at line 614 of file findreplacedlg.cpp.

References m_findReplaceInFilesActive, and wxID_ANY.

Referenced by FindReplaceDlg(), and ~FindReplaceDlg().

◆ OnScopeChange()

void FindReplaceDlg::OnScopeChange ( wxCommandEvent event)
protected

Definition at line 562 of file findreplacedlg.cpp.

References wxRadioBox::GetSelection(), and m_findPage.

◆ OnSearchProject()

void FindReplaceDlg::OnSearchProject ( wxCommandEvent event)
protected

◆ OnSelectTarget()

void FindReplaceDlg::OnSelectTarget ( wxCommandEvent event)
protected

◆ SaveComboValues()

void FindReplaceDlg::SaveComboValues ( wxComboBox combo,
const wxString configKey 
)
private

Member Data Documentation

◆ m_findMode

bool FindReplaceDlg::m_findMode
private

Definition at line 66 of file findreplacedlg.h.

Referenced by OnMultiChange().

◆ m_findPage

wxWindow* FindReplaceDlg::m_findPage
private

Definition at line 67 of file findreplacedlg.h.

Referenced by OnMultiChange(), OnScopeChange(), and ~FindReplaceDlg().

◆ m_findReplaceInFilesActive

bool FindReplaceDlg::m_findReplaceInFilesActive
private

Definition at line 65 of file findreplacedlg.h.

Referenced by IsFindInFiles(), OnReplaceChange(), and ~FindReplaceDlg().


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