public

Inheritance Graph

graph BT
	Tab
	Tab --> Container
	click Tab "classGUI_1_1TabbedPanel_1_1Tab"
	click Container "classGUI_1_1Container"

Description

Public Static Attributes

   
   
const Util::StringIdentifier ACTION_Tab_close
   
const Util::StringIdentifier ACTION_Tab_open

Protected Attributes

   
   
Container * clientAreaPanel
   
Container * titlePanel
   
Label * titleTextLabel

Public Functions

   
   
  Tab( GUI_Manager & gui, const std::string & title, Container * clientArea)
   
  ~Tab()
   
Container * clientArea() const
   
void setTitle(const std::string & title)
   
std::string getTitle() const
   
TabbedPanel * getTabbedPanel() const
   
bool isActiveTab() const
   
void makeActiveTab()
   
float getTabTitlePos()
   
float getTabTitleWidth()
   
void setTabTitlePos(float tabTitlePos)
   
Container * getTitlePanel()
   
void addContent(const Ref & child)
   
void removeContent(const Ref & child)
   
size_t getContentsCount() const
   
Geometry::Rect getInnerRect() const
   
void doLayout()
   
bool hasTooltip() const
   
std::string getTooltip() const
   
void setTooltip(const std::string & s)
   
void removeTooltip()

Documentation

variable
GUI::TabbedPanel::Tab::ACTION_Tab_close

public static
 
 
const Util::StringIdentifier ACTION_Tab_close

Defined in GUI/Components/Tab.h:33


variable
GUI::TabbedPanel::Tab::ACTION_Tab_open

public static
 
 
const Util::StringIdentifier ACTION_Tab_open

Defined in GUI/Components/Tab.h:34


variable
GUI::TabbedPanel::Tab::clientAreaPanel

protected
 
 
Container * clientAreaPanel

Defined in GUI/Components/Tab.h:70


variable
GUI::TabbedPanel::Tab::titlePanel

protected
 
 
Container * titlePanel

Defined in GUI/Components/Tab.h:71


variable
GUI::TabbedPanel::Tab::titleTextLabel

protected
 
 
Label * titleTextLabel

Defined in GUI/Components/Tab.h:72


function
GUI::TabbedPanel::Tab::Tab

public
     
     
Tab( GUI_Manager & gui,
  const std::string & title,
  Container * clientArea
)    

Defined in GUI/Components/Tab.h:36


function
GUI::TabbedPanel::Tab::~Tab

public virtual
   
   
~Tab( )

Defined in GUI/Components/Tab.h:37


function
GUI::TabbedPanel::Tab::clientArea

public const inline
   
   
Container * clientArea( ) const

Defined in GUI/Components/Tab.h:39


function
GUI::TabbedPanel::Tab::setTitle

public
     
     
void setTitle( const std::string & title )

Defined in GUI/Components/Tab.h:40


function
GUI::TabbedPanel::Tab::getTitle

public const
   
   
std::string getTitle( ) const

Defined in GUI/Components/Tab.h:41


function
GUI::TabbedPanel::Tab::getTabbedPanel

public const
   
   
TabbedPanel * getTabbedPanel( ) const

Defined in GUI/Components/Tab.h:42


function
GUI::TabbedPanel::Tab::isActiveTab

public const
   
   
bool isActiveTab( ) const

Defined in GUI/Components/Tab.h:43


function
GUI::TabbedPanel::Tab::makeActiveTab

public
   
   
void makeActiveTab( )

Defined in GUI/Components/Tab.h:44


function
GUI::TabbedPanel::Tab::getTabTitlePos

public inline
   
   
float getTabTitlePos( )

Defined in GUI/Components/Tab.h:46


function
GUI::TabbedPanel::Tab::getTabTitleWidth

public inline
   
   
float getTabTitleWidth( )

Defined in GUI/Components/Tab.h:47


function
GUI::TabbedPanel::Tab::setTabTitlePos

public inline
     
     
void setTabTitlePos( float tabTitlePos )

Defined in GUI/Components/Tab.h:48


function
GUI::TabbedPanel::Tab::getTitlePanel

public inline
   
   
Container * getTitlePanel( )

Defined in GUI/Components/Tab.h:50


function
GUI::TabbedPanel::Tab::addContent

public inline virtual
     
     
void addContent( const Ref & child )

Defined in GUI/Components/Tab.h:53


function
GUI::TabbedPanel::Tab::removeContent

public inline virtual
     
     
void removeContent( const Ref & child )

Defined in GUI/Components/Tab.h:54


function
GUI::TabbedPanel::Tab::getContentsCount

public const inline virtual
   
   
size_t getContentsCount( ) const

Defined in GUI/Components/Tab.h:55


function
GUI::TabbedPanel::Tab::getInnerRect

public const inline virtual
   
   
Geometry::Rect getInnerRect( ) const

o The component’s inner rectangle defines the area, that may be covered by children (=content) (not regarding scrolling). It can be used as a hint for the maximum size of children.

Defined in GUI/Components/Tab.h:58


function
GUI::TabbedPanel::Tab::doLayout

public virtual
   
   
void doLayout( )

Defined in GUI/Components/Tab.h:59


function
GUI::TabbedPanel::Tab::hasTooltip

public const inline virtual
   
   
bool hasTooltip( ) const

Defined in GUI/Components/Tab.h:61


function
GUI::TabbedPanel::Tab::getTooltip

public const inline virtual
   
   
std::string getTooltip( ) const

Defined in GUI/Components/Tab.h:62


function
GUI::TabbedPanel::Tab::setTooltip

public inline virtual
     
     
void setTooltip( const std::string & s )

Defined in GUI/Components/Tab.h:63


function
GUI::TabbedPanel::Tab::removeTooltip

public inline virtual
   
   
void removeTooltip( )

Defined in GUI/Components/Tab.h:64