Fluid Tabs
Signals | Public Member Functions | Protected Member Functions | Properties

FTab Class Reference

Represents a single tab in an FTabBar. More...

List of all members.

Signals

void titleChanged ()
void tabSelected ()

Public Member Functions

 FTab (QDeclarativeItem *parent=0)
void setTitle (const QString &title)
QString title () const
void setDelegate (QDeclarativeComponent *delegate)
void setItem (QDeclarativeItem *item)
void setItemProperty (const char *property, const QVariant &value)
QVariant itemProperty (const char *property) const
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
QRectF boundingRect () const

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event)

Properties

QString title

Detailed Description

Represents a single tab in an FTabBar.

See also:
FTabBar

Definition at line 6 of file ftabbar.h.


Member Function Documentation

QRectF FTab::boundingRect ( ) const

Definition at line 95 of file ftabbar.cpp.

void FTab::mousePressEvent ( QGraphicsSceneMouseEvent *  event) [protected]

Definition at line 103 of file ftabbar.cpp.

void FTab::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

Definition at line 72 of file ftabbar.cpp.

void FTab::setDelegate ( QDeclarativeComponent *  delegate)

Creates the QDeclarativeItem instance that provides the painted appearance of the tab, based on the delegate component.

Definition at line 46 of file ftabbar.cpp.

void FTab::tabSelected ( ) [signal]

This signal is emitted when the user selects the tab.


The documentation for this class was generated from the following files:
 All Classes Functions Properties