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

GroupingDesktop

Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
FreeHandle Class Reference

#include <freehandle.h>

Inheritance diagram for FreeHandle:
Inheritance graph
[legend]

Public Types

enum  FadeType { FadeIn, FadeOut }
 
- Public Types inherited from Handle
enum  ButtonType {
  NoButton, MoveButton, RotateButton, ConfigureButton,
  RemoveButton, ResizeButton, MaximizeButton
}
 

Public Member Functions

 FreeHandle (GroupingContainment *parent, Plasma::Applet *applet)
 
 FreeHandle (GroupingContainment *parent, AbstractGroup *group)
 
virtual ~FreeHandle ()
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
 
void setHoverPos (const QPointF &hoverPos)
 
QPainterPath shape () const
 
void startFading (FadeType anim, const QPointF &hoverPos, bool preserveSide=false)
 
- Public Member Functions inherited from Handle
 Handle (GroupingContainment *parent, Plasma::Applet *applet)
 
 Handle (GroupingContainment *parent, AbstractGroup *group)
 
virtual ~Handle ()
 
Plasma::Applet * applet () const
 
GroupingContainment * containment () const
 
QGraphicsView * currentView () const
 
virtual void detachWidget ()
 
AbstractGroup * group () const
 
QGraphicsWidget * widget () const
 

Protected Member Functions

void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 
void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
 
void hoverMoveEvent (QGraphicsSceneHoverEvent *event)
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
bool sceneEvent (QEvent *)
 
bool sceneEventFilter (QGraphicsItem *watched, QEvent *event)
 
- Protected Member Functions inherited from Handle
bool leaveCurrentView (const QPoint &pos) const
 
void switchContainment (GroupingContainment *containment, const QPointF &pos)
 

Properties

qreal fadeAnimation
 

Additional Inherited Members

- Signals inherited from Handle
void disappearDone (Handle *self)
 
void widgetMoved (QGraphicsWidget *widget)
 

Detailed Description

Definition at line 44 of file freehandle.h.

Member Enumeration Documentation

enum FreeHandle::FadeType
Enumerator
FadeIn 
FadeOut 

Definition at line 49 of file freehandle.h.

Constructor & Destructor Documentation

FreeHandle::FreeHandle ( GroupingContainment *  parent,
Plasma::Applet *  applet 
)

Definition at line 58 of file freehandle.cpp.

FreeHandle::FreeHandle ( GroupingContainment *  parent,
AbstractGroup *  group 
)

Definition at line 71 of file freehandle.cpp.

FreeHandle::~FreeHandle ( )
virtual

Definition at line 84 of file freehandle.cpp.

Member Function Documentation

QRectF FreeHandle::boundingRect ( ) const

Definition at line 151 of file freehandle.cpp.

void FreeHandle::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event)
protected

Definition at line 826 of file freehandle.cpp.

void FreeHandle::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event)
protected

Definition at line 846 of file freehandle.cpp.

void FreeHandle::hoverMoveEvent ( QGraphicsSceneHoverEvent *  event)
protected

Definition at line 841 of file freehandle.cpp.

void FreeHandle::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
protected

Definition at line 625 of file freehandle.cpp.

void FreeHandle::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
protected

Definition at line 454 of file freehandle.cpp.

void FreeHandle::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
protected

Definition at line 516 of file freehandle.cpp.

void FreeHandle::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
)

Definition at line 196 of file freehandle.cpp.

bool FreeHandle::sceneEvent ( QEvent *  event)
protected

Definition at line 769 of file freehandle.cpp.

bool FreeHandle::sceneEventFilter ( QGraphicsItem *  watched,
QEvent *  event 
)
protected

Definition at line 871 of file freehandle.cpp.

void FreeHandle::setHoverPos ( const QPointF &  hoverPos)
virtual

Reimplemented from Handle.

Definition at line 916 of file freehandle.cpp.

QPainterPath FreeHandle::shape ( ) const

Definition at line 156 of file freehandle.cpp.

void FreeHandle::startFading ( FadeType  anim,
const QPointF &  hoverPos,
bool  preserveSide = false 
)

Definition at line 925 of file freehandle.cpp.

Property Documentation

qreal FreeHandle::fadeAnimation
readwrite

Definition at line 47 of file freehandle.h.


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

KDE's Doxygen guidelines are available online.

GroupingDesktop

Skip menu "GroupingDesktop"
  • Main Page
  • Namespace List
  • 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