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

Search Toolkit Book for CAutodefParamsPanel

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

+ Inheritance diagram for CAutodefParamsPanel:
+ Collaboration diagram for CAutodefParamsPanel:

Public Member Functions

 CAutodefParamsPanel ()
 Constructors. More...
 
 CAutodefParamsPanel (wxWindow *parent, wxWindowID id=10025, const wxString &caption=_("Autodef Params Panel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10025, const wxString &caption=_("Autodef Params Panel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CAutodefParamsPanel ()
 Destructor. More...
 
void Init ()
 Initializes member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
bool TransferDataToWindow ()
 
bool TransferDataFromWindow ()
 
void OnChangeMiscFeat (wxCommandEvent &event)
 
void OnSuppressFeatures (wxCommandEvent &event)
 
void OnChangeModifierListChoice (wxCommandEvent &event)
 
void OnChangeModifierSelection (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void SetParams (SAutodefParams *params, TConstScopedObjects *objects)
 
virtual void SetRegistryPath (const string &path)
 CAlgoToolManagerParamsPanel. More...
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 override in derived classes More...
 
CAlgoToolManagerParamsPanel implementation
void RestoreDefaults ()
 override in derived classes More...
 
IRegSettings interface implementation
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 

Static Public Member Functions

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

Public Attributes

CObjectListWidgetm_ObjectListCtrl
 
wxChoice * m_ModifierListChoice
 
wxChoice * m_MaxModifiers
 
vector< wxCheckBox * > m_ModifierButtons
 
wxRadioBox * m_HIVRule
 
wxCheckBox * m_UseLabels
 
wxCheckBox * m_LeaveParen
 
wxCheckBox * m_NoSp
 
wxCheckBox * m_NoNr
 
wxCheckBox * m_NoCf
 
wxCheckBox * m_NoAff
 
wxCheckBox * m_IncludeCountry
 
wxCheckBox * m_KeepAfterSemicolon
 
wxChoice * m_FeatureListChoice
 
wxCheckBox * m_SuppressAltSplice
 
wxCheckBox * m_SuppressTransposon
 
wxCheckBox * m_SupressGeneCluster
 
wxCheckBox * m_SuppressLocusTags
 
wxCheckBox * m_KeepExons
 
wxCheckBox * m_Keep5UTRs
 
wxCheckBox * m_KeepIntrons
 
wxCheckBox * m_Keep3UTRs
 
wxCheckBox * m_UseFakePromoters
 
wxCheckBox * m_KeepRegulatoryFeatures
 
wxCheckBox * m_KeepMiscFeats
 
wxChoice * m_MiscFeatParseRule
 
wxChoice * m_ProductClauseChoice
 
wxCheckBox * m_AppendAltSplice
 
wxCheckBox * m_UseNcRNAComment
 

Protected Member Functions

bool x_AllowHIVRule ()
 

Protected Attributes

SAutodefParamsm_Params
 
set< objects::CFeatListItem > m_SuppressedFeatures
 
TConstScopedObjectsm_InputObjects
 
bool m_InputListDirty
 
- Protected Attributes inherited from CAlgoToolManagerParamsPanel
string m_RegPath
 registry path to the settings More...
 

Detailed Description

CAutodefParamsPanel class declaration

Definition at line 113 of file autodef_params_panel.hpp.

Constructor & Destructor Documentation

◆ CAutodefParamsPanel() [1/2]

CAutodefParamsPanel::CAutodefParamsPanel ( )

Constructors.

CAutodefParamsPanel type definition

CAutodefParamsPanel event table definition

CAutodefParamsPanel constructors

Definition at line 90 of file autodef_params_panel.cpp.

References Init().

◆ CAutodefParamsPanel() [2/2]

CAutodefParamsPanel::CAutodefParamsPanel ( wxWindow *  parent,
wxWindowID  id = 10025,
const wxString &  caption = _("Autodef Params Panel"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CAutodefParamsPanel()

CAutodefParamsPanel::~CAutodefParamsPanel ( )

Destructor.

CAutodefParamsPanel destructor

Definition at line 126 of file autodef_params_panel.cpp.

Member Function Documentation

◆ Create()

bool CAutodefParamsPanel::Create ( wxWindow *  parent,
wxWindowID  id = 10025,
const wxString &  caption = _("Autodef Params Panel"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CAutodefParamsPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CAutodefParamsPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 524 of file autodef_params_panel.cpp.

◆ GetIconResource()

wxIcon CAutodefParamsPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 537 of file autodef_params_panel.cpp.

◆ Init()

void CAutodefParamsPanel::Init ( void  )

◆ LoadSettings()

void CAutodefParamsPanel::LoadSettings ( )
virtual

◆ OnChangeMiscFeat()

void CAutodefParamsPanel::OnChangeMiscFeat ( wxCommandEvent &  event)

Definition at line 857 of file autodef_params_panel.cpp.

References m_KeepMiscFeats, and m_MiscFeatParseRule.

◆ OnChangeModifierListChoice()

void CAutodefParamsPanel::OnChangeModifierListChoice ( wxCommandEvent &  event)

Definition at line 880 of file autodef_params_panel.cpp.

References m_ModifierButtons, m_ModifierListChoice, n, and NULL.

◆ OnChangeModifierSelection()

void CAutodefParamsPanel::OnChangeModifierSelection ( wxCommandEvent &  event)

Definition at line 918 of file autodef_params_panel.cpp.

References m_HIVRule, NULL, and x_AllowHIVRule().

◆ OnSuppressFeatures()

void CAutodefParamsPanel::OnSuppressFeatures ( wxCommandEvent &  event)

◆ RestoreDefaults()

void CAutodefParamsPanel::RestoreDefaults ( )
virtual

override in derived classes

Restores the default options for the panel

Implements CAlgoToolManagerParamsPanel.

Definition at line 929 of file autodef_params_panel.cpp.

References SAutodefParams::Init(), m_Params, and TransferDataToWindow().

◆ SaveSettings()

void CAutodefParamsPanel::SaveSettings ( ) const
virtual

◆ SetParams()

void CAutodefParamsPanel::SetParams ( SAutodefParams params,
TConstScopedObjects objects 
)

Definition at line 547 of file autodef_params_panel.cpp.

References m_InputObjects, and m_Params.

Referenced by CAutodefToolManager::x_CreateParamsPanelIfNeeded().

◆ SetRegistryPath()

void CAutodefParamsPanel::SetRegistryPath ( const string reg_path)
virtual

◆ ShowToolTips()

bool CAutodefParamsPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 515 of file autodef_params_panel.cpp.

◆ TransferDataFromWindow()

bool CAutodefParamsPanel::TransferDataFromWindow ( )

Definition at line 689 of file autodef_params_panel.cpp.

References CAutoDefOptions::eCommentFeat, CAutoDefOptions::eDelete, CBioSource_Base::eGenome_apicoplast, CBioSource_Base::eGenome_chloroplast, CBioSource_Base::eGenome_chromoplast, CBioSource_Base::eGenome_cyanelle, CBioSource_Base::eGenome_kinetoplast, CBioSource_Base::eGenome_leucoplast, CBioSource_Base::eGenome_mitochondrion, CBioSource_Base::eGenome_plastid, CBioSource_Base::eGenome_proplastid, CAutoDefOptions::eNoncodingProductFeat, CObjectListWidget::GetSelection(), SAutodefParams::m_AltSpliceFlag, m_AppendAltSplice, SAutodefParams::m_DoNotApplyToAff, SAutodefParams::m_DoNotApplyToCf, SAutodefParams::m_DoNotApplyToNr, SAutodefParams::m_DoNotApplyToSp, m_FeatureListChoice, SAutodefParams::m_FeatureListType, SAutodefParams::m_GeneClusterOppStrand, SAutodefParams::m_HIVRule, m_HIVRule, m_IncludeCountry, SAutodefParams::m_IncludeCountryText, SAutodefParams::m_Keep3UTRs, m_Keep3UTRs, SAutodefParams::m_Keep5UTRs, m_Keep5UTRs, SAutodefParams::m_KeepAfterSemicolon, m_KeepAfterSemicolon, SAutodefParams::m_KeepExons, m_KeepExons, SAutodefParams::m_KeepIntrons, m_KeepIntrons, m_KeepMiscFeats, SAutodefParams::m_KeepRegulatoryFeatures, m_KeepRegulatoryFeatures, m_LeaveParen, SAutodefParams::m_LeaveParenthetical, m_MaxModifiers, SAutodefParams::m_MaxMods, m_MiscFeatParseRule, SAutodefParams::m_MiscFeatRule, m_ModifierButtons, SAutodefParams::m_ModifierList, m_NoAff, m_NoCf, m_NoNr, m_NoSp, SAutodefParams::m_NuclearCopyFlag, m_ObjectListCtrl, m_Params, m_ProductClauseChoice, SAutodefParams::m_ProductFlag, SAutodefParams::m_SeqEntries, SAutodefParams::m_SpecifyNuclearProduct, m_SuppressAltSplice, SAutodefParams::m_SuppressedFeatures, m_SuppressedFeatures, SAutodefParams::m_SuppressFeatureAltSplice, SAutodefParams::m_SuppressLocusTags, m_SuppressLocusTags, SAutodefParams::m_SuppressMobileElementSubfeatures, m_SuppressTransposon, m_SupressGeneCluster, SAutodefParams::m_UseFakePromoters, m_UseFakePromoters, SAutodefParams::m_UseLabels, m_UseLabels, SAutodefParams::m_UseNcRNAComment, m_UseNcRNAComment, n, and NULL.

◆ TransferDataToWindow()

bool CAutodefParamsPanel::TransferDataToWindow ( )

Definition at line 555 of file autodef_params_panel.cpp.

References CAutoDefOptions::eCommentFeat, CAutoDefOptions::eDelete, CBioSource_Base::eGenome_apicoplast, CBioSource_Base::eGenome_chloroplast, CBioSource_Base::eGenome_chromoplast, CBioSource_Base::eGenome_cyanelle, CBioSource_Base::eGenome_kinetoplast, CBioSource_Base::eGenome_leucoplast, CBioSource_Base::eGenome_mitochondrion, CBioSource_Base::eGenome_plastid, CBioSource_Base::eGenome_proplastid, CAutoDefOptions::eNoncodingProductFeat, SAutodefParams::m_AltSpliceFlag, m_AppendAltSplice, SAutodefParams::m_DoNotApplyToAff, SAutodefParams::m_DoNotApplyToCf, SAutodefParams::m_DoNotApplyToNr, SAutodefParams::m_DoNotApplyToSp, m_FeatureListChoice, SAutodefParams::m_FeatureListType, SAutodefParams::m_GeneClusterOppStrand, SAutodefParams::m_HIVRule, m_HIVRule, m_IncludeCountry, SAutodefParams::m_IncludeCountryText, m_InputListDirty, m_InputObjects, SAutodefParams::m_Keep3UTRs, m_Keep3UTRs, SAutodefParams::m_Keep5UTRs, m_Keep5UTRs, SAutodefParams::m_KeepAfterSemicolon, m_KeepAfterSemicolon, SAutodefParams::m_KeepExons, m_KeepExons, SAutodefParams::m_KeepIntrons, m_KeepIntrons, m_KeepMiscFeats, SAutodefParams::m_KeepRegulatoryFeatures, m_KeepRegulatoryFeatures, m_LeaveParen, SAutodefParams::m_LeaveParenthetical, m_MaxModifiers, SAutodefParams::m_MaxMods, m_MiscFeatParseRule, SAutodefParams::m_MiscFeatRule, m_ModifierButtons, SAutodefParams::m_ModifierList, m_NoAff, m_NoCf, m_NoNr, m_NoSp, SAutodefParams::m_NuclearCopyFlag, m_ObjectListCtrl, m_Params, m_ProductClauseChoice, SAutodefParams::m_ProductFlag, SAutodefParams::m_SpecifyNuclearProduct, m_SuppressAltSplice, SAutodefParams::m_SuppressedFeatures, m_SuppressedFeatures, SAutodefParams::m_SuppressFeatureAltSplice, SAutodefParams::m_SuppressLocusTags, m_SuppressLocusTags, SAutodefParams::m_SuppressMobileElementSubfeatures, m_SuppressTransposon, m_SupressGeneCluster, SAutodefParams::m_UseFakePromoters, m_UseFakePromoters, SAutodefParams::m_UseLabels, m_UseLabels, SAutodefParams::m_UseNcRNAComment, m_UseNcRNAComment, n, NULL, CwxTableListCtrl::SelectAll(), and CObjectListWidget::SetObjects().

Referenced by RestoreDefaults().

◆ x_AllowHIVRule()

bool CAutodefParamsPanel::x_AllowHIVRule ( )
protected

Member Data Documentation

◆ m_AppendAltSplice

wxCheckBox* CAutodefParamsPanel::m_AppendAltSplice

◆ m_FeatureListChoice

wxChoice* CAutodefParamsPanel::m_FeatureListChoice

◆ m_HIVRule

wxRadioBox* CAutodefParamsPanel::m_HIVRule

◆ m_IncludeCountry

wxCheckBox* CAutodefParamsPanel::m_IncludeCountry

◆ m_InputListDirty

bool CAutodefParamsPanel::m_InputListDirty
protected

Definition at line 205 of file autodef_params_panel.hpp.

Referenced by Init(), and TransferDataToWindow().

◆ m_InputObjects

TConstScopedObjects* CAutodefParamsPanel::m_InputObjects
protected

Definition at line 204 of file autodef_params_panel.hpp.

Referenced by SetParams(), and TransferDataToWindow().

◆ m_Keep3UTRs

wxCheckBox* CAutodefParamsPanel::m_Keep3UTRs

◆ m_Keep5UTRs

wxCheckBox* CAutodefParamsPanel::m_Keep5UTRs

◆ m_KeepAfterSemicolon

wxCheckBox* CAutodefParamsPanel::m_KeepAfterSemicolon

◆ m_KeepExons

wxCheckBox* CAutodefParamsPanel::m_KeepExons

◆ m_KeepIntrons

wxCheckBox* CAutodefParamsPanel::m_KeepIntrons

◆ m_KeepMiscFeats

wxCheckBox* CAutodefParamsPanel::m_KeepMiscFeats

◆ m_KeepRegulatoryFeatures

wxCheckBox* CAutodefParamsPanel::m_KeepRegulatoryFeatures

◆ m_LeaveParen

wxCheckBox* CAutodefParamsPanel::m_LeaveParen

◆ m_MaxModifiers

wxChoice* CAutodefParamsPanel::m_MaxModifiers

◆ m_MiscFeatParseRule

wxChoice* CAutodefParamsPanel::m_MiscFeatParseRule

◆ m_ModifierButtons

vector<wxCheckBox *> CAutodefParamsPanel::m_ModifierButtons

◆ m_ModifierListChoice

wxChoice* CAutodefParamsPanel::m_ModifierListChoice

Definition at line 170 of file autodef_params_panel.hpp.

Referenced by CreateControls(), Init(), and OnChangeModifierListChoice().

◆ m_NoAff

wxCheckBox* CAutodefParamsPanel::m_NoAff

◆ m_NoCf

wxCheckBox* CAutodefParamsPanel::m_NoCf

◆ m_NoNr

wxCheckBox* CAutodefParamsPanel::m_NoNr

◆ m_NoSp

wxCheckBox* CAutodefParamsPanel::m_NoSp

◆ m_ObjectListCtrl

CObjectListWidget* CAutodefParamsPanel::m_ObjectListCtrl

◆ m_Params

SAutodefParams* CAutodefParamsPanel::m_Params
protected

◆ m_ProductClauseChoice

wxChoice* CAutodefParamsPanel::m_ProductClauseChoice

◆ m_SuppressAltSplice

wxCheckBox* CAutodefParamsPanel::m_SuppressAltSplice

◆ m_SuppressedFeatures

set<objects::CFeatListItem> CAutodefParamsPanel::m_SuppressedFeatures
protected

◆ m_SuppressLocusTags

wxCheckBox* CAutodefParamsPanel::m_SuppressLocusTags

◆ m_SuppressTransposon

wxCheckBox* CAutodefParamsPanel::m_SuppressTransposon

◆ m_SupressGeneCluster

wxCheckBox* CAutodefParamsPanel::m_SupressGeneCluster

◆ m_UseFakePromoters

wxCheckBox* CAutodefParamsPanel::m_UseFakePromoters

◆ m_UseLabels

wxCheckBox* CAutodefParamsPanel::m_UseLabels

◆ m_UseNcRNAComment

wxCheckBox* CAutodefParamsPanel::m_UseNcRNAComment

The documentation for this class was generated from the following files:
Modified on Thu Jun 27 18:28:01 2024 by modify_doxy.py rev. 669887