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

Search Toolkit Book for CGenePanel

#include "gene_panel.hpp"
(Private to src/gui/widgets/edit.)

+ Inheritance diagram for CGenePanel:
+ Collaboration diagram for CGenePanel:

Public Types

enum  {
  ID_CGENEPANEL = 10003 , ID_TEXT1_GENEPNL = 10004 , ID_TEXT2_GENEPNL = 10005 , ID_TEXT3_GENEPNL = 10006 ,
  ID_TEXT4_GENEPNL = 10174 , ID_TEXT5_GENEPNL = 10008
}
 @begin CGenePanel member variables More...
 

Public Member Functions

 CGenePanel ()
 Constructors. More...
 
 CGenePanel (wxWindow *parent, CSerialObject &object, objects::CScope &scope, wxWindowID id=ID_CGENEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CGENEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CGenePanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 

Static Public Member Functions

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

Private Attributes

CSerialObjectm_Object
 

Detailed Description

CGenePanel class declaration

Definition at line 75 of file gene_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

@begin CGenePanel member variables

Control identifiers

Enumerator
ID_CGENEPANEL 
ID_TEXT1_GENEPNL 
ID_TEXT2_GENEPNL 
ID_TEXT3_GENEPNL 
ID_TEXT4_GENEPNL 
ID_TEXT5_GENEPNL 

Definition at line 116 of file gene_panel.hpp.

Constructor & Destructor Documentation

◆ CGenePanel() [1/2]

CGenePanel::CGenePanel ( )

Constructors.

CGenePanel type definition

CGenePanel event table definition

CGenePanel constructors

Definition at line 76 of file gene_panel.cpp.

References Init().

◆ CGenePanel() [2/2]

CGenePanel::CGenePanel ( wxWindow *  parent,
CSerialObject object,
objects::CScope &  scope,
wxWindowID  id = ID_CGENEPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CGenePanel()

CGenePanel::~CGenePanel ( )

Destructor.

CGenePanel destructor

Definition at line 116 of file gene_panel.cpp.

Member Function Documentation

◆ Create()

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

Creation.

CGenePanel creator

Definition at line 96 of file gene_panel.cpp.

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

Referenced by CGenePanel().

◆ CreateControls()

void CGenePanel::CreateControls ( )

Creates the controls and sizers.

Control creation for CGenePanel

Definition at line 138 of file gene_panel.cpp.

References _, ID_TEXT1_GENEPNL, ID_TEXT2_GENEPNL, ID_TEXT3_GENEPNL, ID_TEXT4_GENEPNL, ID_TEXT5_GENEPNL, and m_Object.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CGenePanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 218 of file gene_panel.cpp.

◆ GetIconResource()

wxIcon CGenePanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 231 of file gene_panel.cpp.

◆ Init()

void CGenePanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 127 of file gene_panel.cpp.

Referenced by CGenePanel().

◆ ShowToolTips()

bool CGenePanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 209 of file gene_panel.cpp.

Member Data Documentation

◆ m_Object

CSerialObject* CGenePanel::m_Object
private

Definition at line 127 of file gene_panel.hpp.

Referenced by CGenePanel(), and CreateControls().


The documentation for this class was generated from the following files:
Modified on Wed May 15 15:09:28 2024 by modify_doxy.py rev. 669887