liblancelot
#include <PassagewayView.h>
Public Member Functions | |
PassagewayView (QGraphicsItem *parent=0) | |
PassagewayView (ActionTreeModel *entranceModel, ActionTreeModel *atlasModel=0, QGraphicsItem *parent=0) | |
virtual | ~PassagewayView () |
int | activationMethod () const |
void | clearSelection () |
L_Override void | keyPressEvent (QKeyEvent *event) |
void | reset () |
void | setActivationMethod (int value) |
void | setAtlasIcon (QIcon icon) |
void | setAtlasModel (ActionTreeModel *model) |
void | setAtlasTitle (const QString &title) |
void | setColumnLimit (int limit) |
void | setEntranceIcon (QIcon icon) |
void | setEntranceModel (ActionTreeModel *model) |
void | setEntranceTitle (const QString &title) |
L_Override void | setGroup (Group *group=NULL) |
Public Member Functions inherited from Lancelot::Panel | |
Panel (QString title, QGraphicsItem *parent=0) | |
virtual | ~Panel () |
qreal | borderSize (Plasma::MarginEdge edge) const |
QIcon | icon () const |
QSize | iconSize () const |
bool | isShowingTitle () const |
QGraphicsLayoutItem * | layoutItem () const |
void | setIcon (QIcon icon) |
void | setIconSize (QSize size) |
void | setLayoutItem (QGraphicsLayoutItem *layoutItem) |
void | setShowingTitle (bool value) |
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) |
Protected Slots | |
virtual void | listItemActivated (int itemIndex, int listIndex=-1) |
virtual void | pathButtonActivated () |
Protected Member Functions | |
L_Override void | hideEvent (QHideEvent *event) |
Protected Member Functions inherited from Lancelot::Panel | |
L_Override void | resizeEvent (QGraphicsSceneResizeEvent *event) |
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 | |
int | activationMethod |
Properties inherited from Lancelot::Panel | |
QIcon | icon |
QSize | iconSize |
QString | title |
Properties inherited from Lancelot::Widget | |
bool | down |
QString | group |
Additional Inherited Members | |
Signals inherited from Lancelot::Widget | |
void | clicked () |
void | mouseHoverEnter () |
void | mouseHoverLeave () |
void | pressed () |
void | released () |
Detailed Description
Class for non-click tree-browsing with a list of fast-access items Entrance - the list of fast-access items Atlas - all items.
Definition at line 45 of file PassagewayView.h.
Constructor & Destructor Documentation
Lancelot::PassagewayView::PassagewayView | ( | QGraphicsItem * | parent = 0 | ) |
Definition at line 326 of file PassagewayView.cpp.
|
explicit |
Definition at line 332 of file PassagewayView.cpp.
|
virtual |
Definition at line 398 of file PassagewayView.cpp.
Member Function Documentation
int Lancelot::PassagewayView::activationMethod | ( | ) | const |
void Lancelot::PassagewayView::clearSelection | ( | ) |
Definition at line 524 of file PassagewayView.cpp.
|
protected |
Definition at line 591 of file PassagewayView.cpp.
void Lancelot::PassagewayView::keyPressEvent | ( | QKeyEvent * | event | ) |
Definition at line 529 of file PassagewayView.cpp.
|
protectedvirtualslot |
Definition at line 348 of file PassagewayView.cpp.
|
protectedvirtualslot |
Definition at line 339 of file PassagewayView.cpp.
void Lancelot::PassagewayView::reset | ( | ) |
Definition at line 516 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setActivationMethod | ( | int | value | ) |
Definition at line 471 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setAtlasIcon | ( | QIcon | icon | ) |
Definition at line 440 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setAtlasModel | ( | ActionTreeModel * | model | ) |
Definition at line 426 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setAtlasTitle | ( | const QString & | title | ) |
Definition at line 433 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setColumnLimit | ( | int | limit | ) |
Definition at line 505 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setEntranceIcon | ( | QIcon | icon | ) |
Definition at line 418 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setEntranceModel | ( | ActionTreeModel * | model | ) |
Definition at line 404 of file PassagewayView.cpp.
void Lancelot::PassagewayView::setEntranceTitle | ( | const QString & | title | ) |
Definition at line 411 of file PassagewayView.cpp.
|
virtual |
Sets this widget's group.
- Parameters
-
group new group
Reimplemented from Lancelot::Panel.
Definition at line 447 of file PassagewayView.cpp.
Property Documentation
|
readwrite |
Definition at line 49 of file PassagewayView.h.
The documentation for this class was generated from the following files:
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.