Search Toolkit Book for CSrcModListPanel
#include "srcmod_list_panel.hpp"
(Private to src/gui/widgets/edit
.)
CSrcModListPanel class declaration
Definition at line 65 of file srcmod_list_panel.hpp.
◆ TVecModData ◆ anonymous enumControl identifiers.
Enumerator ID_CSRCMODLISTPANEL ID_SCROLLEDWINDOW1 ID_TEXTCTRL7 ID_CLR_SRC_NOTE ID_TEXTCTRL4 ID_CLR_ORG_NOTEDefinition at line 124 of file srcmod_list_panel.hpp.
◆ CSrcModListPanel() [1/2] CSrcModListPanel::CSrcModListPanel ( ) ◆ CSrcModListPanel() [2/2] CSrcModListPanel::CSrcModListPanel ( wxWindow * parent, objects::CBioSource & source, wxWindowID id =ID_CSRCMODLISTPANEL
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400, 300)
, long style = wxTAB_TRAVERSAL
) ◆ ~CSrcModListPanel() CSrcModListPanel::~CSrcModListPanel ( ) ◆ AddLastSrcMod() void CSrcModListPanel::AddLastSrcMod ( wxWindow * link ) ◆ Create() bool CSrcModListPanel::Create ( wxWindow * parent, wxWindowID id = ID_CSRCMODLISTPANEL
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400, 300)
, long style = wxTAB_TRAVERSAL
) ◆ CreateControls() void CSrcModListPanel::CreateControls ( )
Creates the controls and sizers.
Definition at line 152 of file srcmod_list_panel.cpp.
References _, CRef< C, Locker >::GetPointer(), ID_ADD_PCR_PRIMER, ID_CLR_ORG_NOTE, ID_CLR_SRC_NOTE, ID_PCR_CHECKBOX, ID_SCROLLEDWINDOW1, ID_TEXTCTRL4, ID_TEXTCTRL7, kCtrlColNum, m_NumRows, m_OrgNote, m_PCRCheckbox, m_PCRPrimersBoxSizer1, m_PCRPrimersBoxSizer2, m_PCRPrimersBoxSizer3, m_PCRPrimersPanel, m_ScrolledWindow, m_ScrollRate, m_Sizer, m_Source, m_SrcInfo, m_TotalHeight, m_TotalWidth, CPCRPrimersPanel::TransferDataToWindow(), wxFIXED_MINSIZE, wxT, and x_ShowPCRPrimerItems().
Referenced by Create().
◆ GetBitmapResource() wxBitmap CSrcModListPanel::GetBitmapResource ( const wxString & name ) ◆ GetIconResource() wxIcon CSrcModListPanel::GetIconResource ( const wxString & name ) ◆ Init() void CSrcModListPanel::Init ( void ) ◆ OnAddPCRPrimer() void CSrcModListPanel::OnAddPCRPrimer ( wxCommandEvent & event ) ◆ OnChangedTaxname() void CSrcModListPanel::OnChangedTaxname ( void ) ◆ OnClrOrgNoteHyperlinkClicked() void CSrcModListPanel::OnClrOrgNoteHyperlinkClicked ( wxHyperlinkEvent & event ) ◆ OnClrSrcNoteHyperlinkClicked() void CSrcModListPanel::OnClrSrcNoteHyperlinkClicked ( wxHyperlinkEvent & event ) ◆ OnDelete() void CSrcModListPanel::OnDelete ( wxHyperlinkEvent & event ) ◆ OnPCRCheckBox() void CSrcModListPanel::OnPCRCheckBox ( wxCommandEvent & event ) ◆ PopulateModifiers() void CSrcModListPanel::PopulateModifiers ( objects::CBioSource & biosrc )Definition at line 553 of file srcmod_list_panel.cpp.
References CSerialObject::Assign(), CBioSource_Base::GetOrg(), CBioSource_Base::IsSetOrg(), COrg_ref_Base::IsSetOrgname(), ITERATE, m_PCRPrimersPanel, m_ReadOnlyQuals, m_Source, CBioSource_Base::ResetSubtype(), CSubSource_Base::SetName(), CBioSource_Base::SetOrg(), COrgMod_Base::SetSubname(), COrgMod_Base::SetSubtype(), CSubSource_Base::SetSubtype(), CBioSource_Base::SetSubtype(), CPCRPrimersPanel::TransferDataFromWindow(), and CPCRPrimersPanel::UpdateBioSourcePrimers().
Referenced by CBioSourcePanel::PopulateBioSource(), and CBioSourcePanel::x_SetOrganismInfo().
◆ SetSource() void CSrcModListPanel::SetSource ( const objects::CBioSource & biosrc ) ◆ ShowToolTips() bool CSrcModListPanel::ShowToolTips ( ) static ◆ TransferDataFromWindow() bool CSrcModListPanel::TransferDataFromWindow ( ) virtual ◆ TransferDataToWindow() bool CSrcModListPanel::TransferDataToWindow ( ) virtual ◆ x_AddEmptyRow() void CSrcModListPanel::x_AddEmptyRow ( ) private ◆ x_AddRow() void CSrcModListPanel::x_AddRow ( wxString name, wxString value ) privateDefinition at line 412 of file srcmod_list_panel.cpp.
References data, m_NumRows, m_ScrolledWindow, m_ScrollRate, m_Sizer, m_TotalHeight, m_TotalWidth, CSrcModPanel::SetModifierData(), rapidjson::value, wxID_ANY, and wxT.
Referenced by x_AddEmptyRow(), and x_AddTextSrcMods().
◆ x_AddTextSrcMods() void CSrcModListPanel::x_AddTextSrcMods ( ) privateDefinition at line 371 of file srcmod_list_panel.cpp.
References NStr::EqualNocase(), NStr::IsBlank(), m_Data, m_ScrolledWindow, m_ScrollRate, m_Sizer, m_TotalHeight, m_TotalWidth, s_IsNonText(), ToStdString(), wxT, x_AddEmptyRow(), and x_AddRow().
Referenced by OnChangedTaxname(), and TransferDataToWindow().
◆ x_CollectTextMods() void CSrcModListPanel::x_CollectTextMods ( ) private ◆ x_FillDataList() void CSrcModListPanel::x_FillDataList ( ) privateDefinition at line 305 of file srcmod_list_panel.cpp.
References data, COrgMod_Base::eSubtype_other, CSubSource_Base::eSubtype_other, CSubSource::GetSubtypeName(), COrgMod::GetSubtypeName(), NStr::IsBlank(), ITERATE, m_Data, m_OrgNoteText, m_ReadOnlyQuals, m_Source, m_SrcNoteText, om, s_IsReadOnly(), and ToWxString().
Referenced by TransferDataToWindow().
◆ x_FindRow() wxSizerItemList::iterator CSrcModListPanel::x_FindRow ( wxWindow * wnd, wxSizerItemList & itemList ) private ◆ x_SetBioSourceModifier() ◆ x_SetSrcOrgMod() void CSrcModListPanel::x_SetSrcOrgMod ( int subtype, const string & value ) private ◆ x_SetSrcSubMod() void CSrcModListPanel::x_SetSrcSubMod ( int subtype, const string & value ) private ◆ x_ShowPCRPrimerItems() void CSrcModListPanel::x_ShowPCRPrimerItems ( bool value ) private ◆ x_UpdateList() void CSrcModListPanel::x_UpdateList ( ) private ◆ m_Data ◆ m_NumRows int CSrcModListPanel::m_NumRows private ◆ m_OrgNote ◆ m_OrgNoteText string CSrcModListPanel::m_OrgNoteText private ◆ m_PCRCheckbox wxCheckBox* CSrcModListPanel::m_PCRCheckbox private ◆ m_PCRPrimersBoxSizer1 wxBoxSizer* CSrcModListPanel::m_PCRPrimersBoxSizer1 private ◆ m_PCRPrimersBoxSizer2 wxBoxSizer* CSrcModListPanel::m_PCRPrimersBoxSizer2 private ◆ m_PCRPrimersBoxSizer3 wxBoxSizer* CSrcModListPanel::m_PCRPrimersBoxSizer3 private ◆ m_PCRPrimersPanel ◆ m_ReadOnlyQuals list<CRef<objects::COrgMod> > CSrcModListPanel::m_ReadOnlyQuals private ◆ m_ScrolledWindow wxScrolledWindow* CSrcModListPanel::m_ScrolledWindow ◆ m_ScrollRate int CSrcModListPanel::m_ScrollRate private ◆ m_Sizer wxFlexGridSizer* CSrcModListPanel::m_Sizer ◆ m_Source CRef<objects::CBioSource> CSrcModListPanel::m_Source private ◆ m_SrcInfo ◆ m_SrcNoteText string CSrcModListPanel::m_SrcNoteText private ◆ m_TotalHeight int CSrcModListPanel::m_TotalHeight private ◆ m_TotalWidth int CSrcModListPanel::m_TotalWidth privateThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4