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

Search Toolkit Book for CAgpLoadPage

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

+ Inheritance diagram for CAgpLoadPage:
+ Collaboration diagram for CAgpLoadPage:

Public Types

enum  {
  ID_CAGPLOADPAGE = 10041 , ID_RADIOBOX2 = 10042 , ID_CHECKBOX16 = 10043 , ID_TEXTCTRL6 = 10044 ,
  ID_BITMAPBUTTON1 = 10017
}
 Control identifiers. More...
 

Public Member Functions

 CAgpLoadPage ()
 Constructors. More...
 
 CAgpLoadPage (wxWindow *parent, wxWindowID id=ID_CAGPLOADPAGE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CAGPLOADPAGE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CAgpLoadPage ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
virtual bool TransferDataToWindow ()
 Transfer data to the window. More...
 
virtual bool TransferDataFromWindow ()
 Transfer data from the window. More...
 
void OnFASTASeqsBrowse (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BITMAPBUTTON1 More...
 
CAgpLoadParamsGetData ()
 Data access. More...
 
const CAgpLoadParamsGetData () const
 
void SetData (const CAgpLoadParams &data)
 
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...
 

Public Attributes

CAgpLoadParams m_data
 @begin CAgpLoadPage member variables More...
 

Detailed Description

CAgpLoadPage class declaration

Definition at line 67 of file agp_load_page.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CAGPLOADPAGE 
ID_RADIOBOX2 
ID_CHECKBOX16 
ID_TEXTCTRL6 
ID_BITMAPBUTTON1 

Definition at line 123 of file agp_load_page.hpp.

Constructor & Destructor Documentation

◆ CAgpLoadPage() [1/2]

CAgpLoadPage::CAgpLoadPage ( )

Constructors.

CAgpLoadPage type definition

CAgpLoadPage event table definition

CAgpLoadPage constructors

Definition at line 79 of file agp_load_page.cpp.

References Init().

◆ CAgpLoadPage() [2/2]

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

Definition at line 84 of file agp_load_page.cpp.

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

◆ ~CAgpLoadPage()

CAgpLoadPage::~CAgpLoadPage ( )

Destructor.

CAgpLoadPage destructor

Definition at line 115 of file agp_load_page.cpp.

Member Function Documentation

◆ Create()

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

Creation.

CAgpLoadPage creator

Definition at line 95 of file agp_load_page.cpp.

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

Referenced by CAgpLoadPage().

◆ CreateControls()

void CAgpLoadPage::CreateControls ( )

Creates the controls and sizers.

Control creation for CAgpLoadPage

Definition at line 137 of file agp_load_page.cpp.

References _, GetBitmapResource(), GetData(), ID_BITMAPBUTTON1, ID_CHECKBOX16, ID_RADIOBOX2, ID_TEXTCTRL6, ShowToolTips(), and wxT.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CAgpLoadPage::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 199 of file agp_load_page.cpp.

Referenced by CreateControls().

◆ GetData() [1/2]

CAgpLoadParams& CAgpLoadPage::GetData ( void  )
inline

Data access.

Definition at line 105 of file agp_load_page.hpp.

References m_data.

Referenced by CreateControls(), and CAgpLoader::DoTransition().

◆ GetData() [2/2]

const CAgpLoadParams& CAgpLoadPage::GetData ( void  ) const
inline

Definition at line 106 of file agp_load_page.hpp.

References m_data.

◆ GetIconResource()

wxIcon CAgpLoadPage::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 208 of file agp_load_page.cpp.

◆ Init()

void CAgpLoadPage::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 126 of file agp_load_page.cpp.

Referenced by CAgpLoadPage().

◆ OnFASTASeqsBrowse()

void CAgpLoadPage::OnFASTASeqsBrowse ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BITMAPBUTTON1

Definition at line 235 of file agp_load_page.cpp.

References ID_TEXTCTRL6, and wxT.

◆ SetData()

void CAgpLoadPage::SetData ( const CAgpLoadParams data)
inline

Definition at line 107 of file agp_load_page.hpp.

References data, and m_data.

Referenced by CAgpLoader::x_GetParamsPanel().

◆ ShowToolTips()

bool CAgpLoadPage::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 190 of file agp_load_page.cpp.

Referenced by CreateControls().

◆ TransferDataFromWindow()

bool CAgpLoadPage::TransferDataFromWindow ( )
virtual

Transfer data from the window.

Transfer data from the window

Definition at line 230 of file agp_load_page.cpp.

Referenced by CAgpLoader::DoTransition().

◆ TransferDataToWindow()

bool CAgpLoadPage::TransferDataToWindow ( )
virtual

Transfer data to the window.

Transfer data to the window

Definition at line 221 of file agp_load_page.cpp.

Referenced by CAgpLoader::x_GetParamsPanel().

Member Data Documentation

◆ m_data

CAgpLoadParams CAgpLoadPage::m_data

@begin CAgpLoadPage member variables

The data edited by this window

Definition at line 121 of file agp_load_page.hpp.

Referenced by GetData(), and SetData().


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