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

Search Toolkit Book for CAutodefFeatClausePanel

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

+ Inheritance diagram for CAutodefFeatClausePanel:
+ Collaboration diagram for CAutodefFeatClausePanel:

Public Types

enum  {
  ID_CAUTODEFFEATCLAUSEPANEL = 10205 , ID_AD_LISTCHOICE = 10200 , ID_TEXTCTRL5 = 10061 , ID_AD_PRODUCT_CLAUSE = 10201 ,
  ID_AD_ALTSPLICE_ADD = 10202 , ID_AD_NCRNA_NOTE = 10203 , ID_AD_WINDOW9 = 10224 , ID_SUPPRESSFEATURETYPELIST = 10225 ,
  ID_AD_MOBILE_ELEMENT = 10226 , ID_AD_GENE_CLUSTER = 10227 , ID_AD_LOCUS_TAG = 10228 , ID_AD_ALT_SPLICE_PHRASE = 10229 ,
  ID_AD_MISC_FEAT_SUBFEAT = 10006
}
 Control identifiers. More...
 

Public Member Functions

 CAutodefFeatClausePanel ()
 Constructors. More...
 
 CAutodefFeatClausePanel (wxWindow *parent, wxWindowID id=ID_CAUTODEFFEATCLAUSEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CAUTODEFFEATCLAUSEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CAutodefFeatClausePanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnAdListchoiceSelected (wxCommandEvent &event)
 wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_AD_LISTCHOICE More...
 
void OnLeftDown (wxMouseEvent &event)
 wxEVT_LEFT_DOWN event handler for ID_SUPPRESSFEATURETYPELIST More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void SetParams (SAutodefParams *params)
 
void PopulateParams (SAutodefParams &params)
 
void Clear ()
 

Static Public Member Functions

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

Public Attributes

wxChoice * m_FeatureListChoice
 
wxTextCtrl * m_CustomPhrase
 
wxChoice * m_ProductClauseChoice
 
wxCheckBox * m_AppendAltSplice
 
wxCheckBox * m_UseNcRNAComment
 
CAutodefOptFeatPanelm_OptFeatPanel
 
wxTextCtrl * m_SuppressedFeatureTypeList
 
wxCheckBox * m_SuppressTransposon
 
wxCheckBox * m_SupressGeneCluster
 
wxCheckBox * m_SuppressLocusTags
 
wxCheckBox * m_SuppressAltSplice
 
wxCheckBox * m_SuppressMiscFeatSubFeat
 

Private Member Functions

void x_UpdateSuppressedFeatureTypeList ()
 
void x_AllowFeatureOptions (bool val=true)
 

Private Attributes

set< objects::CFeatListItem > m_SuppressedFeatures
 

Detailed Description

CAutodefFeatClausePanel class declaration

Definition at line 77 of file autodef_feat_clause_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CAUTODEFFEATCLAUSEPANEL 
ID_AD_LISTCHOICE 
ID_TEXTCTRL5 
ID_AD_PRODUCT_CLAUSE 
ID_AD_ALTSPLICE_ADD 
ID_AD_NCRNA_NOTE 
ID_AD_WINDOW9 
ID_SUPPRESSFEATURETYPELIST 
ID_AD_MOBILE_ELEMENT 
ID_AD_GENE_CLUSTER 
ID_AD_LOCUS_TAG 
ID_AD_ALT_SPLICE_PHRASE 
ID_AD_MISC_FEAT_SUBFEAT 

Definition at line 135 of file autodef_feat_clause_panel.hpp.

Constructor & Destructor Documentation

◆ CAutodefFeatClausePanel() [1/2]

CAutodefFeatClausePanel::CAutodefFeatClausePanel ( )

Constructors.

CAutodefFeatClausePanel type definition

CAutodefFeatClausePanel event table definition

CAutodefFeatClausePanel constructors

Definition at line 75 of file autodef_feat_clause_panel.cpp.

References Init().

◆ CAutodefFeatClausePanel() [2/2]

CAutodefFeatClausePanel::CAutodefFeatClausePanel ( wxWindow *  parent,
wxWindowID  id = ID_CAUTODEFFEATCLAUSEPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CAutodefFeatClausePanel()

CAutodefFeatClausePanel::~CAutodefFeatClausePanel ( )

Destructor.

CAutodefFeatClausePanel destructor

Definition at line 111 of file autodef_feat_clause_panel.cpp.

Member Function Documentation

◆ Clear()

void CAutodefFeatClausePanel::Clear ( void  )

◆ Create()

bool CAutodefFeatClausePanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CAUTODEFFEATCLAUSEPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CAutodefFeatClausePanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CAutodefFeatClausePanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 269 of file autodef_feat_clause_panel.cpp.

◆ GetIconResource()

wxIcon CAutodefFeatClausePanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 282 of file autodef_feat_clause_panel.cpp.

◆ Init()

void CAutodefFeatClausePanel::Init ( void  )

◆ OnAdListchoiceSelected()

void CAutodefFeatClausePanel::OnAdListchoiceSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_AD_LISTCHOICE

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_AD_LISTCHOICE

Definition at line 590 of file autodef_feat_clause_panel.cpp.

References m_CustomPhrase, m_FeatureListChoice, val, and x_AllowFeatureOptions().

◆ OnLeftDown()

void CAutodefFeatClausePanel::OnLeftDown ( wxMouseEvent &  event)

wxEVT_LEFT_DOWN event handler for ID_SUPPRESSFEATURETYPELIST

wxEVT_LEFT_DOWN event handler for ID_SUPPRESSFEATURETYPELIST

Definition at line 559 of file autodef_feat_clause_panel.cpp.

References set< Key, Compare >::clear(), CFeatureCheckDialog::GetSelected(), m_SuppressedFeatures, CFeatureCheckDialog::SetSelected(), CFeatureCheckDialog::ShowModal(), and x_UpdateSuppressedFeatureTypeList().

Referenced by CreateControls().

◆ PopulateParams()

void CAutodefFeatClausePanel::PopulateParams ( SAutodefParams params)

◆ SetParams()

void CAutodefFeatClausePanel::SetParams ( SAutodefParams params)

◆ ShowToolTips()

bool CAutodefFeatClausePanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 260 of file autodef_feat_clause_panel.cpp.

◆ x_AllowFeatureOptions()

void CAutodefFeatClausePanel::x_AllowFeatureOptions ( bool  val = true)
private

◆ x_UpdateSuppressedFeatureTypeList()

void CAutodefFeatClausePanel::x_UpdateSuppressedFeatureTypeList ( )
private

Member Data Documentation

◆ m_AppendAltSplice

wxCheckBox* CAutodefFeatClausePanel::m_AppendAltSplice

◆ m_CustomPhrase

wxTextCtrl* CAutodefFeatClausePanel::m_CustomPhrase

◆ m_FeatureListChoice

wxChoice* CAutodefFeatClausePanel::m_FeatureListChoice

◆ m_OptFeatPanel

CAutodefOptFeatPanel* CAutodefFeatClausePanel::m_OptFeatPanel

◆ m_ProductClauseChoice

wxChoice* CAutodefFeatClausePanel::m_ProductClauseChoice

◆ m_SuppressAltSplice

wxCheckBox* CAutodefFeatClausePanel::m_SuppressAltSplice

◆ m_SuppressedFeatures

set<objects::CFeatListItem> CAutodefFeatClausePanel::m_SuppressedFeatures
private

◆ m_SuppressedFeatureTypeList

wxTextCtrl* CAutodefFeatClausePanel::m_SuppressedFeatureTypeList

◆ m_SuppressLocusTags

wxCheckBox* CAutodefFeatClausePanel::m_SuppressLocusTags

◆ m_SuppressMiscFeatSubFeat

wxCheckBox* CAutodefFeatClausePanel::m_SuppressMiscFeatSubFeat

◆ m_SuppressTransposon

wxCheckBox* CAutodefFeatClausePanel::m_SuppressTransposon

◆ m_SupressGeneCluster

wxCheckBox* CAutodefFeatClausePanel::m_SupressGeneCluster

◆ m_UseNcRNAComment

wxCheckBox* CAutodefFeatClausePanel::m_UseNcRNAComment

The documentation for this class was generated from the following files:
Modified on Wed Sep 04 15:05:29 2024 by modify_doxy.py rev. 669887