liblancelot
Lancelot::ActionListViewItem Class Reference
#include <ActionListView_p.h>
Inheritance diagram for Lancelot::ActionListViewItem:
Public Member Functions | |
ActionListViewItem (ActionListViewItemFactory *factory) | |
~ActionListViewItem () | |
L_Override void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) |
L_Override bool | isSelected () const |
L_Override void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
L_Override void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
L_Override void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
L_Override void | setSelected (bool selected=true) |
Public Member Functions inherited from Lancelot::ExtenderButton | |
ExtenderButton (QGraphicsItem *parent=0) | |
ExtenderButton (QString title, QString description=QString(), QGraphicsItem *parent=0) | |
ExtenderButton (QIcon icon, QString title=QString(), QString description=QString(), QGraphicsItem *parent=0) | |
ExtenderButton (const Plasma::Svg &icon, QString title=QString(), QString description=QString(), QGraphicsItem *parent=0) | |
virtual | ~ExtenderButton () |
int | activationMethod () const |
L_Override QRectF | boundingRect () const |
int | extenderPosition () const |
bool | isCheckable () const |
bool | isChecked () const |
L_Override void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
void | setActivationMethod (int method) |
void | setCheckable (bool checkable) |
void | setExtenderPosition (int position) |
L_Override void | setGroup (Group *group=NULL) |
L_Override void | setShortcutKey (const QString &key) |
Public Member Functions inherited from Lancelot::BasicWidget | |
BasicWidget (QIcon icon, QString title=QString(), QString description=QString(), QGraphicsItem *parent=0) | |
BasicWidget (const Plasma::Svg &icon, QString title=QString(), QString description=QString(), QGraphicsItem *parent=0) | |
virtual | ~BasicWidget () |
Qt::Alignment | alignment () const |
QString | description () const |
QIcon | icon () const |
Plasma::Svg & | iconInSvg () const |
QSize | iconSize () const |
Qt::Orientation | innerOrientation () const |
void | setAlignment (Qt::Alignment alignment) |
void | setDescription (const QString &description) |
void | setIcon (QIcon icon) |
void | setIconInSvg (const Plasma::Svg &svg) |
void | setIconSize (QSize size) |
void | setInnerOrientation (Qt::Orientation orientation) |
void | setTitle (const QString &title) |
QString | title () 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 | setGroupByName (const QString &groupName) |
Public Member Functions inherited from Lancelot::CustomListItem | |
CustomListItem () | |
virtual | ~CustomListItem () |
Additional Inherited Members | |
Public Slots inherited from Lancelot::ExtenderButton | |
void | setChecked (bool checked) |
void | toggle () |
Signals inherited from Lancelot::ExtenderButton | |
void | activated () |
void | toggled (bool checked) |
Signals inherited from Lancelot::Widget | |
void | clicked () |
void | mouseHoverEnter () |
void | mouseHoverLeave () |
void | pressed () |
void | released () |
Protected Slots inherited from Lancelot::ExtenderButton | |
void | activate () |
Protected Member Functions inherited from Lancelot::ExtenderButton | |
L_Override void | hideEvent (QHideEvent *event) |
L_Override void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
L_Override void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
L_Override void | resizeEvent (QGraphicsSceneResizeEvent *event) |
Protected Member Functions inherited from Lancelot::BasicWidget | |
void | drawText (QPainter *painter, const QRectF &rectangle, int flags, const QString &text, bool shortcutEnabled) |
L_Override void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
void | paintForeground (QPainter *painter) |
L_Override QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const |
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 |
Properties inherited from Lancelot::ExtenderButton | |
int | activationMethod |
bool | checkable |
bool | checked |
int | extenderPosition |
Properties inherited from Lancelot::BasicWidget | |
QIcon | icon |
QSize | iconSize |
QString | title |
Properties inherited from Lancelot::Widget | |
bool | down |
QString | group |
Detailed Description
Definition at line 42 of file ActionListView_p.h.
Constructor & Destructor Documentation
Lancelot::ActionListViewItem::ActionListViewItem | ( | ActionListViewItemFactory * | factory | ) |
Definition at line 42 of file ActionListView.cpp.
Lancelot::ActionListViewItem::~ActionListViewItem | ( | ) |
Definition at line 50 of file ActionListView.cpp.
Member Function Documentation
void Lancelot::ActionListViewItem::contextMenuEvent | ( | QGraphicsSceneContextMenuEvent * | event | ) |
Definition at line 106 of file ActionListView.cpp.
|
virtual |
Implements Lancelot::CustomListItem.
Definition at line 101 of file ActionListView.cpp.
void Lancelot::ActionListViewItem::mouseMoveEvent | ( | QGraphicsSceneMouseEvent * | event | ) |
Definition at line 119 of file ActionListView.cpp.
void Lancelot::ActionListViewItem::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) |
Definition at line 113 of file ActionListView.cpp.
void Lancelot::ActionListViewItem::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) |
Definition at line 56 of file ActionListView.cpp.
|
virtual |
Implements Lancelot::CustomListItem.
Definition at line 81 of file ActionListView.cpp.
The documentation for this class was generated from the following files:
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
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.