A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/open__objects__panel_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/loaders/open_objects_panel.cpp Source File

42 #include <wx/htmllbox.h> 43 #include <wx/msgdlg.h> 68

Create(parent,

id

, pos,

size

, style);

74

CSplitter::Create( parent,

id

, pos,

size

, style );

76  int

sizes[3] = { 150, 250, -1 };

82

GetSizer()->SetSizeHints(

this

);

103

wxArrayString m_OptionListStrings;

104  m_LoadersListBox

=

new

wxSimpleHtmlListBox(

this

,

ID_LOADER_LIST

, wxDefaultPosition, wxSize(160, 320), m_OptionListStrings, wxHLB_DEFAULT_STYLE );

144  return

object_loader;

153

wxMessageBox(

wxT

(

"Please, select loader from the list on the left side"

),

wxT

(

"Open Objects"

),

154

wxOK|wxICON_EXCLAMATION, GetParent());

198  size_t

pos = s.find(

" "

, prev_pos);

199  while

(pos != string::npos) {

201

s_html += s.substr(prev_pos, pos - prev_pos);

202  size_t

pos_end = s.find_last_of(

" "

, pos);

203  for

( ; pos <= pos_end; pos++ ) {

206

prev_pos = pos_end + 1;

207

pos = s.find(

" "

, prev_pos);

209

s_html += s.substr(prev_pos, s.size() - prev_pos);

225

wxPanel* panel = managerPage->

GetPanel

();

240

wxPanel* panel = managerPage->

GetPanel

();

245  if

(panel->GetContainingSizer() !=

m_OptionPanel

->GetSizer()) {

246  m_OptionPanel

->GetSizer()->Add(panel, 1, wxEXPAND | wxALL, 5);

256

GetParent()->ProcessWindowEvent(evt);

276  string

sub_section = manager.

GetLabel

();

277  string

mgr_path =

m_RegPath

+

"."

+ sub_section;

289  if

(widths.size() == 2) {

300  string

mgr_label = manager.

GetLabel

();

301  if

(mgr_label == sel_mgr_label) {

320  string

sub_section = manager.

GetLabel

();

321  string

mgr_path =

m_RegPath

+

"."

+ sub_section;

338  string

mgr_label = manager.

GetLabel

();

CRegistryWriteView GetWriteView(const string &section)

get a read-write view at a particular level.

static CGuiRegistry & GetInstance()

access the application-wide singleton

CRegistryReadView GetReadView(const string &section) 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