NCBI C++ ToolKit
|
Search Toolkit Book for CAgpLoadPage
#include <gui/widgets/loaders/agp_load_page.hpp>
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... | |
CAgpLoadParams & | GetData () |
Data access. More... | |
const CAgpLoadParams & | GetData () 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... | |
CAgpLoadPage class declaration
Definition at line 67 of file agp_load_page.hpp.
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.
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::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 | ( | ) |
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().
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().
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().
|
inline |
Data access.
Definition at line 105 of file agp_load_page.hpp.
References m_data.
Referenced by CreateControls(), and CAgpLoader::DoTransition().
|
inline |
Definition at line 106 of file agp_load_page.hpp.
References m_data.
wxIcon CAgpLoadPage::GetIconResource | ( | const wxString & | name | ) |
void CAgpLoadPage::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 126 of file agp_load_page.cpp.
Referenced by CAgpLoadPage().
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.
|
inline |
Definition at line 107 of file agp_load_page.hpp.
Referenced by CAgpLoader::x_GetParamsPanel().
|
static |
Should we show tooltips?
Should we show tooltips?
Definition at line 190 of file agp_load_page.cpp.
Referenced by CreateControls().
|
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().
|
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().
CAgpLoadParams CAgpLoadPage::m_data |
@begin CAgpLoadPage member variables
The data edited by this window
Definition at line 121 of file agp_load_page.hpp.