• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeplasma-addons API Reference
  • KDE Home
  • Contact Us
 

liblancelot

  • Lancelot
  • ScrollBar
Public Member Functions | Protected Member Functions | Properties | List of all members
Lancelot::ScrollBar Class Reference

#include <ScrollBar.h>

Inherits ScrollBar.

Public Member Functions

 ScrollBar (QGraphicsWidget *parent=0)
 
 ~ScrollBar ()
 
int activationMethod () const
 
void setActivationMethod (int method)
 

Protected Member Functions

L_Override void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
 
L_Override void hoverMoveEvent (QGraphicsSceneHoverEvent *event)
 
L_Override void timerEvent (QTimerEvent *event)
 
L_Override void wheelEvent (QGraphicsSceneWheelEvent *event)
 

Properties

int activationMethod
 

Detailed Description

A widget implementing scroll bars.

Author
Ivan Cukic

Definition at line 36 of file ScrollBar.h.

Constructor & Destructor Documentation

Lancelot::ScrollBar::ScrollBar ( QGraphicsWidget *  parent = 0)

Creates a new Lancelot::ScrollBar.

Parameters
parentparent item

Definition at line 44 of file ScrollBar.cpp.

Lancelot::ScrollBar::~ScrollBar ( )

Destroys this Lancelot::ScrollBar.

Definition at line 51 of file ScrollBar.cpp.

Member Function Documentation

int Lancelot::ScrollBar::activationMethod ( ) const
Returns
activation method
void Lancelot::ScrollBar::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event)
protected

Definition at line 63 of file ScrollBar.cpp.

void Lancelot::ScrollBar::hoverMoveEvent ( QGraphicsSceneHoverEvent *  event)
protected

Definition at line 69 of file ScrollBar.cpp.

void Lancelot::ScrollBar::setActivationMethod ( int  method)

Sets the activation method of the ExtenderButton.

If the activation method is ExtenderActivate, it will be treated as HoverActivate

Parameters
methodnew activation method

Definition at line 116 of file ScrollBar.cpp.

void Lancelot::ScrollBar::timerEvent ( QTimerEvent *  event)
protected

Definition at line 108 of file ScrollBar.cpp.

void Lancelot::ScrollBar::wheelEvent ( QGraphicsSceneWheelEvent *  event)
protected

Definition at line 56 of file ScrollBar.cpp.

Property Documentation

int Lancelot::ScrollBar::activationMethod
readwrite

Definition at line 39 of file ScrollBar.h.


The documentation for this class was generated from the following files:
  • ScrollBar.h
  • ScrollBar.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

liblancelot

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

kdeplasma-addons API Reference

Skip menu "kdeplasma-addons API Reference"
  •     GroupingDesktop
  •   liblancelot

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal