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

Search Toolkit Book for CBLASTSearchOptionsPanel

#include <gui/packages/pkg_alignment/blast_search_options_panel.hpp>

+ Inheritance diagram for CBLASTSearchOptionsPanel:
+ Collaboration diagram for CBLASTSearchOptionsPanel:

Public Types

enum  {
  ID_CBLASTSEARCHOPTIONSPANEL = 10000 , ID_NUC_RADIO = 10001 , ID_PROT_RADIO = 10002 , ID_QUERY_SEQ_SET = 10042 ,
  ID_LIST = 10003 , ID_PROGRAM_COMBO = 10004 , ID_RADIOBUTTON = 10040 , ID_RADIOBUTTON2 = 10010 ,
  ID_RADIOBUTTON1 = 10041 , ID_SUBJECT_SEQ_SET = 10043 , ID_SUBJ_LIST = 10012 , ID_DB_COMBO = 10005 ,
  ID_SELECT_NCBI_DB = 10006 , ID_ENTREZ_COMBO = 10007 , ID_TEXTCTRL = 10011 , ID_SELECT_LOCAL_DB_BTN = 10026 ,
  ID_CHECKBOX = 10039
}
 
enum  { ID_DBS_LOADING_TEXT = 10030 , ID_DBS_LOADING_PROGRESS = 10031 , ID_DBS_FAILED = 10032 , ID_DBS_TRY_AGAIN = 10033 }
 

Public Member Functions

 CBLASTSearchOptionsPanel ()
 
 CBLASTSearchOptionsPanel (wxWindow *parent, wxWindowID id=ID_CBLASTSEARCHOPTIONSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CBLASTSEARCHOPTIONSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(), long style=wxTAB_TRAVERSAL)
 
 ~CBLASTSearchOptionsPanel ()
 
void Init ()
 
void CreateControls ()
 
bool TransferDataToWindow ()
 
bool TransferDataFromWindow ()
 
void OnNucRadioSelected (wxCommandEvent &event)
 
void OnProtRadioSelected (wxCommandEvent &event)
 
void OnQuerySequenceSetSelected (wxCommandEvent &event)
 
void OnProgramComboSelected (wxCommandEvent &event)
 
void OnSubjectSequencesSelected (wxCommandEvent &event)
 
void OnSubjectNCBIDBSelected (wxCommandEvent &event)
 
void OnSubjectLocalDBSelected (wxCommandEvent &event)
 
void OnSubjectSequenceSetSelected (wxCommandEvent &event)
 
void OnDatabaseComboSelected (wxCommandEvent &event)
 
void OnBrowseDatabases (wxCommandEvent &event)
 
void OnSelectLocalDB (wxCommandEvent &event)
 
void OnLocalDBLoaderClick (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
void Setup (CNetBLASTUIDataSource &ds, const string &tool_name)
 
void SetParams (CBLASTParams *params, map< string, TConstScopedObjects > *nuc_objects, map< string, TConstScopedObjects > *prot_objects)
 
void SelectInputType ()
 
bool CanDoNext ()
 
CAlgoToolManagerParamsPanel implementation
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 override in derived classes More...
 
void RestoreDefaults ()
 override in derived classes More...
 
- Public Member Functions inherited from CAlgoToolManagerParamsPanel
virtual void SetRegistryPath (const string &reg_path)
 CAlgoToolManagerParamsPanel. More...
 
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 

Static Public Member Functions

static bool ShowToolTips ()
 

Public Attributes

wxRadioButton * m_NucRadio
 
wxRadioButton * m_ProtRadio
 
wxStaticText * m_QuerySeqSetStatic
 
wxChoice * m_QuerySeqSetCombo
 
CObjectListWidgetm_QueryListCtrl
 
wxComboBox * m_ProgramCombo
 
wxStaticBoxSizer * m_LocalSizer
 
wxRadioButton * m_SubjectTypeSeqsCtrl
 
wxRadioButton * m_SubjectTypeNCBICtrl
 
wxRadioButton * m_SubjectTypeLDBCtrl
 
wxStaticText * m_SubjectSeqSetStatic
 
wxChoice * m_SubjectSeqSetCombo
 
wxBoxSizer * m_LocalSeqsSizer
 
CObjectListWidgetm_SubjectListCtrl
 
wxFlexGridSizer * m_NCBIDBSizer
 
wxBoxSizer * m_DBSizer
 
wxComboBox * m_DatabaseCombo
 
wxBitmapButton * m_BrowseDBBtn
 
wxComboBox * m_QueryCombo
 
wxBoxSizer * m_LocalDBSizer
 
wxTextCtrl * m_LocalDBCtrl
 
wxCheckBox * m_LocalDBLoaderCtrl
 

Protected Member Functions

void x_OnInputTypeChanged (bool nuc_input)
 
void x_OnSubjInputTypeChanged ()
 
void x_UpdateDBCombo ()
 
void x_CheckDBLoaded ()
 
void x_UpdateSubjects ()
 
void OnTryAgain (wxCommandEvent &event)
 
void OnTimer (wxTimerEvent &event)
 
void x_UpdateSubjectType ()
 
void x_UpdateQuerySeqSet ()
 
void x_FillQueryList ()
 
void x_UpdateSubjectSeqSet ()
 
void x_FillSubjectList ()
 

Protected Attributes

CNetBLASTUIDataSourcem_DataSource
 
string m_ToolName
 
map< string, TConstScopedObjects > * m_NucObjects
 
map< string, TConstScopedObjects > * m_ProtObjects
 
CBLASTParamsm_Params
 
wxTimer m_Timer
 
int m_DBLoadState
 
string m_CurrentQuerySet
 
string m_CurrentSubjectSet
 
- Protected Attributes inherited from CAlgoToolManagerParamsPanel
string m_RegPath
 registry path to the settings More...
 

Detailed Description

Definition at line 84 of file blast_search_options_panel.hpp.


The documentation for this class was generated from the following files:
Modified on Mon Jul 22 05:08:01 2024 by modify_doxy.py rev. 669887