Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCOpenObjectsPanel.html below:
NCBI C++ ToolKit: COpenObjectsPanel Class Reference
Search Toolkit Book for COpenObjectsPanel
#include <gui/widgets/loaders/open_objects_panel.hpp>
COpenObjectsPanel () COpenObjectsPanel (wxWindow *parent, wxWindowID id=ID_SPLITTER_PANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxFULL_REPAINT_ON_RESIZE) 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) ~COpenObjectsPanel () void Init () void CreateControls () IWizardPage * GetWizardPage () void OnLoaderSelected (wxCommandEvent &event) void SetManagers (vector< CIRef< IOpenObjectsPanelClient > > &managers) IObjectLoader * GetObjectLoader () virtual void SetRegistryPath (const string &path) virtual void LoadSettings () virtual void SaveSettings () const CSplitter () CSplitter (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel")) CSplitter (wxWindow *parent, wxWindowID id=wxID_ANY, ESplitType type=eVertical) virtual ~CSplitter () ESplitType GetSplitType () const int GetSeparatorSize () const virtual void Split (ESplitType type) Creates a splitter with a single cell. More...
virtual void Split (ESplitType type, const TPosVector &sizes) Creates a splitter with cells defined by "sizes". More...
virtual void Split (ESplitType type, const int ar_size[]) Creates a splitter with cells defined by "sizes". More...
virtual void Split (ESplitType type, const TPosVector &widths, const TPosVector &heights) Creates splitter, "widths" and "height" define number and sizes of cells. More...
virtual void Split (ESplitType type, const int ar_w[], const int ar_h[]) Creates splitter, "ar_w" and "ar_h" are arrays terminated by -1. More...
virtual void Split (int col_n, int row_n) int GetColumnsCount () const int GetRowsCount () const void GetWidths (TPosVector &widths) const void SetWidths (const TPosVector &widths) void GetHeights (TPosVector &heights) const void SetHeights (const TPosVector &heights) void SetResizableCell (int col, int row) virtual bool Layout () virtual bool Show (bool show=true) virtual void BlockLayout (bool block=true) bool IsValidCell (int col, int row) const returns "true" if cell specified by (col, row) exists in the splitter More...
int GetColumnWidth (int col) const int GetRowHeight (int row) const bool InsertToCell (wxWindow *child, int col, int row) If cell [col, row] exists and vacant - adds widget to the container. More...
void AddColumn () void AddRow () virtual void RemoveChild (wxWindowBase *child) overriding wxWindowBase function More...
virtual bool RemoveFromCell (int col, int row) virtual void RemoveAll () wxWindow * GetCell (int col, int row) const wxWindow * GetCell (int col, int row) const bool FindChild (const wxWindow *child, int &col, int &row) const virtual void x_PreserveNormalSize (bool preserve) virtual ~IRegSettings () bool x_CanLeavePage (bool forward) wxPanel * x_GetPanel () IWizardPage * x_GetNextPage () IWizardPage * x_GetOptionsPage () void x_AppendOptionForManager (IOpenObjectsPanelClient &manager) add a Loading Option (displayed in the list on the left) for the given Manager More...
void x_SelectManager (int index) virtual void x_DrawSeparator (wxDC &dc, int x, int y, int w, int h) void x_SplitPositionsToSizes (const TPosVector &split_positions, int total_size, TPosVector &sizes) const void x_SizesToSplitPositions (const TPosVector &sizes, TPosVector &split_positions) void x_Init () void x_Split (ESplitType type, const TPosVector &widths, const TPosVector &heights) int x_GetCellIndex (int i_x, int i_y) const int x_GetColumn (int i_cell) const int x_GetRow (int i_cell) const int x_GetCellIndex (wxWindow *widget) const int x_GetLeft (int i_x) const int x_GetRight (int i_x) const int x_GetWidth (int i_x) const int x_GetTop (int i_y) const int x_GetBottom (int i_y) const int x_GetHeight (int i_y) const bool x_RemoveChild (int index) void x_Clear () void x_ResizeToCell (int i_cell) void x_ResizeToCell (int i_x, int i_y) void x_ResizeAllCells () void OnPaint (wxPaintEvent &event) void OnMouseMove (wxMouseEvent &event) void OnLeftDown (wxMouseEvent &event) void OnLeftUp (wxMouseEvent &event) void OnMouseEnter (wxMouseEvent &event) void OnMouseLeave (wxMouseEvent &event) void OnContextMenu (wxContextMenuEvent &event) void OnKeyDown (wxKeyEvent &event) void x_RequestUpdate () int x_HitTestSeparator (int z, TPosVector &vpos) returns Separator index if hit or -1 More...
void x_HitTest (int z, TPosVector &vpos, int &i_cell, int &i_sep) virtual void x_StartDrag (int i_sep_x, int i_sep_y) virtual void x_DoDragSeparator (wxMouseEvent &event, bool b_final) virtual void x_EndDrag () virtual bool x_IsDragging () const void x_DistributeEvenly (bool b_x, bool b_y) void x_DoDistributeEvenly (TPosVector &vSplitPos, int size) virtual void x_Resize (const wxSize &old_size, const wxSize &new_size, bool b_size_changes) void x_DoResize (TPosVector &sizes, TSizeVector &norm_sizes, TPosVector &min_sizes, int size, int new_size, int resizable_index) void x_MoveSeparator (TPosVector &sizes, TSizeVector &norm_sizes, TPosVector &min_sizes, int i_sep, int delta, int resizable_index) void x_GetMinimized (vector< bool > &min_cols, vector< bool > &min_rows) const void x_CalculateMinSizes (TPosVector &min_widths, TPosVector &min_heights) const void x_UpdateRegion (int start_x, int stop_x, int start_y, int stop_y) void x_NewSplit (TPosVector &split_positions, TSizeVector &v_norm_size, int size) void x_Deprecated () const enum ESplitType { eVertical , eHorizontal , eGrid } ESplitMode - splitter orientation. More...
typedef wxPanel TParent typedef vector< int > TPosVector typedef vector< int > TSizeVector static void x_ShrinkCell (TPosVector &sizes, TPosVector &min_sizes, TPosVector &norm_sizes, int index, int &delta) static void x_GrowCell (TPosVector &sizes, TPosVector &norm_sizes, int index, int &delta, bool unlimited=false)
Definition at line 58 of file open_objects_panel.hpp.
◆ anonymous enum ◆ COpenObjectsPanel() [1/2] COpenObjectsPanel::COpenObjectsPanel ( ) ◆ COpenObjectsPanel() [2/2] COpenObjectsPanel::COpenObjectsPanel ( wxWindow * parent, wxWindowID id = ID_SPLITTER_PANEL
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400, 300)
, long style = wxFULL_REPAINT_ON_RESIZE
) ◆ ~COpenObjectsPanel() ◆ Create() bool COpenObjectsPanel::Create ( wxWindow * parent, wxWindowID id = ID_SPLITTER_PANEL
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400, 300)
, long style = wxFULL_REPAINT_ON_RESIZE
) ◆ CreateControls() void COpenObjectsPanel::CreateControls ( ) ◆ GetObjectLoader() ◆ GetWizardPage() ◆ Init() void COpenObjectsPanel::Init ( void ) ◆ LoadSettings() void COpenObjectsPanel::LoadSettings ( ) virtual
Implements IRegSettings.
Definition at line 267 of file open_objects_panel.cpp.
References CGuiRegistry::GetInstance(), CRegistryReadView::GetIntVec(), IOpenObjectsPanelClient::GetLabel(), CGuiRegistry::GetReadView(), CRegistryReadView::GetString(), i, int, kSelOptionTag, kSplitterWidthsTag, IRegSettings::LoadSettings(), m_CurrManager, m_Managers, m_RegPath, max(), IRegSettings::SetRegistryPath(), CSplitter::SetWidths(), and x_SelectManager().
Referenced by COpenObjectsDlg::x_LoadSettings().
◆ OnLoaderSelected() void COpenObjectsPanel::OnLoaderSelected ( wxCommandEvent & event ) ◆ SaveSettings() void COpenObjectsPanel::SaveSettings ( ) const virtual
Implements IRegSettings.
Definition at line 311 of file open_objects_panel.cpp.
References CGuiRegistry::GetInstance(), IOpenObjectsPanelClient::GetLabel(), CSplitter::GetWidths(), CGuiRegistry::GetWriteView(), i, kSelOptionTag, kSplitterWidthsTag, m_CurrManager, m_Managers, m_RegPath, IRegSettings::SaveSettings(), CRegistryWriteView::Set(), and IRegSettings::SetRegistryPath().
Referenced by COpenObjectsDlg::x_SaveSettings().
◆ SetManagers() ◆ SetRegistryPath() void COpenObjectsPanel::SetRegistryPath ( const string & path ) virtual ◆ x_AppendOptionForManager() ◆ x_CanLeavePage() bool COpenObjectsPanel::x_CanLeavePage ( bool forward ) protected ◆ x_GetNextPage() ◆ x_GetOptionsPage() ◆ x_GetPanel() wxPanel * COpenObjectsPanel::x_GetPanel ( ) protected ◆ x_SelectManager() void COpenObjectsPanel::x_SelectManager ( int index ) protected ◆ m_CurrManager int COpenObjectsPanel::m_CurrManager protected ◆ m_LoadersListBox wxSimpleHtmlListBox* COpenObjectsPanel::m_LoadersListBox protected ◆ m_Managers ◆ m_OptionPanel wxPanel* COpenObjectsPanel::m_OptionPanel protected ◆ m_RegPath string COpenObjectsPanel::m_RegPath protected ◆ m_WizardPage CPage COpenObjectsPanel::m_WizardPage protected
The documentation for this class was generated from the following files:
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