libopie API Documentation

OTabBar Class Reference

The OTabBar class is a derivative of QTabBar. More...

#include <otabbar.h>

Inheritance diagram for OTabBar:

Inheritance graph
[legend]
Collaboration diagram for OTabBar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OTabBar (QWidget *=0, const char *=0)
 Object constructor.


Protected Member Functions

void paintLabel (QPainter *, const QRect &, QTab *, bool) const
 Internal function to draw a tab's label.


Detailed Description

The OTabBar class is a derivative of QTabBar.

OTabBar is a derivation of TrollTech's QTabBar which provides a row of tabs for selection. The only difference between this class and QTabBar is that there is no dotted line box around the label of the tab with the current focus.

Definition at line 46 of file otabbar.h.


Constructor & Destructor Documentation

OTabBar::OTabBar QWidget parent = 0,
const char *  name = 0
 

Object constructor.

Parameters:
parent Pointer to parent of this control.
name Name of control.
Constructs a new OTabBar control with parent and name.

Definition at line 34 of file otabbar.cpp.


Member Function Documentation

OTabBar::paintLabel QPainter p,
const QRect br,
QTab t,
bool  has_focus
const [protected]
 

Internal function to draw a tab's label.

Parameters:
p Pointer to QPainter used for drawing.
br QRect providing region to draw label in.
t Tab to draw label for.
has_focus Boolean value not used, retained for compatibility reasons.

Reimplemented from QTabBar.

Definition at line 39 of file otabbar.cpp.

References QRect::bottom(), QRect::center(), QWidget::colorGroup(), QTabBar::currentTab(), QPainter::drawPixmap(), QPainter::drawText(), QPixmap::height(), QWidget::isEnabled(), QRect::left(), QRect::moveBy(), QWidget::palette(), QRect::setBottom(), QRect::setLeft(), QPainter::setPen(), QWidget::style(), and QPixmap::width().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:25:01 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001