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

tdeui

Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
KTabBar Class Reference

#include <ktabbar.h>

Inherits TQTabBar.

Signals

void contextMenu (int, const TQPoint &)
 
void mouseDoubleClick (int)
 
void mouseMiddleClick (int)
 
void initiateDrag (int)
 
void testCanDecode (const TQDragMoveEvent *e, bool &accept)
 
void receivedDropEvent (int, TQDropEvent *)
 
void moveTab (int, int)
 
void closeRequest (int)
 
void wheelDelta (int)
 

Public Member Functions

 KTabBar (TQWidget *parent=0, const char *name=0)
 
virtual void setTabEnabled (int, bool)
 
const TQColor & tabColor (int) const
 
void setTabColor (int, const TQColor &)
 
void resetTabColor (int)
 
virtual int insertTab (TQTab *, int index=-1)
 
virtual void removeTab (TQTab *)
 
void setTabReorderingEnabled (bool enable)
 
bool isTabReorderingEnabled () const
 
void setHoverCloseButton (bool)
 
bool hoverCloseButton () const
 
void setHoverCloseButtonDelayed (bool)
 
bool hoverCloseButtonDelayed () const
 
void setTabCloseActivatePrevious (bool)
 
bool tabCloseActivatePrevious () const
 

Protected Slots

virtual void closeButtonClicked ()
 
virtual void onLayoutChange ()
 
virtual void enableCloseButton ()
 
virtual void activateDragSwitchTab ()
 

Protected Member Functions

virtual void mouseDoubleClickEvent (TQMouseEvent *e)
 
virtual void mousePressEvent (TQMouseEvent *e)
 
virtual void mouseMoveEvent (TQMouseEvent *e)
 
virtual void mouseReleaseEvent (TQMouseEvent *e)
 
virtual void wheelEvent (TQWheelEvent *e)
 
virtual void dragMoveEvent (TQDragMoveEvent *e)
 
virtual void dropEvent (TQDropEvent *e)
 
virtual void paintLabel (TQPainter *, const TQRect &, TQTab *, bool) const
 

Detailed Description

Since
3.2

Definition at line 35 of file ktabbar.h.

Constructor & Destructor Documentation

◆ KTabBar()

KTabBar::KTabBar ( TQWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 36 of file ktabbar.cpp.

◆ ~KTabBar()

KTabBar::~KTabBar ( )
virtual

Definition at line 54 of file ktabbar.cpp.

Member Function Documentation

◆ activateDragSwitchTab

void KTabBar::activateDragSwitchTab ( )
protectedvirtualslot

Definition at line 223 of file ktabbar.cpp.

◆ closeButtonClicked

void KTabBar::closeButtonClicked ( )
protectedvirtualslot

Definition at line 400 of file ktabbar.cpp.

◆ dragMoveEvent()

void KTabBar::dragMoveEvent ( TQDragMoveEvent *  e)
protectedvirtual

Definition at line 251 of file ktabbar.cpp.

◆ dropEvent()

void KTabBar::dropEvent ( TQDropEvent *  e)
protectedvirtual

Definition at line 270 of file ktabbar.cpp.

◆ enableCloseButton

void KTabBar::enableCloseButton ( )
protectedvirtualslot

Definition at line 218 of file ktabbar.cpp.

◆ hoverCloseButton()

bool KTabBar::hoverCloseButton ( ) const

Definition at line 412 of file ktabbar.cpp.

◆ hoverCloseButtonDelayed()

bool KTabBar::hoverCloseButtonDelayed ( ) const

Definition at line 422 of file ktabbar.cpp.

◆ insertTab()

int KTabBar::insertTab ( TQTab *  t,
int  index = -1 
)
virtual

Definition at line 319 of file ktabbar.cpp.

◆ isTabReorderingEnabled()

bool KTabBar::isTabReorderingEnabled ( ) const

Definition at line 380 of file ktabbar.cpp.

◆ mouseDoubleClickEvent()

void KTabBar::mouseDoubleClickEvent ( TQMouseEvent *  e)
protectedvirtual

Definition at line 88 of file ktabbar.cpp.

◆ mouseMoveEvent()

void KTabBar::mouseMoveEvent ( TQMouseEvent *  e)
protectedvirtual

Definition at line 117 of file ktabbar.cpp.

◆ mousePressEvent()

void KTabBar::mousePressEvent ( TQMouseEvent *  e)
protectedvirtual

Definition at line 101 of file ktabbar.cpp.

◆ mouseReleaseEvent()

void KTabBar::mouseReleaseEvent ( TQMouseEvent *  e)
protectedvirtual

Definition at line 231 of file ktabbar.cpp.

◆ onLayoutChange

void KTabBar::onLayoutChange ( )
protectedvirtualslot

Definition at line 427 of file ktabbar.cpp.

◆ paintLabel()

void KTabBar::paintLabel ( TQPainter *  p,
const TQRect &  br,
TQTab *  t,
bool  has_focus 
) const
protectedvirtual

Definition at line 337 of file ktabbar.cpp.

◆ removeTab()

void KTabBar::removeTab ( TQTab *  t)
virtual

Definition at line 331 of file ktabbar.cpp.

◆ resetTabColor()

void KTabBar::resetTabColor ( int  id)

Definition at line 301 of file ktabbar.cpp.

◆ setHoverCloseButton()

void KTabBar::setHoverCloseButton ( bool  button)

Definition at line 405 of file ktabbar.cpp.

◆ setHoverCloseButtonDelayed()

void KTabBar::setHoverCloseButtonDelayed ( bool  delayed)

Definition at line 417 of file ktabbar.cpp.

◆ setTabCloseActivatePrevious()

void KTabBar::setTabCloseActivatePrevious ( bool  on)

Definition at line 395 of file ktabbar.cpp.

◆ setTabColor()

void KTabBar::setTabColor ( int  id,
const TQColor &  color 
)

Definition at line 292 of file ktabbar.cpp.

◆ setTabEnabled()

void KTabBar::setTabEnabled ( int  id,
bool  enabled 
)
virtual

Definition at line 60 of file ktabbar.cpp.

◆ setTabReorderingEnabled()

void KTabBar::setTabReorderingEnabled ( bool  enable)

Definition at line 385 of file ktabbar.cpp.

◆ tabCloseActivatePrevious()

bool KTabBar::tabCloseActivatePrevious ( ) const

Definition at line 390 of file ktabbar.cpp.

◆ tabColor()

const TQColor & KTabBar::tabColor ( int  id) const

Definition at line 311 of file ktabbar.cpp.

◆ wheelEvent()

void KTabBar::wheelEvent ( TQWheelEvent *  e)
protectedvirtual

Definition at line 283 of file ktabbar.cpp.


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

tdeui

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

tdeui

Skip menu "tdeui"
  • 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 tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.