: m_HideRemoveTextOptions(hide_remove_text_options)
92wxPanel::Create( parent,
id, pos,
size, style );
97GetSizer()->SetSizeHints(
this);
151 #if defined(__WXMSW__) 152wxPanel* itemPanel1 =
newwxPanel(
this);
157wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
158itemPanel1->SetSizer(itemBoxSizer2);
160wxFlexGridSizer* itemFlexGridSizer3 =
newwxFlexGridSizer(0, 4, 0, 0);
161itemBoxSizer2->Add(itemFlexGridSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);
163wxStaticText* itemStaticText4 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Between"), wxDefaultPosition, wxDefaultSize, 0 );
164itemFlexGridSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 3);
166wxBoxSizer* itemBoxSizer5 =
newwxBoxSizer(wxHORIZONTAL);
167itemFlexGridSizer3->Add(itemBoxSizer5, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 1);
171itemBoxSizer5->Add(
m_JustAfterBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
175itemBoxSizer5->Add(
m_StartingAtBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
177wxBoxSizer* itemBoxSizer8 =
newwxBoxSizer(wxHORIZONTAL);
178itemFlexGridSizer3->Add(itemBoxSizer8, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 1);
182itemBoxSizer8->Add(
m_StartTextBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
185itemBoxSizer8->Add(
m_StartTextTxt, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
189itemBoxSizer8->Add(
m_StartDigitsBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
200itemFlexGridSizer3->Add(0, 0, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 0);
202wxStaticText* itemStaticText15 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"and"), wxDefaultPosition, wxDefaultSize, 0 );
203itemFlexGridSizer3->Add(itemStaticText15, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 3);
205wxBoxSizer* itemBoxSizer16 =
newwxBoxSizer(wxHORIZONTAL);
206itemFlexGridSizer3->Add(itemBoxSizer16, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 1);
210itemBoxSizer16->Add(
m_UpToBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
214itemBoxSizer16->Add(
m_IncludingBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
216wxBoxSizer* itemBoxSizer19 =
newwxBoxSizer(wxHORIZONTAL);
217itemFlexGridSizer3->Add(itemBoxSizer19, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 1);
221itemBoxSizer19->Add(
m_EndTextBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
224itemBoxSizer19->Add(
m_EndTextTxt, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
228itemBoxSizer19->Add(
m_EndDigitsBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
232itemBoxSizer19->Add(
m_EndLettersBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
239wxBoxSizer* itemBoxSizer25 =
newwxBoxSizer(wxHORIZONTAL);
240itemBoxSizer2->Add(itemBoxSizer25, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 1);
247 m_Case->SetValue(
false);
248itemBoxSizer25->Add(
m_Case, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
252itemBoxSizer25->Add(
m_WholeWord, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3);
254 #if defined(__WXMSW__) 255wxBoxSizer* main_sizer =
newwxBoxSizer(wxHORIZONTAL);
256main_sizer->Add(itemPanel1, 1, wxALL|wxGROW, 0);
257SetSizerAndFit(main_sizer);
292 m_Case->SetValue(
false);
408options->SetStartText(
text);
410options->SetStartDigits();
412options->SetStartLetters();
419options->SetStopText(
text);
421options->SetStopDigits();
423options->SetStopLetters();
429options->SetCaseInsensitive(
m_Case->GetValue());
439 returnoptions->GetSelectedText(
input);
EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1
void CreateControls()
Creates the controls and sizers.
CNoTabRadioButton * m_EndTextBtn
CNoTabCheckBox * m_WholeWord
void OnStartTxtBtnSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_START_TXT_BTN
void OnRemoveFromParseSelected(wxCommandEvent &event)
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_REMOVE_FROM_PARSED_BTN
void OnStartDigitsBtnSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_START_DIGITS_BTN
CNoTabCheckBox * m_AlsoRemoveBefore
string GetSelectedText(const string &input)
@ ID_CPARSEOPTS_START_DIGITS_BTN
@ ID_CPARSEOPTS_END_DIGITS_BTN
@ ID_CPARSEOPTS_END_TEXT_TXT
@ ID_CPARSEOPTS_END_LETTERS_BTN
@ ID_CPARSEOPTS_UP_TO_BTN
@ ID_CPARSEOPTS_REMOVE_FROM_PARSED_BTN
@ ID_CPARSEOPTS_CASE_INSENS_PARSE
@ ID_CPARSEOPTS_RADIOBUTTON5
@ ID_CPARSEOPTS_START_TEXT_TXT
@ ID_CPARSEOPTS_INCLUDING_BTN
@ ID_CPARSEOPTS_END_TEXT_BTN
@ ID_CPARSEOPTS_WHOLE_WORD_PARSE
@ ID_CPARSEOPTS_START_LETTERS_BTN
@ ID_CPARSEOPTS_JUST_AFTER_BTN
@ ID_CPARSEOPTS_ALSO_RMV_AFTER_PARSE
@ ID_CPARSEOPTS_ALSO_RMV_BEFORE_PARSE
@ ID_CPARSEOPTS_START_TEXT_BTN
wxTextCtrl * m_StartTextTxt
CNoTabRadioButton * m_UpToBtn
CNoTabRadioButton * m_StartingAtBtn
CNoTabCheckBox * m_AlsoRemoveAfter
CParseTextOptionsDlg()
Constructors.
void OnEndLettersBtnSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_END_LETTERS_BTN
bool Create(wxWindow *parent, wxWindowID id=ID_CPARSETEXTOPTIONSDLG, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
CNoTabRadioButton * m_StartLettersBtn
CNoTabRadioButton * m_JustAfterBtn
CNoTabRadioButton * m_EndDigitsBtn
CNoTabCheckBox * m_RemoveFromParsedBtn
void Init()
Initialises member variables.
void OnStartLettersBtnSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_START_LETTERS_BTN
static bool ShowToolTips()
Should we show tooltips?
bool m_HideRemoveTextOptions
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
wxTextCtrl * m_EndTextTxt
void OnEndDigitsBtnSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_END_DIGITS_BTN
CNoTabRadioButton * m_StartDigitsBtn
CRef< objects::edit::CParseTextOptions > GetParseOptions()
CNoTabRadioButton * m_EndLettersBtn
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
CNoTabRadioButton * m_IncludingBtn
void OnEndTextBtnSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_END_TEXT_BTN
CNoTabRadioButton * m_StartTextBtn
~CParseTextOptionsDlg()
Destructor.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size
string ToStdString(const wxString &s)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4