• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeutils
 

tdeutils

Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Friends

KMultiTabBarTab Class Reference
[KMultiTabBar related classes]

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

#include <tdemultitabbar.h>

Inheritance diagram for KMultiTabBarTab:
KMultiTabBarButton TQPushButton

List of all members.

Public Slots

virtual void setIcon (const TQString &)
virtual void setIcon (const TQPixmap &)

Public Member Functions

 KMultiTabBarTab (const TQPixmap &pic, const TQString &, int id, TQWidget *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 (TQPainter *)
virtual void drawButtonLabel (TQPainter *)
void drawButtonStyled (TQPainter *)
void drawButtonClassic (TQPainter *)

Friends

class KMultiTabBarInternal

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 tdemultitabbar.h.


Constructor & Destructor Documentation

KMultiTabBarTab::~KMultiTabBarTab (  )  [virtual]

Destructor.

Definition at line 511 of file tdemultitabbar.cpp.


Member Function Documentation

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

,sh.height());

Definition at line 629 of file tdemultitabbar.cpp.

void KMultiTabBarTab::resize (  )  [inline]

Resized the tab to the needed size.

Definition at line 293 of file tdemultitabbar.h.

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 tdemultitabbar.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 tdemultitabbar.cpp.


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

tdeutils

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

tdeutils

Skip menu "tdeutils"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeutils by doxygen 1.7.1
This website is maintained by Timothy Pearson.