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

liblancelot

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

#include <CustomListView.h>

Inheritance diagram for Lancelot::CustomListView:
Inheritance graph
[legend]

Public Member Functions

 CustomListView (QGraphicsItem *parent=NULL)
 
 CustomListView (CustomListItemFactory *factory, QGraphicsItem *parent=NULL)
 
virtual ~CustomListView ()
 
CustomList * list () const
 
- Public Member Functions inherited from Lancelot::ScrollPane
 ScrollPane (QGraphicsItem *parent=0)
 
virtual ~ScrollPane ()
 
void clearFlag (Flag flag)
 
QSizeF contentsSize () const
 
QSizeF currentViewportSize () const
 
Flags flags () const
 
QSizeF maximumViewportSize () const
 
QPointF scrollPosition () const
 
void scrollTo (QRectF rect)
 
void setFlag (Flag flag)
 
void setFlags (Flags flags)
 
void setFlip (Plasma::Flip flip)
 
void setScrollableWidget (Scrollable *widget)
 
void setScrollPosition (const QPointF &position)
 
QRectF viewportGeometry () const
 
- Public Member Functions inherited from Lancelot::Widget
 Widget (QGraphicsItem *parent=0)
 
virtual ~Widget ()
 
Group * group () const
 
QString groupName () const
 
bool isDown () const
 
bool isHovered () const
 
virtual void setGroup (Group *group=NULL)
 
virtual void setGroupByName (const QString &groupName)
 

Protected Member Functions

L_Override QSizeF sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const
 
- Protected Member Functions inherited from Lancelot::ScrollPane
L_Override void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 
L_Override void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
 
L_Override void resizeEvent (QGraphicsSceneResizeEvent *event)
 
- Protected Member Functions inherited from Lancelot::Widget
L_Override void hideEvent (QHideEvent *event)
 
L_Override void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 
L_Override void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
 
L_Override void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
L_Override void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
L_Override void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
 
void paintBackground (QPainter *painter)
 
void paintBackground (QPainter *painter, const QString &element)
 
void setDown (bool value)
 
void setHovered (bool value)
 
void setPaintBackwardsWhenRTL (bool value)
 
L_Override QSizeF sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const
 

Additional Inherited Members

- Public Types inherited from Lancelot::ScrollPane
enum  Flag { ClipScrollable = 1, HoverShowScrollbars = 2 }
 
- Public Slots inherited from Lancelot::ScrollPane
void scrollableWidgetSizeUpdateNeeded ()
 
void scrollHorizontal (int value)
 
void scrollVertical (int value)
 
- Signals inherited from Lancelot::Widget
void clicked ()
 
void mouseHoverEnter ()
 
void mouseHoverLeave ()
 
void pressed ()
 
void released ()
 
- Properties inherited from Lancelot::ScrollPane
QSizeF contentsSize
 
QPointF scrollPosition
 
QRectF viewportGeometry
 
- Properties inherited from Lancelot::Widget
bool down
 
QString group
 

Detailed Description

Wrapper around the CustomList which implements the actual scrolling.

Definition at line 151 of file CustomListView.h.

Constructor & Destructor Documentation

Lancelot::CustomListView::CustomListView ( QGraphicsItem *  parent = NULL)

Definition at line 334 of file CustomListView.cpp.

Lancelot::CustomListView::CustomListView ( CustomListItemFactory *  factory,
QGraphicsItem *  parent = NULL 
)
explicit

Definition at line 340 of file CustomListView.cpp.

Lancelot::CustomListView::~CustomListView ( )
virtual

Definition at line 347 of file CustomListView.cpp.

Member Function Documentation

CustomList * Lancelot::CustomListView::list ( ) const

Definition at line 352 of file CustomListView.cpp.

QSizeF Lancelot::CustomListView::sizeHint ( Qt::SizeHint  which,
const QSizeF &  constraint = QSizeF() 
) const
protected

Definition at line 357 of file CustomListView.cpp.


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