neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_tab_page_container Class Referenceabstract

#include <i_tab_page_container.hpp>

Inheritance diagram for neogfx::i_tab_page_container:
neogfx::i_tab_container neogfx::tab_page_container< scrollable_widget<> > neogfx::tab_page_container< Base > neogfx::mvc::view_container< Base >

Classes

struct  tab_page_not_found
 

Public Member Functions

 declare_event (tab_page_added, i_tab_page &) declare_event(tab_page_removed
 
virtual i_tab_containertab_bar ()=0
 
virtual i_layoutpage_layout ()=0
 
virtual const i_tab_pagetab_page (tab_index aTabIndex) const =0
 
virtual i_tab_pagetab_page (tab_index aTabIndex)=0
 
virtual const i_tab_pageselected_tab_page () const =0
 
virtual i_tab_pageselected_tab_page ()=0
 
virtual i_tab_pageadd_tab_page (i_string const &aTabText)=0
 
virtual i_tab_pageinsert_tab_page (tab_index aTabIndex, i_string const &aTabText)=0
 
virtual i_tab_pageadd_tab_page (i_tab &aTab)=0
 
virtual i_tab_pageadd_tab_page (i_tab &aTab, i_tab_page &aWidget)=0
 
virtual i_tab_pageadd_tab_page (i_tab &aTab, i_ref_ptr< i_tab_page > const &aWidget)=0
 
virtual void remove_tab_page (i_tab_page &aPage)=0
 
- Public Member Functions inherited from neogfx::i_tab_container
virtual bool closable_tabs () const noexcept=0
 
virtual void set_closable_tabs (bool aClosableTabs)=0
 
virtual neogfx::tab_container_style tab_container_style () const noexcept=0
 
virtual void set_tab_container_style (neogfx::tab_container_style aStyle)=0
 
virtual void set_tab_icon_size (const size &aIconSize)=0
 
virtual bool has_tabs () const noexcept=0
 
virtual uint32_t tab_count () const noexcept=0
 
virtual tab_index index_of (const i_tab &aTab) const =0
 
virtual const i_tabtab (tab_index aTabIndex) const =0
 
virtual i_tabtab (tab_index aTabIndex)=0
 
virtual bool is_tab_selected () const noexcept=0
 
virtual const i_tabselected_tab () const =0
 
virtual i_tabselected_tab ()=0
 
virtual i_tabadd_tab (i_string const &aTabText)=0
 
virtual i_tabinsert_tab (tab_index aTabIndex, i_string const &aTabText)=0
 
virtual void remove_tab (tab_index aTabIndex)=0
 
virtual void show_tab (tab_index aTabIndex)=0
 
virtual void hide_tab (tab_index aTabIndex)=0
 
virtual optional_tab_index next_visible_tab (tab_index aStartFrom) const =0
 
virtual optional_tab_index previous_visible_tab (tab_index aStartFrom) const =0
 
virtual void select_next_tab ()=0
 
virtual void select_previous_tab ()=0
 
virtual void adding_tab (i_tab &aTab)=0
 
virtual void selecting_tab (i_tab &aTab)=0
 
virtual void removing_tab (i_tab &aTab)=0
 
virtual bool has_tab_page (tab_index aTabIndex) const =0
 
virtual bool has_parent_container () const =0
 
virtual const i_tab_containerparent_container () const =0
 
virtual i_tab_containerparent_container ()=0
 
virtual const i_widgetas_widget () const =0
 
virtual i_widgetas_widget ()=0
 

Additional Inherited Members

- Public Attributes inherited from neogfx::i_tab_container
declare_event(style_changed) public typedef std::optional< tab_index > optional_tab_index
 

Detailed Description

Definition at line 30 of file i_tab_page_container.hpp.

Member Function Documentation

◆ add_tab_page() [1/4]

virtual i_tab_page & neogfx::i_tab_page_container::add_tab_page ( i_string const &  aTabText)
pure virtual

◆ add_tab_page() [2/4]

virtual i_tab_page & neogfx::i_tab_page_container::add_tab_page ( i_tab aTab)
pure virtual

◆ add_tab_page() [3/4]

virtual i_tab_page & neogfx::i_tab_page_container::add_tab_page ( i_tab aTab,
i_ref_ptr< i_tab_page > const &  aWidget 
)
pure virtual

◆ add_tab_page() [4/4]

virtual i_tab_page & neogfx::i_tab_page_container::add_tab_page ( i_tab aTab,
i_tab_page aWidget 
)
pure virtual

◆ declare_event()

neogfx::i_tab_page_container::declare_event ( tab_page_added  ,
i_tab_page  
)

◆ insert_tab_page()

virtual i_tab_page & neogfx::i_tab_page_container::insert_tab_page ( tab_index  aTabIndex,
i_string const &  aTabText 
)
pure virtual

◆ page_layout()

virtual i_layout & neogfx::i_tab_page_container::page_layout ( )
pure virtual

◆ remove_tab_page()

virtual void neogfx::i_tab_page_container::remove_tab_page ( i_tab_page aPage)
pure virtual

◆ selected_tab_page() [1/2]

virtual const i_tab_page & neogfx::i_tab_page_container::selected_tab_page ( ) const
pure virtual

◆ selected_tab_page() [2/2]

virtual i_tab_page & neogfx::i_tab_page_container::selected_tab_page ( )
pure virtual

◆ tab_bar()

virtual i_tab_container & neogfx::i_tab_page_container::tab_bar ( )
pure virtual

◆ tab_page() [1/2]

virtual const i_tab_page & neogfx::i_tab_page_container::tab_page ( tab_index  aTabIndex) const
pure virtual

◆ tab_page() [2/2]

virtual i_tab_page & neogfx::i_tab_page_container::tab_page ( tab_index  aTabIndex)
pure virtual

The documentation for this class was generated from the following file: