28 #ifndef _CFORMATTEDQUALPANEL_H_
29 #define _CFORMATTEDQUALPANEL_H_
46 #include <wx/bitmap.h>
48 #include <wx/choice.h>
49 #include <wx/textctrl.h>
50 #include <wx/stattext.h>
51 #include <wx/valtext.h>
52 #include <wx/hyperlink.h>
70 virtual void GetDimensions (
int *width,
int *height) {
if (width !=
NULL) *width = -1;
if (height !=
NULL) *height = -1; };
90 if (width < 0 || height < 0) {
91 panel->GetSize(&width, &height);
100 int d_width, d_height;
101 int scroll_width = 20;
102 itemHyperlinkCtrl->GetSize(&d_width, &d_height);
103 int new_width = width + d_width + scroll_width;
116 wxWindow* parent = this->GetParent();
120 while (parent && !listpanel) {
121 parent = parent->GetParent();
135 objects::CSeq_feat::TQual::iterator qual = feat.SetQual().begin();
136 while (qual != feat.SetQual().end()) {
138 qual = feat.SetQual().erase(qual);
157 virtual void GetDimensions (
int *width,
int *height) {
if (width !=
NULL) *width = -1;
if (height !=
NULL) *height = -1; };
virtual void GetDimensions(int *width, int *height)
virtual void NotifyParentOfChange()
static void RemoveRepresentedQuals(objects::CSeq_feat &feat, const string &qual_name)
virtual void x_AdjustForControl(CQualListItemPanel *panel, wxHyperlinkCtrl *itemHyperlinkCtrl)
virtual void OnChildChange(wxWindow *wnd)
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.