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

Search Toolkit Book for CCreateGeneModelParamsPanel

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

+ Inheritance diagram for CCreateGeneModelParamsPanel:
+ Collaboration diagram for CCreateGeneModelParamsPanel:

Public Member Functions

 CCreateGeneModelParamsPanel ()
 
 CCreateGeneModelParamsPanel (wxWindow *parent, wxWindowID id=ID_GENEMODELPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_GENEMODELPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
 ~CCreateGeneModelParamsPanel ()
 
void Init ()
 
void CreateControls ()
 
void SetParams (SCreateGeneModelParams *params, TConstScopedObjects *objects)
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
void OnCreateGeneClick (wxCommandEvent &event)
 
void OnCreateMrnaClick (wxCommandEvent &event)
 
void OnCreateCdsClick (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
CAlgoToolManagerParamsPanel implementation
void RestoreDefaults ()
 override in derived classes More...
 
IRegSettings interface implementation
virtual void SetRegistryPath (const string &path)
 CAlgoToolManagerParamsPanel. More...
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 override in derived classes More...
 
IRegSettings interface implementation
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 

Private Types

enum  {
  ID_GENEMODELPARAMSPANEL = 10031 , ID_OBJLISTCTRL = 10014 , ID_CHECK_GENE = 10032 , ID_PROPAGATE_NCRNA = 10046 ,
  ID_CHECK_MRNA = 10041 , ID_CHECK_TRANSCRIPT = 10000 , ID_CHECK_CDS = 10042 , ID_CHECK_TRANSLATE = 10044 ,
  ID_CHECK_GROUP = 10045 , ID_CHECK_MERGE = 10059 , ID_PROPAGATE_LOCAL_IDS = 10060
}
 

Private Attributes

CObjectListWidgetm_ObjectList
 
wxCheckBox * m_CreateGene
 
wxCheckBox * m_PropagateNcrnaFeats
 
wxCheckBox * m_CreateMrna
 
wxCheckBox * m_TranscribeMrna
 
wxCheckBox * m_CreateCds
 
wxCheckBox * m_TranslateCds
 
wxCheckBox * m_GroupByGeneId
 
wxCheckBox * m_MergeToGenome
 
wxCheckBox * m_PropagateLocalIds
 
SCreateGeneModelParamsm_Params
 
TConstScopedObjectsm_InputObjects
 
bool m_InputListDirty
 
string m_RegPath
 

Additional Inherited Members

- Protected Attributes inherited from CAlgoToolManagerParamsPanel
string m_RegPath
 registry path to the settings More...
 

Detailed Description

Definition at line 104 of file create_gene_model_params_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
ID_GENEMODELPARAMSPANEL 
ID_OBJLISTCTRL 
ID_CHECK_GENE 
ID_PROPAGATE_NCRNA 
ID_CHECK_MRNA 
ID_CHECK_TRANSCRIPT 
ID_CHECK_CDS 
ID_CHECK_TRANSLATE 
ID_CHECK_GROUP 
ID_CHECK_MERGE 
ID_PROPAGATE_LOCAL_IDS 

Definition at line 167 of file create_gene_model_params_panel.hpp.

Constructor & Destructor Documentation

◆ CCreateGeneModelParamsPanel() [1/2]

CCreateGeneModelParamsPanel::CCreateGeneModelParamsPanel ( )

Definition at line 98 of file create_gene_model_params_panel.cpp.

References Init().

◆ CCreateGeneModelParamsPanel() [2/2]

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

◆ ~CCreateGeneModelParamsPanel()

CCreateGeneModelParamsPanel::~CCreateGeneModelParamsPanel ( )

Definition at line 127 of file create_gene_model_params_panel.cpp.

Member Function Documentation

◆ Create()

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

◆ CreateControls()

void CCreateGeneModelParamsPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CCreateGeneModelParamsPanel::GetBitmapResource ( const wxString &  name)

Definition at line 207 of file create_gene_model_params_panel.cpp.

◆ GetIconResource()

wxIcon CCreateGeneModelParamsPanel::GetIconResource ( const wxString &  name)

Definition at line 215 of file create_gene_model_params_panel.cpp.

◆ Init()

void CCreateGeneModelParamsPanel::Init ( void  )

◆ LoadSettings()

void CCreateGeneModelParamsPanel::LoadSettings ( )
virtual

◆ OnCreateCdsClick()

void CCreateGeneModelParamsPanel::OnCreateCdsClick ( wxCommandEvent &  event)

Definition at line 321 of file create_gene_model_params_panel.cpp.

References m_TranslateCds.

◆ OnCreateGeneClick()

void CCreateGeneModelParamsPanel::OnCreateGeneClick ( wxCommandEvent &  event)

Definition at line 311 of file create_gene_model_params_panel.cpp.

References m_GroupByGeneId.

◆ OnCreateMrnaClick()

void CCreateGeneModelParamsPanel::OnCreateMrnaClick ( wxCommandEvent &  event)

Definition at line 316 of file create_gene_model_params_panel.cpp.

References m_TranscribeMrna.

◆ RestoreDefaults()

void CCreateGeneModelParamsPanel::RestoreDefaults ( )
virtual

override in derived classes

Restores the default options for the panel

Implements CAlgoToolManagerParamsPanel.

Definition at line 326 of file create_gene_model_params_panel.cpp.

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

◆ SaveSettings()

void CCreateGeneModelParamsPanel::SaveSettings ( ) const
virtual

◆ SetParams()

void CCreateGeneModelParamsPanel::SetParams ( SCreateGeneModelParams params,
TConstScopedObjects objects 
)

◆ SetRegistryPath()

void CCreateGeneModelParamsPanel::SetRegistryPath ( const string reg_path)
virtual

◆ TransferDataFromWindow()

bool CCreateGeneModelParamsPanel::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CCreateGeneModelParamsPanel::TransferDataToWindow ( )
virtual

Member Data Documentation

◆ m_CreateCds

wxCheckBox* CCreateGeneModelParamsPanel::m_CreateCds
private

◆ m_CreateGene

wxCheckBox* CCreateGeneModelParamsPanel::m_CreateGene
private

◆ m_CreateMrna

wxCheckBox* CCreateGeneModelParamsPanel::m_CreateMrna
private

◆ m_GroupByGeneId

wxCheckBox* CCreateGeneModelParamsPanel::m_GroupByGeneId
private

◆ m_InputListDirty

bool CCreateGeneModelParamsPanel::m_InputListDirty
private

Definition at line 185 of file create_gene_model_params_panel.hpp.

Referenced by TransferDataToWindow().

◆ m_InputObjects

TConstScopedObjects* CCreateGeneModelParamsPanel::m_InputObjects
private

Definition at line 183 of file create_gene_model_params_panel.hpp.

Referenced by SetParams(), and TransferDataToWindow().

◆ m_MergeToGenome

wxCheckBox* CCreateGeneModelParamsPanel::m_MergeToGenome
private

◆ m_ObjectList

CObjectListWidget* CCreateGeneModelParamsPanel::m_ObjectList
private

◆ m_Params

SCreateGeneModelParams* CCreateGeneModelParamsPanel::m_Params
private

◆ m_PropagateLocalIds

wxCheckBox* CCreateGeneModelParamsPanel::m_PropagateLocalIds
private

◆ m_PropagateNcrnaFeats

wxCheckBox* CCreateGeneModelParamsPanel::m_PropagateNcrnaFeats
private

◆ m_RegPath

string CCreateGeneModelParamsPanel::m_RegPath
private

Definition at line 187 of file create_gene_model_params_panel.hpp.

Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().

◆ m_TranscribeMrna

wxCheckBox* CCreateGeneModelParamsPanel::m_TranscribeMrna
private

◆ m_TranslateCds

wxCheckBox* CCreateGeneModelParamsPanel::m_TranslateCds
private

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