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

Search Toolkit Book for CSrcDescEditorPanel

#include <gui/widgets/edit/src_desc_editor_panel.hpp>

+ Inheritance diagram for CSrcDescEditorPanel:
+ Collaboration diagram for CSrcDescEditorPanel:

Public Types

enum  { ID_CSRCDESCEDITORPANEL = 10176 , ID_TREEBOOK1 = 10177 }
 Control identifiers. More...
 

Public Member Functions

 CSrcDescEditorPanel ()
 Constructors. More...
 
 CSrcDescEditorPanel (wxWindow *parent, wxWindowID id=ID_CSRCDESCEDITORPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CSRCDESCEDITORPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CSrcDescEditorPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
virtual void ChangeSeqdesc (const objects::CSeqdesc &desc)
 
virtual void UpdateSeqdesc (objects::CSeqdesc &desc)
 
virtual void UpdateTaxname ()
 

Static Public Member Functions

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

Public Attributes

wxTreebook * m_SourceTreebook
 

Protected Attributes

CRef< objects::CBioSource > m_BioSource
 
CBioSourcePanelm_SrcPanel { nullptr }
 
CLocAndGCodePanelm_LocAndGCodePanel { nullptr }
 
CSourceOtherPanelm_SrcOtherPanel { nullptr }
 

Detailed Description

CSrcDescEditorPanel class declaration

Definition at line 76 of file src_desc_editor_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CSRCDESCEDITORPANEL 
ID_TREEBOOK1 

Definition at line 120 of file src_desc_editor_panel.hpp.

Constructor & Destructor Documentation

◆ CSrcDescEditorPanel() [1/2]

CSrcDescEditorPanel::CSrcDescEditorPanel ( )

Constructors.

CSrcDescEditorPanel type definition

CSrcDescEditorPanel event table definition

CSrcDescEditorPanel constructors

Definition at line 76 of file src_desc_editor_panel.cpp.

References Init().

◆ CSrcDescEditorPanel() [2/2]

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

◆ ~CSrcDescEditorPanel()

CSrcDescEditorPanel::~CSrcDescEditorPanel ( )

Destructor.

CSrcDescEditorPanel destructor

Definition at line 112 of file src_desc_editor_panel.cpp.

Member Function Documentation

◆ ChangeSeqdesc()

void CSrcDescEditorPanel::ChangeSeqdesc ( const objects::CSeqdesc &  desc)
virtual

◆ Create()

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

Creation.

CSrcDescEditorPanel creator

Definition at line 92 of file src_desc_editor_panel.cpp.

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

Referenced by CSrcDescEditorPanel().

◆ CreateControls()

void CSrcDescEditorPanel::CreateControls ( )

Creates the controls and sizers.

Control creation for CSrcDescEditorPanel

Definition at line 135 of file src_desc_editor_panel.cpp.

References ID_TREEBOOK1, m_SourceTreebook, wxID_ANY, and wxT.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CSrcDescEditorPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 169 of file src_desc_editor_panel.cpp.

◆ GetIconResource()

wxIcon CSrcDescEditorPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 182 of file src_desc_editor_panel.cpp.

◆ Init()

void CSrcDescEditorPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 123 of file src_desc_editor_panel.cpp.

References m_SourceTreebook, and NULL.

Referenced by CSrcDescEditorPanel().

◆ ShowToolTips()

bool CSrcDescEditorPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 160 of file src_desc_editor_panel.cpp.

◆ TransferDataFromWindow()

bool CSrcDescEditorPanel::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CSrcDescEditorPanel::TransferDataToWindow ( )
virtual

Definition at line 192 of file src_desc_editor_panel.cpp.

Referenced by ChangeSeqdesc().

◆ UpdateSeqdesc()

void CSrcDescEditorPanel::UpdateSeqdesc ( objects::CSeqdesc &  desc)
virtual

◆ UpdateTaxname()

void CSrcDescEditorPanel::UpdateTaxname ( )
virtual

Member Data Documentation

◆ m_BioSource

CRef<objects::CBioSource> CSrcDescEditorPanel::m_BioSource
protected

Definition at line 132 of file src_desc_editor_panel.hpp.

Referenced by ChangeSeqdesc(), and TransferDataFromWindow().

◆ m_LocAndGCodePanel

CLocAndGCodePanel* CSrcDescEditorPanel::m_LocAndGCodePanel { nullptr }
protected

◆ m_SourceTreebook

wxTreebook* CSrcDescEditorPanel::m_SourceTreebook

Definition at line 118 of file src_desc_editor_panel.hpp.

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

◆ m_SrcOtherPanel

CSourceOtherPanel* CSrcDescEditorPanel::m_SrcOtherPanel { nullptr }
protected

◆ m_SrcPanel

CBioSourcePanel* CSrcDescEditorPanel::m_SrcPanel { nullptr }
protected

Definition at line 133 of file src_desc_editor_panel.hpp.

Referenced by ChangeSeqdesc(), TransferDataFromWindow(), and UpdateSeqdesc().


The documentation for this class was generated from the following files:
Modified on Sun Jul 21 04:15:04 2024 by modify_doxy.py rev. 669887