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

GroupingDesktop

Public Types | Signals | Public Member Functions | Protected Member Functions | List of all members
Handle Class Reference

#include <handle.h>

Inheritance diagram for Handle:
Inheritance graph
[legend]

Public Types

enum  ButtonType {
  NoButton, MoveButton, RotateButton, ConfigureButton,
  RemoveButton, ResizeButton, MaximizeButton
}
 

Signals

void disappearDone (Handle *self)
 
void widgetMoved (QGraphicsWidget *widget)
 

Public Member Functions

 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
 
virtual void setHoverPos (const QPointF &hoverPos)
 
QGraphicsWidget * widget () const
 

Protected Member Functions

bool leaveCurrentView (const QPoint &pos) const
 
void switchContainment (GroupingContainment *containment, const QPointF &pos)
 

Detailed Description

Definition at line 41 of file handle.h.

Member Enumeration Documentation

enum Handle::ButtonType
Enumerator
NoButton 
MoveButton 
RotateButton 
ConfigureButton 
RemoveButton 
ResizeButton 
MaximizeButton 

Definition at line 46 of file handle.h.

Constructor & Destructor Documentation

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

Definition at line 51 of file handle.cpp.

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

Definition at line 63 of file handle.cpp.

Handle::~Handle ( )
virtual

Definition at line 75 of file handle.cpp.

Member Function Documentation

Plasma::Applet * Handle::applet ( ) const

Definition at line 85 of file handle.cpp.

GroupingContainment * Handle::containment ( ) const

Definition at line 95 of file handle.cpp.

QGraphicsView * Handle::currentView ( ) const

Definition at line 100 of file handle.cpp.

void Handle::detachWidget ( )
virtual

Reimplemented in GridHandle.

Definition at line 105 of file handle.cpp.

void Handle::disappearDone ( Handle *  self)
signal
AbstractGroup * Handle::group ( ) const

Definition at line 90 of file handle.cpp.

bool Handle::leaveCurrentView ( const QPoint &  pos) const
protected

Definition at line 124 of file handle.cpp.

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

Reimplemented in FreeHandle, and GridHandle.

Definition at line 173 of file handle.cpp.

void Handle::switchContainment ( GroupingContainment *  containment,
const QPointF &  pos 
)
protected

move our widget to another containment

Parameters
containmentthe containment to move to
posthe (scene-relative) position to place it at

Definition at line 140 of file handle.cpp.

QGraphicsWidget * Handle::widget ( ) const

Definition at line 80 of file handle.cpp.

void Handle::widgetMoved ( QGraphicsWidget *  widget)
signal

The documentation for this class was generated from the following files:
  • handle.h
  • handle.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