NCBI C++ ToolKit
|
Search Toolkit Book for CAutodefDlg
#include <gui/packages/pkg_sequence_edit/autodef_dlg.hpp>
Public Member Functions | |
CAutodefDlg () | |
Constructors. More... | |
CAutodefDlg (wxWindow *parent, wxWindowID id=10189, const wxString &caption=_("Automatic Definition Line"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=10189, const wxString &caption=_("Automatic Definition Line"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL) |
Creation. More... | |
~CAutodefDlg () | |
Destructor. More... | |
void | Init () |
Initialises member variables. More... | |
void | CreateControls () |
Creates the controls and sizers. More... | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. More... | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. More... | |
void | SetParams (SAutodefParams *params) |
void | PopulateParams (SAutodefParams ¶ms) |
void | Clear () |
void | ShowSourceOptions (bool show) |
bool | OnlyTargeted () |
Public Member Functions inherited from CReportEditingDialog | |
virtual bool | Show (bool show=1) |
Report opening events in dialogs used in the editing package. More... | |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? More... | |
Public Attributes | |
CAutodefOrgPanel * | m_OrgPanel |
CAutodefFeatClausePanel * | m_FeatClausePanel |
wxCheckBox * | m_Targeted |
CAutodefDlg class declaration
Definition at line 82 of file autodef_dlg.hpp.
CAutodefDlg::CAutodefDlg | ( | ) |
Constructors.
CAutodefDlg type definition
CAutodefDlg event table definition
CAutodefDlg constructors
Definition at line 69 of file autodef_dlg.cpp.
References Init().
CAutodefDlg::CAutodefDlg | ( | wxWindow * | parent, |
wxWindowID | id = 10189 , |
||
const wxString & | caption = _("Automatic Definition Line") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Definition at line 74 of file autodef_dlg.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CAutodefDlg::~CAutodefDlg | ( | ) |
void CAutodefDlg::Clear | ( | void | ) |
Definition at line 198 of file autodef_dlg.cpp.
References CAutodefFeatClausePanel::Clear(), CAutodefOrgPanel::Clear(), m_FeatClausePanel, and m_OrgPanel.
bool CAutodefDlg::Create | ( | wxWindow * | parent, |
wxWindowID | id = 10189 , |
||
const wxString & | caption = _("Automatic Definition Line") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL |
||
) |
Creation.
CAutodefDlg creator
Definition at line 85 of file autodef_dlg.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CAutodefDlg().
void CAutodefDlg::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for CAutodefDlg
Definition at line 131 of file autodef_dlg.cpp.
References _, ID_AD_WINDOW7, ID_AD_WINDOW8, ID_CHECKBOX14, m_FeatClausePanel, m_OrgPanel, and m_Targeted.
Referenced by Create().
wxBitmap CAutodefDlg::GetBitmapResource | ( | const wxString & | name | ) |
wxIcon CAutodefDlg::GetIconResource | ( | const wxString & | name | ) |
void CAutodefDlg::Init | ( | void | ) |
Initialises member variables.
Member initialisation
Definition at line 117 of file autodef_dlg.cpp.
References m_FeatClausePanel, m_OrgPanel, m_Targeted, and NULL.
Referenced by CAutodefDlg().
|
inline |
Definition at line 130 of file autodef_dlg.hpp.
References m_Targeted.
Referenced by CSequenceEditingEventHandler::Autodef(), and CEditingBtnsPanel::AutodefOptions().
void CAutodefDlg::PopulateParams | ( | SAutodefParams & | params | ) |
Definition at line 216 of file autodef_dlg.cpp.
References m_FeatClausePanel, m_OrgPanel, CAutodefFeatClausePanel::PopulateParams(), and CAutodefOrgPanel::PopulateParams().
Referenced by CSequenceEditingEventHandler::Autodef(), CEditingBtnsPanel::AutodefOptions(), and CEditingBtnsPanel::AutodefPopset().
void CAutodefDlg::SetParams | ( | SAutodefParams * | params | ) |
Definition at line 205 of file autodef_dlg.cpp.
References m_FeatClausePanel, m_OrgPanel, CAutodefFeatClausePanel::SetParams(), and CAutodefOrgPanel::SetParams().
Referenced by CSequenceEditingEventHandler::Autodef(), CEditingBtnsPanel::AutodefOptions(), and CEditingBtnsPanel::AutodefPopset().
void CAutodefDlg::ShowSourceOptions | ( | bool | show | ) |
Definition at line 223 of file autodef_dlg.cpp.
References m_OrgPanel.
Referenced by CSequenceEditingEventHandler::Autodef(), and CEditingBtnsPanel::AutodefPopset().
|
static |
CAutodefFeatClausePanel* CAutodefDlg::m_FeatClausePanel |
Definition at line 122 of file autodef_dlg.hpp.
Referenced by Clear(), CreateControls(), Init(), PopulateParams(), and SetParams().
CAutodefOrgPanel* CAutodefDlg::m_OrgPanel |
Definition at line 121 of file autodef_dlg.hpp.
Referenced by Clear(), CreateControls(), Init(), PopulateParams(), SetParams(), and ShowSourceOptions().
wxCheckBox* CAutodefDlg::m_Targeted |
Definition at line 123 of file autodef_dlg.hpp.
Referenced by CreateControls(), Init(), and OnlyTargeted().