kutils Library API Documentation

KMultiTabBarTab Class Reference

This class should never be created except with the appendTab call of KMultiTabBar. More...

#include <kmultitabbar.h>

Inheritance diagram for KMultiTabBarTab:

Inheritance graph
[legend]
Collaboration diagram for KMultiTabBarTab:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void setIcon (const QString &)
virtual void setIcon (const QPixmap &)

Public Member Functions

 KMultiTabBarTab (const QPixmap &pic, const QString &, int id, QWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style)
void setState (bool state)
void showActiveTabText (bool show)
void resize ()

Protected Slots

virtual void slotClicked ()
void setTabsPosition (KMultiTabBar::KMultiTabBarPosition)

Protected Member Functions

void setSize (int)
int neededSize ()
void updateState ()
virtual void drawButton (QPainter *)
virtual void drawButtonLabel (QPainter *)
void drawButtonStyled (QPainter *)
void drawButtonClassic (QPainter *)

Detailed Description

This class should never be created except with the appendTab call of KMultiTabBar.

Definition at line 206 of file kmultitabbar.h.


Member Function Documentation

void KMultiTabBarTab::setState bool  state  ) 
 

set the active state of the tab

Parameters:
state true==active false==not active

Definition at line 561 of file kmultitabbar.cpp.

References setState().

Referenced by setState(), and KMultiTabBar::setTab().

void KMultiTabBarTab::showActiveTabText bool  show  ) 
 

choose if the text should always be displayed this is only used in classic mode if at all

Definition at line 616 of file kmultitabbar.cpp.

References showActiveTabText().

Referenced by showActiveTabText().

void KMultiTabBarTab::drawButtonStyled QPainter paint  )  [protected]
 

,sh.height());

Definition at line 630 of file kmultitabbar.cpp.

References drawButtonStyled(), and QPainter::rotate().

Referenced by drawButtonStyled().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kutils Library Version 3.4.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 14 00:33:25 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003