• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Applets

Kickoff::TabBar

Kickoff::TabBar Class Reference

#include <tabbar.h>

Inheritance diagram for Kickoff::TabBar:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 29 of file tabbar.h.


Public Member Functions

bool animateSwitch ()
void setAnimateSwitch (bool animateSwitch)
void setCurrentIndexWithoutAnimation (int index)
void setShape (Shape shape)
void setSwitchTabsOnHover (bool switchOnHover)
bool switchTabsOnHover () const
 TabBar (QWidget *parent)

Protected Slots

void animationFinished ()
void onValueChanged (qreal val)
void startAnimation ()
void switchToHoveredTab ()

Protected Member Functions

bool isHorizontal () const
bool isVertical () const
int lastIndex () const
virtual void leaveEvent (QEvent *event)
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void paintEvent (QPaintEvent *event)
virtual void resizeEvent (QResizeEvent *event)
virtual QSize tabSizeHint (int index) const

Constructor & Destructor Documentation

TabBar::TabBar ( QWidget *  parent  ) 

Definition at line 39 of file tabbar.cpp.


Member Function Documentation

bool TabBar::animateSwitch (  ) 

Definition at line 87 of file tabbar.cpp.

void TabBar::animationFinished (  )  [protected, slot]

Definition at line 371 of file tabbar.cpp.

bool TabBar::isHorizontal (  )  const [protected]

Definition at line 389 of file tabbar.cpp.

bool TabBar::isVertical (  )  const [protected]

Definition at line 377 of file tabbar.cpp.

int TabBar::lastIndex (  )  const [protected]

Definition at line 114 of file tabbar.cpp.

void TabBar::leaveEvent ( QEvent *  event  )  [protected, virtual]

Definition at line 311 of file tabbar.cpp.

void TabBar::mouseMoveEvent ( QMouseEvent *  event  )  [protected, virtual]

Definition at line 317 of file tabbar.cpp.

void TabBar::onValueChanged ( qreal  val  )  [protected, slot]

Definition at line 354 of file tabbar.cpp.

void TabBar::paintEvent ( QPaintEvent *  event  )  [protected, virtual]

Definition at line 243 of file tabbar.cpp.

void TabBar::resizeEvent ( QResizeEvent *  event  )  [protected, virtual]

Definition at line 326 of file tabbar.cpp.

void TabBar::setAnimateSwitch ( bool  animateSwitch  ) 

Definition at line 82 of file tabbar.cpp.

void TabBar::setCurrentIndexWithoutAnimation ( int  index  ) 

Like the setCurrentIndex() method but switches the tab without using any animation.

This is used e.g. within Launcher::reset() to switch back to the favorite tab before Kickoff got shown.

Definition at line 63 of file tabbar.cpp.

void TabBar::setShape ( Shape  shape  ) 

Definition at line 55 of file tabbar.cpp.

void TabBar::setSwitchTabsOnHover ( bool  switchOnHover  ) 

Specifies whether hovering switches between tabs or if a click is required to switch the tabs.

Definition at line 72 of file tabbar.cpp.

void TabBar::startAnimation (  )  [protected, slot]

Definition at line 347 of file tabbar.cpp.

bool TabBar::switchTabsOnHover (  )  const

Definition at line 77 of file tabbar.cpp.

void TabBar::switchToHoveredTab (  )  [protected, slot]

Definition at line 333 of file tabbar.cpp.

QSize TabBar::tabSizeHint ( int  index  )  const [protected, virtual]

Definition at line 119 of file tabbar.cpp.


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

Applets

Skip menu "Applets"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
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