1 #ifndef _GUI_WIDGETS_EDIT___CROSSREF_FEATS_DLG_HPP_
2 #define _GUI_WIDGETS_EDIT___CROSSREF_FEATS_DLG_HPP_
35 #include <wx/dialog.h>
49 #define SYMBOL_CCROSSREFFEATSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
50 #define SYMBOL_CCROSSREFFEATSDLG_TITLE _("Cross referenced features")
51 #define SYMBOL_CCROSSREFFEATSDLG_IDNAME ID_CCROSSREFFEATSDLG
52 #define SYMBOL_CCROSSREFFEATSDLG_SIZE wxSize(400, 300)
53 #define SYMBOL_CCROSSREFFEATSDLG_POSITION wxDefaultPosition
67 typedef vector<objects::CSeq_feat_Handle>
TFeatVec;
71 const objects::CFeat_id::TLocal& feat_id,
79 bool Create( wxWindow* parent,
wxCheckListBox * m_FeatList
void CreateControls()
Creates the controls and sizers.
bool TransferDataToWindow()
const objects::CFeat_id::TLocal * m_Featid
static bool ShowToolTips()
Should we show tooltips?
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
CRef< CCmdComposite > GetCommand()
~CCrossRefFeatsDlg()
Destructor.
void Init()
Initialises member variables.
CCrossRefFeatsDlg()
Constructors.
CCrossRefFeatsDlg(wxWindow *parent, TFeatVec &feats, const objects::CFeat_id::TLocal &feat_id, wxWindowID id=ID_CCROSSREFFEATSDLG, const wxString &caption=_("Cross referenced features"), 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=ID_CCROSSREFFEATSDLG, const wxString &caption=_("Cross referenced features"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
vector< objects::CSeq_feat_Handle > TFeatVec
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define SYMBOL_CCROSSREFFEATSDLG_STYLE
#define SYMBOL_CCROSSREFFEATSDLG_TITLE
#define SYMBOL_CCROSSREFFEATSDLG_POSITION
#define SYMBOL_CCROSSREFFEATSDLG_IDNAME
#define SYMBOL_CCROSSREFFEATSDLG_SIZE
#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