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:

KMultiTabBarButton QPushButton 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)

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 200 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 360 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 414 of file kmultitabbar.cpp.

References showActiveTabText().

Referenced by showActiveTabText().

void KMultiTabBarTab::drawButtonStyled QPainter paint  )  [protected]
 

,sh.height());

Definition at line 428 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.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 8 11:15:23 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003