: m_trna(trna), m_Feat(feat)
87 Create(parent,
id, caption, pos,
size, style);
95 bool CtRNASubPanel::Create( wxWindow* parent, wxWindowID
id,
constwxString& caption,
constwxPoint& pos,
constwxSize&
size,
longstyle )
98SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
99wxPanel::Create( parent,
id, pos,
size, style );
104GetSizer()->SetSizeHints(
this);
144wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
145itemPanel1->SetSizer(itemBoxSizer2);
147 m_tRNATree=
newwxTreebook( itemPanel1,
ID_TREEBOOK, wxDefaultPosition, wxDefaultSize, wxBK_DEFAULT );
149itemBoxSizer2->Add(
m_tRNATree, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
169 for(
size_t i= 0;
i<
m_tRNATree->GetPageCount(); ++
i) {
179 if(!wxPanel::TransferDataToWindow())
182 for(
size_t i= 0;
i<
m_tRNATree->GetPageCount(); ++
i) {
192 if(!wxPanel::TransferDataFromWindow())
195 for(
size_t i= 0;
i<
m_tRNATree->GetPageCount(); ++
i) {
196 m_tRNATree->GetPage(
i)->TransferDataFromWindow();
202 if(!loc || loc->
IsNull() || loc->IsEmpty()) {
203 m_trna->ResetAnticodon();
205 m_trna->SetAnticodon(*loc);
208 m_trna->ResetAnticodon();
User-defined methods of the data storage class.
CRef< objects::CSeq_loc > GetSeq_loc() const
void SetGBQualPanel(CGBQualPanel *gbqual_panel)
static bool ShowToolTips()
Should we show tooltips?
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
CRef< objects::CTrna_ext > m_trna
CConstRef< objects::CSeq_feat > m_Feat
virtual bool TransferDataFromWindow()
void CreateControls()
Creates the controls and sizers.
bool Create(wxWindow *parent, wxWindowID id=ID_CTRNASUBPANEL, const wxString &caption=_("tRNA SubPanel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
~CtRNASubPanel()
Destructor.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void Init()
Initialises member variables.
CRef< objects::CScope > m_Scope
virtual bool TransferDataToWindow()
CLocationPanel * m_AnticodonLocPanel
void SetGBQualPanel(CGBQualPanel *gbqual_panel)
CtRNASubPanel()
Constructors.
void Reset(void)
Reset reference object.
bool IsNull(void) const THROWS_NONE
Check if pointer is null â same effect as Empty().
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
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