TabViewItemState Class Reference

#include <Pt/Forms/TabViewStyler.h>

Transient visual state of a tab. More...

Public Member Functions

 TabViewItemState ()
 Constructs an empty tab state.
 
bool isEnabled () const
 Returns true if the tab is currently enabled.
 
void setEnabled (bool value)
 Sets whether the tab is enabled.
 
bool isActive () const
 Returns true if the tab is the current tab.
 
void setActive (bool value)
 Sets whether the tab is the current tab.
 
bool isHighlighted () const
 Returns true if the pointer is currently over the tab.
 
void setHighlighted (bool value)
 Sets whether the pointer is over the tab.
 
bool isPressed () const
 Returns true if the tab is currently pressed.
 
void setPressed (bool value)
 Sets whether the tab is pressed.
 

Detailed Description

TabViewItemState is the snapshot a TabView passes for one tab. It is not the application model. Enabled, active, highlighted, and pressed describe the look of one paint pass.