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

Search Toolkit Book for CBulkLocationPanel

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

+ Inheritance diagram for CBulkLocationPanel:
+ Collaboration diagram for CBulkLocationPanel:

Public Types

enum  {
  ID_CBULKLOCATIONPANEL = 6410 , ID_BULKLOC_CHCKBOX1 = 6411 , ID_BULKLOC_CHCKBOX2 = 6412 , ID_BULKLOC_RBOX = 6413 ,
  ID_BULKLOC_RBTN1 = 6414 , ID_BULKLOC_RBTN2 = 6415 , ID_BULKLOC_TEXTCTRL1 = 6416 , ID_BULKLOC_TEXTCTRL2 = 6417 ,
  ID_BULKLOC_CHCKBOX3 = 6418
}
 Control identifiers. More...
 

Public Member Functions

 CBulkLocationPanel ()
 Constructors. More...
 
 CBulkLocationPanel (wxWindow *parent, wxWindowID id=ID_CBULKLOCATIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 500), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CBULKLOCATIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 500), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CBulkLocationPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnBulklocRbtn1Selected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_BULKLOC_RBTN1 More...
 
void OnBulklocRbtn2Selected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_BULKLOC_RBTN2 More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
CRef< objects::CSeq_loc > GetLocForBioseq (const objects::CBioseq &bioseq)
 
bool ShouldAddToExisting ()
 

Static Public Member Functions

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

Public Attributes

wxCheckBox * m_Partial5
 
wxCheckBox * m_Partial3
 
wxRadioBox * m_Strand
 
wxRadioButton * m_WholeSeq
 
wxRadioButton * m_Coordinates
 
wxTextCtrl * m_From
 
wxTextCtrl * m_To
 
wxCheckBox * m_AddToExisting
 

Detailed Description

CBulkLocationPanel class declaration

Definition at line 74 of file bulk_location_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CBULKLOCATIONPANEL 
ID_BULKLOC_CHCKBOX1 
ID_BULKLOC_CHCKBOX2 
ID_BULKLOC_RBOX 
ID_BULKLOC_RBTN1 
ID_BULKLOC_RBTN2 
ID_BULKLOC_TEXTCTRL1 
ID_BULKLOC_TEXTCTRL2 
ID_BULKLOC_CHCKBOX3 

Definition at line 128 of file bulk_location_panel.hpp.

Constructor & Destructor Documentation

◆ CBulkLocationPanel() [1/2]

CBulkLocationPanel::CBulkLocationPanel ( )

Constructors.

CBulkLocationPanel type definition

CBulkLocationPanel event table definition

CBulkLocationPanel constructors

Definition at line 74 of file bulk_location_panel.cpp.

References Init().

◆ CBulkLocationPanel() [2/2]

CBulkLocationPanel::CBulkLocationPanel ( wxWindow *  parent,
wxWindowID  id = ID_CBULKLOCATIONPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 500),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CBulkLocationPanel()

CBulkLocationPanel::~CBulkLocationPanel ( )

Destructor.

CBulkLocationPanel destructor

Definition at line 110 of file bulk_location_panel.cpp.

Member Function Documentation

◆ Create()

bool CBulkLocationPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CBULKLOCATIONPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 500),
long  style = wxTAB_TRAVERSAL 
)

Creation.

CBulkLocationPanel creator

Definition at line 90 of file bulk_location_panel.cpp.

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

Referenced by CBulkLocationPanel().

◆ CreateControls()

void CBulkLocationPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CBulkLocationPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 223 of file bulk_location_panel.cpp.

◆ GetIconResource()

wxIcon CBulkLocationPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 236 of file bulk_location_panel.cpp.

◆ GetLocForBioseq()

CRef< CSeq_loc > CBulkLocationPanel::GetLocForBioseq ( const objects::CBioseq &  bioseq)

◆ Init()

void CBulkLocationPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 121 of file bulk_location_panel.cpp.

References m_AddToExisting, m_Coordinates, m_From, m_Partial3, m_Partial5, m_Strand, m_To, m_WholeSeq, and NULL.

Referenced by CBulkLocationPanel().

◆ OnBulklocRbtn1Selected()

void CBulkLocationPanel::OnBulklocRbtn1Selected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_BULKLOC_RBTN1

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RADIOBUTTON2

Definition at line 250 of file bulk_location_panel.cpp.

References m_From, and m_To.

◆ OnBulklocRbtn2Selected()

void CBulkLocationPanel::OnBulklocRbtn2Selected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_BULKLOC_RBTN2

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RADIOBUTTON3

Definition at line 261 of file bulk_location_panel.cpp.

References m_From, and m_To.

◆ ShouldAddToExisting()

bool CBulkLocationPanel::ShouldAddToExisting ( )
inline

Definition at line 142 of file bulk_location_panel.hpp.

References m_AddToExisting.

Referenced by CBulkCmdPanel::ShouldAddToExisting().

◆ ShowToolTips()

bool CBulkLocationPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 214 of file bulk_location_panel.cpp.

Member Data Documentation

◆ m_AddToExisting

wxCheckBox* CBulkLocationPanel::m_AddToExisting

Definition at line 126 of file bulk_location_panel.hpp.

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

◆ m_Coordinates

wxRadioButton* CBulkLocationPanel::m_Coordinates

Definition at line 123 of file bulk_location_panel.hpp.

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

◆ m_From

wxTextCtrl* CBulkLocationPanel::m_From

◆ m_Partial3

wxCheckBox* CBulkLocationPanel::m_Partial3

Definition at line 120 of file bulk_location_panel.hpp.

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

◆ m_Partial5

wxCheckBox* CBulkLocationPanel::m_Partial5

Definition at line 119 of file bulk_location_panel.hpp.

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

◆ m_Strand

wxRadioBox* CBulkLocationPanel::m_Strand

Definition at line 121 of file bulk_location_panel.hpp.

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

◆ m_To

wxTextCtrl* CBulkLocationPanel::m_To

◆ m_WholeSeq

wxRadioButton* CBulkLocationPanel::m_WholeSeq

Definition at line 122 of file bulk_location_panel.hpp.

Referenced by CreateControls(), and Init().


The documentation for this class was generated from the following files:
Modified on Sun May 19 04:39:41 2024 by modify_doxy.py rev. 669887