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

Search Toolkit Book for CAssemblySelPanel

#include <gui/widgets/loaders/assembly_sel_panel.hpp>

+ Inheritance diagram for CAssemblySelPanel:
+ Collaboration diagram for CAssemblySelPanel:

Public Types

enum  { ID_CASSEMBLYSELPANEL = 10116 , ID_CHECKBOX6 = 10038 , ID_BUTTON1 = 10118 }
 Control identifiers. More...
 

Public Member Functions

 CAssemblySelPanel ()
 
 CAssemblySelPanel (wxWindow *parent, wxWindowID id=ID_CASSEMBLYSELPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CASSEMBLYSELPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
 
 ~CAssemblySelPanel ()
 
void Init ()
 
void CreateControls ()
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
void OnUseMappingClick (wxCommandEvent &event)
 wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX6 More...
 
void OnSelectAssemBtnClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON1 More...
 
CMapAssemblyParamsGetData ()
 Data access. More...
 
const CMapAssemblyParamsGetData () const
 
void SetData (const CMapAssemblyParams &data)
 
void EnableUseMapping (bool enable=true)
 
void SetUseMapping (bool mapping=true)
 
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 ()
 

Protected Member Functions

void x_UpdateControls ()
 
void x_UpdateAssembly ()
 
void x_SetTextCompleter (wxTextCompleter *textCompleter)
 

Private Attributes

wxCheckBox * m_UseMappingCtrl
 
wxStaticText * m_AssemblyName
 
wxStaticText * m_AssemblyAccession
 
wxStaticText * m_AssemblyDescription
 
CMapAssemblyParams m_data
 The data edited by this window. More...
 

Detailed Description

CAssemblySelPanel class declaration

Definition at line 84 of file assembly_sel_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CASSEMBLYSELPANEL 
ID_CHECKBOX6 
ID_BUTTON1 

Definition at line 143 of file assembly_sel_panel.hpp.

Constructor & Destructor Documentation

◆ CAssemblySelPanel() [1/2]

CAssemblySelPanel::CAssemblySelPanel ( )

Definition at line 70 of file assembly_sel_panel.cpp.

References Init().

◆ CAssemblySelPanel() [2/2]

CAssemblySelPanel::CAssemblySelPanel ( wxWindow *  parent,
wxWindowID  id = ID_CASSEMBLYSELPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)

◆ ~CAssemblySelPanel()

CAssemblySelPanel::~CAssemblySelPanel ( )

Definition at line 95 of file assembly_sel_panel.cpp.

Member Function Documentation

◆ Create()

bool CAssemblySelPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CASSEMBLYSELPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CAssemblySelPanel::CreateControls ( )

◆ EnableUseMapping()

void CAssemblySelPanel::EnableUseMapping ( bool  enable = true)

Definition at line 214 of file assembly_sel_panel.cpp.

References _ASSERT, and m_UseMappingCtrl.

Referenced by CVcfAssemblySelectionPanel::CreateControls().

◆ GetBitmapResource()

wxBitmap CAssemblySelPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Definition at line 179 of file assembly_sel_panel.cpp.

◆ GetData() [1/2]

CMapAssemblyParams& CAssemblySelPanel::GetData ( void  )
inline

◆ GetData() [2/2]

const CMapAssemblyParams& CAssemblySelPanel::GetData ( void  ) const
inline

Definition at line 127 of file assembly_sel_panel.hpp.

◆ GetIconResource()

wxIcon CAssemblySelPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Definition at line 187 of file assembly_sel_panel.cpp.

◆ Init()

void CAssemblySelPanel::Init ( void  )

◆ OnSelectAssemBtnClick()

void CAssemblySelPanel::OnSelectAssemBtnClick ( wxCommandEvent &  event)

◆ OnUseMappingClick()

void CAssemblySelPanel::OnUseMappingClick ( wxCommandEvent &  event)

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX6

Definition at line 226 of file assembly_sel_panel.cpp.

References x_UpdateControls().

◆ SetData()

void CAssemblySelPanel::SetData ( const CMapAssemblyParams data)
inline

◆ SetUseMapping()

void CAssemblySelPanel::SetUseMapping ( bool  mapping = true)

Definition at line 220 of file assembly_sel_panel.cpp.

References _ASSERT, and m_UseMappingCtrl.

Referenced by CVcfAssemblySelectionPanel::CreateControls().

◆ ShowToolTips()

bool CAssemblySelPanel::ShowToolTips ( )
static

Definition at line 175 of file assembly_sel_panel.cpp.

◆ TransferDataFromWindow()

bool CAssemblySelPanel::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CAssemblySelPanel::TransferDataToWindow ( )
virtual

◆ x_SetTextCompleter()

void CAssemblySelPanel::x_SetTextCompleter ( wxTextCompleter *  textCompleter)
protected

◆ x_UpdateAssembly()

void CAssemblySelPanel::x_UpdateAssembly ( )
protected

◆ x_UpdateControls()

void CAssemblySelPanel::x_UpdateControls ( )
protected

Member Data Documentation

◆ m_AssemblyAccession

wxStaticText* CAssemblySelPanel::m_AssemblyAccession
private

Definition at line 158 of file assembly_sel_panel.hpp.

Referenced by CreateControls(), Init(), x_UpdateAssembly(), and x_UpdateControls().

◆ m_AssemblyDescription

wxStaticText* CAssemblySelPanel::m_AssemblyDescription
private

Definition at line 159 of file assembly_sel_panel.hpp.

Referenced by CreateControls(), Init(), x_UpdateAssembly(), and x_UpdateControls().

◆ m_AssemblyName

wxStaticText* CAssemblySelPanel::m_AssemblyName
private

◆ m_data

CMapAssemblyParams CAssemblySelPanel::m_data
private

The data edited by this window.

Definition at line 161 of file assembly_sel_panel.hpp.

◆ m_UseMappingCtrl

wxCheckBox* CAssemblySelPanel::m_UseMappingCtrl
private

The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:50 2024 by modify_doxy.py rev. 669887