(parent,
id, caption, pos,
size, style);
88SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
89wxDialog::Create( parent,
id, caption, pos,
size, style );
134wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
135itemDialog1->SetSizer(itemBoxSizer2);
138itemBoxSizer2->Add(
m_SeqWidget, 1, wxGROW|wxALL, 5);
140wxBoxSizer* itemBoxSizer4 =
newwxBoxSizer(wxHORIZONTAL);
141itemBoxSizer2->Add(itemBoxSizer4, 0, wxGROW|wxALL, 5);
143wxFlexGridSizer* itemFlexGridSizer5 =
newwxFlexGridSizer(0, 2, 0, 0);
144itemBoxSizer4->Add(itemFlexGridSizer5, 1, wxALIGN_CENTER_VERTICAL|wxALL, 0);
148 m_AccInput->SetHelpText(
_(
"Enter Accession"));
151itemFlexGridSizer5->Add(
m_AccInput, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
153wxButton* itemButton7 =
newwxButton( itemDialog1,
ID_ACC,
_(
"Load Accession"), wxDefaultPosition, wxDefaultSize, 0 );
154itemFlexGridSizer5->Add(itemButton7, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
156 m_FileInput=
newwxTextCtrl( itemDialog1,
ID_FILE_TEXT, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
158 m_FileInput->SetHelpText(
_(
"Enter asn file name"));
161itemFlexGridSizer5->Add(
m_FileInput, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
163wxButton* itemButton9 =
newwxButton( itemDialog1,
ID_FILE,
_(
"Load File"), wxDefaultPosition, wxDefaultSize, 0 );
164itemFlexGridSizer5->Add(itemButton9, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
166itemFlexGridSizer5->AddGrowableCol(0);
168wxStaticLine* itemStaticLine10 =
newwxStaticLine( itemDialog1, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL );
169itemBoxSizer4->Add(itemStaticLine10, 0, wxGROW|wxALL, 5);
173itemBoxSizer4->Add(
m_FlipStrand, 0, wxALIGN_TOP|wxALL, 5);
175wxButton* itemButton12 =
newwxButton( itemDialog1, wxID_CLOSE,
_(
"&Close"), wxDefaultPosition, wxDefaultSize, 0 );
177itemButton12->SetToolTip(
_(
"Close"));
178itemBoxSizer4->Add(itemButton12, 0, wxALIGN_BOTTOM|wxALL, 5);
201 string msg(
"Accession '");
202 msg+= acc +
" not recognized as a valid accession";
204wxOK | wxICON_ERROR);
223 "CViewGraphical::InitView() - finish with loading configuration!");
225wxMessageBox(
_(
"Something is wrong with configuration!"),
226 _(
"Failed to load configuration for Graphical view"),
227wxOK | wxICON_EXCLAMATION);
238 string msg(
"Can't find sequence for accession '");
241wxOK | wxICON_ERROR);
EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1
static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)
static CGuiRegistry & GetInstance()
access the application-wide singleton
void SetLocal(CNcbiIstream &istr)
establish our "local" repository.
CRef< objects::CSeq_id > m_SeqId
void OnCloseClick(wxCommandEvent &event)
bool Create(wxWindow *parent, wxWindowID id=10000, const wxString &caption=_("CSeqGraphicDemoDlg"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxMAXIMIZE_BOX|wxMINIMIZE_BOX)
void OnAccClick(wxCommandEvent &event)
wxIcon GetIconResource(const wxString &name)
static bool ShowToolTips()
wxBitmap GetBitmapResource(const wxString &name)
void OnFileClick(wxCommandEvent &event)
CRef< CObjectManager > m_ObjMgr
void OnFlipStrand(wxCommandEvent &event)
void OnCloseWindow(wxCloseEvent &event)
CSeqGraphicWidget * m_SeqWidget
wxCheckBox * m_FlipStrand
static wxString ResolvePath(const wxString &path, const wxString &rel_name)
Utility function to hide the platform specifics of locating our standard directories and files.
CUICommandRegistry is a centralized registry where all application commands should be registered.
static CUICommandRegistry & GetInstance()
the main instance associated with the application
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Info(CExceptionArgs_Base &args)
static CRef< CObjectManager > GetInstance(void)
Return the existing object manager or create one.
void AddDefaults(TPriority pri=kPriority_Default)
Add default data loaders from object manager.
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ifstream CNcbiIfstream
Portable alias for ifstream.
const struct ncbi::grid::netcache::search::fields::SIZE size
Defines: CTimeFormat - storage class for time format.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
wxFileArtProvider * GetDefaultFileArtProvider()
wxString ToWxString(const string &s)
string ToStdString(const wxString &s)
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