VCF::TabModel Class Reference
The Tab model is a interface for describing what a model that implements a series of tabs should do. More...
#include <vcf/ApplicationKit/TabModel.h>
Inheritance diagram for VCF::TabModel:

Public Types | |
| enum | { NoPageSelected = (uint32)-1 } |
Public Member Functions | |
| TabModel () | |
| virtual | ~TabModel () |
| virtual TabPageSelected void | empty () |
| clears out the model's data | |
| virtual bool | supportsSubItems () |
| void | setSelectedPage (const uint32 &index) |
| uint32 | getSelectedPageIndex () |
Public Attributes | |
| VCF::Delegate | TabModelDelegate |
Protected Attributes | |
| uint32 | selectedIndex_ |
Detailed Description
The Tab model is a interface for describing what a model that implements a series of tabs should do.It does not inherit from the Model class directly. This is to allow different implementations different base classes. For example, you might have a simple list model that inherits/implements the Model class, and the TabModel class. This would be suitable for most controls. However you might want a fancier implementation, perhaps that is based off of the Document and TabModel classes. This would still allow you to use the same control with either style.
- Event Delegates for this class:
- TabModel::TabPageAdded
- TabModel::TabPageRemoved
- TabModel::TabPageSelected
Member Enumeration Documentation
|
|
Reimplemented from VCF::ListModel. |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
clears out the model's data
Reimplemented from VCF::SimpleListModel. |
|
|
|
|
|
|
|
|
Reimplemented from VCF::ListModel. |
Member Data Documentation
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/TabModel.h
