NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
CClearKeywords Class Reference

Search Toolkit Book for CClearKeywords

#include <gui/packages/pkg_sequence_edit/clear_keywords.hpp>

+ Inheritance diagram for CClearKeywords:
+ Collaboration diagram for CClearKeywords:

Public Member Functions

 CClearKeywords ()
 Constructors. More...
 
 CClearKeywords (wxWindow *parent, objects::CSeq_entry_Handle seh, wxWindowID id=wxID_ANY, const wxString &caption=_("Clear Keywords"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Clear Keywords"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CClearKeywords ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
CRef< CCmdCompositeGetCommand ()
 
- Public Member Functions inherited from CReportEditingDialog
virtual bool Show (bool show=1)
 Report opening events in dialogs used in the editing package. More...
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Private Types

typedef CChangeUnindexedObjectCommand< objects::CGB_block > CChangeGenbankBlockCommand
 

Private Member Functions

void ApplyToCSeq_entry (const CSeq_entry &se, CCmdComposite *composite, bool pass_genome)
 
void OnAllKeywordsSelected (wxCommandEvent &event)
 

Private Attributes

objects::CSeq_entry_Handle m_TopSeqEntry
 
wxChoice * m_Status
 
wxTextCtrl * m_Keyword
 
wxCheckBox * m_AllKeywords
 
wxRadioButton * m_Any
 
wxRadioButton * m_Nuc
 
wxRadioButton * m_DNA
 
wxRadioButton * m_RNA
 
wxRadioButton * m_Proteins
 
CStringConstraintPanelm_StringConstraintPanel
 
wxListBox * m_SourceLoc
 

Detailed Description

Definition at line 77 of file clear_keywords.hpp.

Member Typedef Documentation

◆ CChangeGenbankBlockCommand

Definition at line 110 of file clear_keywords.hpp.

Constructor & Destructor Documentation

◆ CClearKeywords() [1/2]

CClearKeywords::CClearKeywords ( )

Constructors.

CClearKeywords event table definition

CClearKeywords constructors

Definition at line 78 of file clear_keywords.cpp.

References Init().

◆ CClearKeywords() [2/2]

CClearKeywords::CClearKeywords ( wxWindow *  parent,
objects::CSeq_entry_Handle  seh,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Clear Keywords"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Definition at line 83 of file clear_keywords.cpp.

References Create(), Init(), and ncbi::grid::netcache::search::fields::size.

◆ ~CClearKeywords()

CClearKeywords::~CClearKeywords ( )

Destructor.

CClearKeywords destructor

Definition at line 118 of file clear_keywords.cpp.

Member Function Documentation

◆ ApplyToCSeq_entry()

void CClearKeywords::ApplyToCSeq_entry ( const CSeq_entry se,
CCmdComposite composite,
bool  pass_genome 
)
private

◆ Create()

bool CClearKeywords::Create ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Clear Keywords"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

CVectorTrimDlg creator

Definition at line 96 of file clear_keywords.cpp.

References CreateControls(), and ncbi::grid::netcache::search::fields::size.

Referenced by ApplyToCSeq_entry(), and CClearKeywords().

◆ CreateControls()

void CClearKeywords::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CClearKeywords::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 244 of file clear_keywords.cpp.

◆ GetCommand()

CRef< CCmdComposite > CClearKeywords::GetCommand ( void  )

◆ GetIconResource()

wxIcon CClearKeywords::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 255 of file clear_keywords.cpp.

◆ Init()

void CClearKeywords::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 129 of file clear_keywords.cpp.

Referenced by CClearKeywords().

◆ OnAllKeywordsSelected()

void CClearKeywords::OnAllKeywordsSelected ( wxCommandEvent &  event)
private

Definition at line 361 of file clear_keywords.cpp.

References m_AllKeywords, and m_Keyword.

◆ ShowToolTips()

bool CClearKeywords::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 235 of file clear_keywords.cpp.

Member Data Documentation

◆ m_AllKeywords

wxCheckBox* CClearKeywords::m_AllKeywords
private

◆ m_Any

wxRadioButton* CClearKeywords::m_Any
private

Definition at line 116 of file clear_keywords.hpp.

Referenced by ApplyToCSeq_entry(), and CreateControls().

◆ m_DNA

wxRadioButton* CClearKeywords::m_DNA
private

Definition at line 118 of file clear_keywords.hpp.

Referenced by ApplyToCSeq_entry(), and CreateControls().

◆ m_Keyword

wxTextCtrl* CClearKeywords::m_Keyword
private

◆ m_Nuc

wxRadioButton* CClearKeywords::m_Nuc
private

Definition at line 117 of file clear_keywords.hpp.

Referenced by ApplyToCSeq_entry(), and CreateControls().

◆ m_Proteins

wxRadioButton* CClearKeywords::m_Proteins
private

Definition at line 120 of file clear_keywords.hpp.

Referenced by ApplyToCSeq_entry(), and CreateControls().

◆ m_RNA

wxRadioButton* CClearKeywords::m_RNA
private

Definition at line 119 of file clear_keywords.hpp.

Referenced by ApplyToCSeq_entry(), and CreateControls().

◆ m_SourceLoc

wxListBox* CClearKeywords::m_SourceLoc
private

Definition at line 122 of file clear_keywords.hpp.

Referenced by ApplyToCSeq_entry(), CreateControls(), and GetCommand().

◆ m_Status

wxChoice* CClearKeywords::m_Status
private

Definition at line 113 of file clear_keywords.hpp.

◆ m_StringConstraintPanel

CStringConstraintPanel* CClearKeywords::m_StringConstraintPanel
private

Definition at line 121 of file clear_keywords.hpp.

Referenced by ApplyToCSeq_entry(), and CreateControls().

◆ m_TopSeqEntry

objects::CSeq_entry_Handle CClearKeywords::m_TopSeqEntry
private

Definition at line 112 of file clear_keywords.hpp.

Referenced by CreateControls(), and GetCommand().


The documentation for this class was generated from the following files:
Modified on Fri May 24 14:56:13 2024 by modify_doxy.py rev. 669887