• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kutils

KMultiTabBarTab Class Reference
[KMultiTabBar related classes]

#include <kmultitabbar.h>

Inheritance diagram for KMultiTabBarTab:

KMultiTabBarButton QPushButton

List of all members.


Detailed Description

This class represents a tab bar's tab in a KMultiTabBarWidget.

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

Definition at line 268 of file kmultitabbar.h.


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)
virtual ~KMultiTabBarTab ()
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 *)

Friends

class KMultiTabBarInternal

Constructor & Destructor Documentation

KMultiTabBarTab::~KMultiTabBarTab (  )  [virtual]

Destructor.

Definition at line 511 of file kmultitabbar.cpp.


Member Function Documentation

void KMultiTabBarTab::setState ( bool  state  ) 

set the active state of the tab

Parameters:
state true if the tab should become active, false otherwise

Definition at line 560 of file kmultitabbar.cpp.

void KMultiTabBarTab::showActiveTabText ( bool  show  ) 

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

Parameters:
show Whether or not to show the text

Definition at line 615 of file kmultitabbar.cpp.

void KMultiTabBarTab::resize (  )  [inline]

Resized the tab to the needed size.

Definition at line 293 of file kmultitabbar.h.

void KMultiTabBarTab::drawButtonStyled ( QPainter *  paint  )  [protected]

,sh.height());

Definition at line 629 of file kmultitabbar.cpp.


The documentation for this class was generated from the following files:
  • kmultitabbar.h
  • kmultitabbar.cpp

kutils

Skip menu "kutils"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal