NCBI C++ ToolKit
|
Search Toolkit Book for CSubmitBlockPanel
#include <gui/widgets/edit/submitblockpanel.hpp>
Public Member Functions | |
CSubmitBlockPanel () | |
Constructors. More... | |
CSubmitBlockPanel (wxWindow *parent, CRef< objects::CSubmit_block > submit_block, bool create_submit_block=false, wxWindowID id=10077, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 400), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=10077, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 400), long style=wxTAB_TRAVERSAL) |
Creation. More... | |
~CSubmitBlockPanel () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
virtual bool | TransferDataToWindow () |
virtual bool | TransferDataFromWindow () |
void | SetData (const objects::CSubmit_block &submit_block) |
void | OnImmediateReleaseSelected (wxCommandEvent &event) |
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RBTN_SUBPNL1 More... | |
void | OnHUPSelected (wxCommandEvent &event) |
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RBTN_SUBPNL2 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 | |
wxRadioButton * | m_ImmediateRelease |
wxRadioButton * | m_HUP |
wxTextCtrl * | m_Title |
CFlexibleDatePanel * | m_Reldate |
CFlexibleDatePanel * | m_Submitdate |
CRef< objects::CSubmit_block > | m_SubBlock |
bool | m_CreateMode { false } |
CSubmitBlockPanel class declaration
Definition at line 70 of file submitblockpanel.hpp.
CSubmitBlockPanel::CSubmitBlockPanel | ( | ) |
CSubmitBlockPanel::CSubmitBlockPanel | ( | wxWindow * | parent, |
CRef< objects::CSubmit_block > | submit_block, | ||
bool | create_submit_block = false , |
||
wxWindowID | id = 10077 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 400) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
CSubmitBlockPanel::~CSubmitBlockPanel | ( | ) |
Destructor.
Definition at line 108 of file submitblockpanel.cpp.
bool CSubmitBlockPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10077 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 400) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Creation.
Definition at line 88 of file submitblockpanel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
void CSubmitBlockPanel::CreateControls | ( | ) |
Creates the controls and sizers.
Definition at line 135 of file submitblockpanel.cpp.
References _, ID_RBTN_SUBPNL1, ID_RBTN_SUBPNL2, ID_TEXTCTRL10, m_CreateMode, m_HUP, m_ImmediateRelease, m_Reldate, m_SubBlock, m_Submitdate, m_Title, and CCit_sub_Base::SetDate().
Referenced by Create().
wxBitmap CSubmitBlockPanel::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
Definition at line 258 of file submitblockpanel.cpp.
wxIcon CSubmitBlockPanel::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
Definition at line 271 of file submitblockpanel.cpp.
void CSubmitBlockPanel::Init | ( | void | ) |
Initialises member variables.
Definition at line 119 of file submitblockpanel.cpp.
References m_HUP, m_ImmediateRelease, m_Reldate, m_Submitdate, m_Title, and NULL.
void CSubmitBlockPanel::OnHUPSelected | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RBTN_SUBPNL2
Definition at line 295 of file submitblockpanel.cpp.
References m_Reldate.
void CSubmitBlockPanel::OnImmediateReleaseSelected | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RBTN_SUBPNL1
Definition at line 285 of file submitblockpanel.cpp.
References m_Reldate.
void CSubmitBlockPanel::SetData | ( | const objects::CSubmit_block & | submit_block | ) |
Definition at line 239 of file submitblockpanel.cpp.
References m_SubBlock, and TransferDataToWindow().
|
static |
Should we show tooltips?
Definition at line 249 of file submitblockpanel.cpp.
|
virtual |
Definition at line 218 of file submitblockpanel.cpp.
References m_HUP, m_SubBlock, m_Submitdate, m_Title, ToAsciiStdString(), and CFlexibleDatePanel::TransferDataFromWindow().
Referenced by CEditObjectSubmit_block::GetEditCommand().
|
virtual |
Definition at line 190 of file submitblockpanel.cpp.
References m_HUP, m_ImmediateRelease, m_Reldate, m_SubBlock, m_Submitdate, m_Title, and CFlexibleDatePanel::TransferDataToWindow().
Referenced by SetData(), and CEditObjectSubmit_block::x_TransferDataToWindow().
Definition at line 141 of file submitblockpanel.hpp.
Referenced by CreateControls().
|
private |
Definition at line 134 of file submitblockpanel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 133 of file submitblockpanel.hpp.
Referenced by CreateControls(), Init(), and TransferDataToWindow().
|
private |
Definition at line 137 of file submitblockpanel.hpp.
Referenced by CreateControls(), Init(), OnHUPSelected(), OnImmediateReleaseSelected(), and TransferDataToWindow().
|
private |
Definition at line 140 of file submitblockpanel.hpp.
Referenced by CreateControls(), SetData(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 138 of file submitblockpanel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 135 of file submitblockpanel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().