Numworks Epsilon  1.4.1
Graphing Calculator Operating System
TabView Class Reference

#include <tab_view.h>

Inheritance diagram for TabView:
View

Public Member Functions

 TabView ()
 
int numberOfTabs () const
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
void addTab (ViewController *controller)
 
void setActiveIndex (int index)
 
void setSelectedIndex (int index)
 
- Public Member Functions inherited from View
 View ()
 
virtual ~View ()
 
 View (const View &other)=delete
 
 View (View &&other)=delete
 
Viewoperator= (const View &other)=delete
 
Viewoperator= (View &&other)=delete
 
void resetSuperview ()
 
void setSize (KDSize size)
 
void setFrame (KDRect frame)
 
KDPoint pointFromPointInView (View *view, KDPoint point)
 
KDRect bounds () const
 
Viewsubview (int index)
 
virtual KDSize minimalSizeForOptimalDisplay () const
 

Additional Inherited Members

- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 
- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 11 of file tab_view.h.

Constructor & Destructor Documentation

◆ TabView()

TabView::TabView ( )

Definition at line 7 of file tab_view.cpp.

Member Function Documentation

◆ addTab()

void TabView::addTab ( ViewController controller)

Definition at line 26 of file tab_view.cpp.

◆ drawRect()

void TabView::drawRect ( KDContext ctx,
KDRect  rect 
) const
overridevirtual

Reimplemented from View.

Definition at line 19 of file tab_view.cpp.

◆ numberOfTabs()

int TabView::numberOfTabs ( ) const

Definition at line 15 of file tab_view.cpp.

◆ setActiveIndex()

void TabView::setActiveIndex ( int  index)

Definition at line 34 of file tab_view.cpp.

◆ setSelectedIndex()

void TabView::setSelectedIndex ( int  index)

Definition at line 46 of file tab_view.cpp.


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