NCBI C++ ToolKit
Classes | Macros | Functions | Variables
query_parse_panel.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/data/query_parse_panel.hpp>
#include <gui/widgets/data/query_panel_event.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/widgets/wx/fileartprov.hpp>
#include <gui/widgets/wx/sys_path.hpp>
#include <gui/widgets/wx/richtextctrl.hpp>
#include <gui/objutils/query_data_source.hpp>
#include <gui/objutils/query_func_promote.hpp>
#include <gui/objutils/macro_parse.hpp>
#include <gui/objutils/macro_rep.hpp>
#include <gui/objutils/macro_ex.hpp>
#include <gui/widgets/wx/async_call.hpp>
#include <util/qparse/query_parse.hpp>
#include <util/qparse/parse_utils.hpp>
#include <util/checksum.hpp>
#include <wx/app.h>
#include <wx/sizer.h>
#include <wx/menu.h>
#include <wx/button.h>
#include <wx/animate.h>
#include <wx/statline.h>
#include <wx/stattext.h>
#include <wx/toolbar.h>
#include <wx/choice.h>
#include <wx/panel.h>
#include <wx/timer.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/dataobj.h>
#include <wx/clipbrd.h>
#include <wx/settings.h>
#include <algorithm>
+ Include dependency graph for query_parse_panel.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CQueryHighlightFunction
 Class for extracting positions of data fields from the query. More...
 

Macros

#define ID_SEARCHCTRL   13001
 
#define ID_SELECT_ALL   13005
 
#define ID_QUERY_ANIMATIONCTRL   13007
 
#define ID_TOOLBAR   13010
 
#define ID_TOOLBAR2   13011
 
#define ID_CASE_SENSITIVE   13012
 
#define ID_STRING_SEARCH   13013
 
#define ID_MRU1   13014
 
#define ID_STRING_MATCH_TYPE1   14014
 

Functions

 USING_SCOPE (objects)
 
 EVT_COMMAND_RANGE (13014, 13014+CQueryParsePanel::m_MaxRecentQueries+CQueryParsePanel::m_MaxDefaultQueries - 1, wxEVT_COMMAND_MENU_SELECTED, CQueryParsePanel::OnRecentQuery) EVT_COMMAND_RANGE(14014
 

Variables

static const char * kRecentQueries = "Recent Queries"
 
static const char * kQueryPanel = ".QueryPanelGrid"
 
const int kStringMatchTypesCount = 4
 
const char * kStringMatchTypes [kStringMatchTypesCount]
 
const char * kStringMatchTypesToolbar [kStringMatchTypesCount]
 
CStringMatching::EStringMatching kStringMatchEnumTypes [kStringMatchTypesCount]
 
 wxEVT_COMMAND_MENU_SELECTED
 

Macro Definition Documentation

◆ ID_CASE_SENSITIVE

#define ID_CASE_SENSITIVE   13012

Definition at line 85 of file query_parse_panel.cpp.

◆ ID_MRU1

#define ID_MRU1   13014

Definition at line 87 of file query_parse_panel.cpp.

◆ ID_QUERY_ANIMATIONCTRL

#define ID_QUERY_ANIMATIONCTRL   13007

Definition at line 82 of file query_parse_panel.cpp.

◆ ID_SEARCHCTRL

#define ID_SEARCHCTRL   13001

Definition at line 80 of file query_parse_panel.cpp.

◆ ID_SELECT_ALL

#define ID_SELECT_ALL   13005

Definition at line 81 of file query_parse_panel.cpp.

◆ ID_STRING_MATCH_TYPE1

#define ID_STRING_MATCH_TYPE1   14014

Definition at line 88 of file query_parse_panel.cpp.

◆ ID_STRING_SEARCH

#define ID_STRING_SEARCH   13013

Definition at line 86 of file query_parse_panel.cpp.

◆ ID_TOOLBAR

#define ID_TOOLBAR   13010

Definition at line 83 of file query_parse_panel.cpp.

◆ ID_TOOLBAR2

#define ID_TOOLBAR2   13011

Definition at line 84 of file query_parse_panel.cpp.

Function Documentation

◆ EVT_COMMAND_RANGE()

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kQueryPanel

const char* kQueryPanel = ".QueryPanelGrid"
static

Definition at line 91 of file query_parse_panel.cpp.

Referenced by CQueryParsePanel::SetRegistryPath().

◆ kRecentQueries

const char* kRecentQueries = "Recent Queries"
static

◆ kStringMatchEnumTypes

Initial value:

Definition at line 111 of file query_parse_panel.cpp.

Referenced by CQueryParsePanel::OnStringMatchTypeSelected().

◆ kStringMatchTypes

const char* kStringMatchTypes[kStringMatchTypesCount]
Initial value:
= {
"Exact Match",
"Wildcards",
"Regular Expression",
"Phonetic"
}

Definition at line 94 of file query_parse_panel.cpp.

Referenced by CQueryParsePanel::OnStringMatchTypeBtn(), and CQueryParsePanel::OnStringMatchTypeSelected().

◆ kStringMatchTypesCount

const int kStringMatchTypesCount = 4

◆ kStringMatchTypesToolbar

const char* kStringMatchTypesToolbar[kStringMatchTypesCount]
Initial value:
= {
"Exact Match",
"Wildcards",
"Reg Exp",
"Phonetic"
}

Definition at line 103 of file query_parse_panel.cpp.

Referenced by CQueryParsePanel::OnStringMatchTypeSelected().

◆ wxEVT_COMMAND_MENU_SELECTED

wxEVT_COMMAND_MENU_SELECTED
Modified on Mon Feb 26 04:05:14 2024 by modify_doxy.py rev. 669887