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 Methods

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

Protected Slots

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

Protected Methods

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

Friends

class KMultiTabBarInternal

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 359 of file kmultitabbar.cpp.

References QPushButton::setOn().

Referenced by 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 413 of file kmultitabbar.cpp.


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.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:04:34 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003