Create(parent,
id, pos,
size, style);
74CSplitter::Create( parent,
id, pos,
size, style );
76 intsizes[3] = { 150, 250, -1 };
82GetSizer()->SetSizeHints(
this);
103wxArrayString m_OptionListStrings;
104 m_LoadersListBox=
newwxSimpleHtmlListBox(
this,
ID_LOADER_LIST, wxDefaultPosition, wxSize(160, 320), m_OptionListStrings, wxHLB_DEFAULT_STYLE );
144 returnobject_loader;
153wxMessageBox(
wxT(
"Please, select loader from the list on the left side"),
wxT(
"Open Objects"),
154wxOK|wxICON_EXCLAMATION, GetParent());
198 size_tpos = s.find(
" ", prev_pos);
199 while(pos != string::npos) {
201s_html += s.substr(prev_pos, pos - prev_pos);
202 size_tpos_end = s.find_last_of(
" ", pos);
203 for( ; pos <= pos_end; pos++ ) {
206prev_pos = pos_end + 1;
207pos = s.find(
" ", prev_pos);
209s_html += s.substr(prev_pos, s.size() - prev_pos);
225wxPanel* panel = managerPage->
GetPanel();
240wxPanel* panel = managerPage->
GetPanel();
245 if(panel->GetContainingSizer() !=
m_OptionPanel->GetSizer()) {
246 m_OptionPanel->GetSizer()->Add(panel, 1, wxEXPAND | wxALL, 5);
256GetParent()->ProcessWindowEvent(evt);
276 stringsub_section = manager.
GetLabel();
277 stringmgr_path =
m_RegPath+
"."+ sub_section;
289 if(widths.size() == 2) {
300 stringmgr_label = manager.
GetLabel();
301 if(mgr_label == sel_mgr_label) {
320 stringsub_section = manager.
GetLabel();
321 stringmgr_path =
m_RegPath+
"."+ sub_section;
338 stringmgr_label = manager.
GetLabel();
CRegistryWriteView GetWriteView(const string §ion)
get a read-write view at a particular level.
static CGuiRegistry & GetInstance()
access the application-wide singleton
CRegistryReadView GetReadView(const string §ion) const
get a read-only view at a particular level.
vector< CIRef< IOpenObjectsPanelClient > > m_Managers
Load Managers corresponding to Loading Options.
wxSimpleHtmlListBox * m_LoadersListBox
void OnLoaderSelected(wxCommandEvent &event)
bool x_CanLeavePage(bool forward)
virtual void SaveSettings() const
virtual void LoadSettings()
void SetManagers(vector< CIRef< IOpenObjectsPanelClient > > &managers)
IObjectLoader * GetObjectLoader()
bool Create(wxWindow *parent, wxWindowID id=ID_SPLITTER_PANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxFULL_REPAINT_ON_RESIZE)
virtual void SetRegistryPath(const string &path)
IWizardPage * x_GetNextPage()
IWizardPage * x_GetOptionsPage()
void x_SelectManager(int index)
void x_AppendOptionForManager(IOpenObjectsPanelClient &manager)
add a Loading Option (displayed in the list on the left) for the given Manager
class CRegistryReadView provides a nested hierarchical view at a particular key.
void GetIntVec(const string &key, vector< int > &val) const
string GetString(const string &key, const string &default_val=kEmptyStr) const
void Set(const string &key, int val)
access a named key at this level, with no recursion
CSplitter - container with resizable separators.
bool InsertToCell(wxWindow *child, int col, int row)
If cell [col, row] exists and vacant - adds widget to the container.
void GetWidths(TPosVector &widths) const
void SetWidths(const TPosVector &widths)
@ eHorizontal
vertical space is splitted
virtual void Split(ESplitType type)
Creates a splitter with a single cell.
virtual string GetLabel() const =0
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
virtual void SaveSettings() const =0
virtual void LoadSettings()=0
virtual void SetRegistryPath(const string &path)=0
virtual IWizardPage * GetOptionsPage()=0
virtual IWizardPage * GetNextPage()=0
virtual wxPanel * GetPanel()=0
virtual bool CanLeavePage(bool forward)=0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
unsigned int
A callback function used to compare two keys in a database.
const struct ncbi::grid::netcache::search::fields::SIZE size
static const char * kSplitterWidthsTag
static const char * kSelOptionTag
wxEVT_COMMAND_MENU_SELECTED
wxString ToWxString(const string &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