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

#include <i_tab_container.hpp>

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

Classes

struct  no_parent_container
 
struct  no_tab_page
 
struct  tab_not_found
 

Public Member Functions

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 const i_tab_pagetab_page (tab_index aTabIndex) const =0
 
virtual i_tab_pagetab_page (tab_index aTabIndex)=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
 

Public Attributes

declare_event(style_changed) public typedef std::optional< tab_index > optional_tab_index
 

Detailed Description

Definition at line 54 of file i_tab_container.hpp.

Member Function Documentation

◆ add_tab()

virtual i_tab & neogfx::i_tab_container::add_tab ( i_string const &  aTabText)
pure virtual

◆ adding_tab()

virtual void neogfx::i_tab_container::adding_tab ( i_tab aTab)
pure virtual

◆ as_widget() [1/2]

virtual const i_widget & neogfx::i_tab_container::as_widget ( ) const
pure virtual

◆ as_widget() [2/2]

◆ closable_tabs()

virtual bool neogfx::i_tab_container::closable_tabs ( ) const
pure virtualnoexcept

◆ has_parent_container()

virtual bool neogfx::i_tab_container::has_parent_container ( ) const
pure virtual

◆ has_tab_page()

virtual bool neogfx::i_tab_container::has_tab_page ( tab_index  aTabIndex) const
pure virtual

◆ has_tabs()

virtual bool neogfx::i_tab_container::has_tabs ( ) const
pure virtualnoexcept

◆ hide_tab()

virtual void neogfx::i_tab_container::hide_tab ( tab_index  aTabIndex)
pure virtual

◆ index_of()

virtual tab_index neogfx::i_tab_container::index_of ( const i_tab aTab) const
pure virtual

◆ insert_tab()

virtual i_tab & neogfx::i_tab_container::insert_tab ( tab_index  aTabIndex,
i_string const &  aTabText 
)
pure virtual

◆ is_tab_selected()

virtual bool neogfx::i_tab_container::is_tab_selected ( ) const
pure virtualnoexcept

◆ next_visible_tab()

virtual optional_tab_index neogfx::i_tab_container::next_visible_tab ( tab_index  aStartFrom) const
pure virtual

◆ parent_container() [1/2]

virtual const i_tab_container & neogfx::i_tab_container::parent_container ( ) const
pure virtual

◆ parent_container() [2/2]

virtual i_tab_container & neogfx::i_tab_container::parent_container ( )
pure virtual

◆ previous_visible_tab()

virtual optional_tab_index neogfx::i_tab_container::previous_visible_tab ( tab_index  aStartFrom) const
pure virtual

◆ remove_tab()

virtual void neogfx::i_tab_container::remove_tab ( tab_index  aTabIndex)
pure virtual

◆ removing_tab()

virtual void neogfx::i_tab_container::removing_tab ( i_tab aTab)
pure virtual

◆ select_next_tab()

virtual void neogfx::i_tab_container::select_next_tab ( )
pure virtual

◆ select_previous_tab()

virtual void neogfx::i_tab_container::select_previous_tab ( )
pure virtual

◆ selected_tab() [1/2]

virtual const i_tab & neogfx::i_tab_container::selected_tab ( ) const
pure virtual

◆ selected_tab() [2/2]

virtual i_tab & neogfx::i_tab_container::selected_tab ( )
pure virtual

◆ selecting_tab()

virtual void neogfx::i_tab_container::selecting_tab ( i_tab aTab)
pure virtual

◆ set_closable_tabs()

virtual void neogfx::i_tab_container::set_closable_tabs ( bool  aClosableTabs)
pure virtual

◆ set_tab_container_style()

virtual void neogfx::i_tab_container::set_tab_container_style ( neogfx::tab_container_style  aStyle)
pure virtual

◆ set_tab_icon_size()

virtual void neogfx::i_tab_container::set_tab_icon_size ( const size aIconSize)
pure virtual

◆ show_tab()

virtual void neogfx::i_tab_container::show_tab ( tab_index  aTabIndex)
pure virtual

◆ tab() [1/2]

virtual const i_tab & neogfx::i_tab_container::tab ( tab_index  aTabIndex) const
pure virtual

◆ tab() [2/2]

virtual i_tab & neogfx::i_tab_container::tab ( tab_index  aTabIndex)
pure virtual

◆ tab_container_style()

virtual neogfx::tab_container_style neogfx::i_tab_container::tab_container_style ( ) const
pure virtualnoexcept

◆ tab_count()

virtual uint32_t neogfx::i_tab_container::tab_count ( ) const
pure virtualnoexcept

◆ tab_page() [1/2]

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

◆ tab_page() [2/2]

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

Member Data Documentation

◆ optional_tab_index

declare_event (style_changed) public typedef std::optional<tab_index> neogfx::i_tab_container::optional_tab_index

Definition at line 60 of file i_tab_container.hpp.


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