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

liblancelot

  • Lancelot
  • PassagewayView
Public Member Functions | Protected Slots | Protected Member Functions | Properties | List of all members
Lancelot::PassagewayView Class Reference

#include <PassagewayView.h>

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

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.

Lancelot::PassagewayView::PassagewayView ( ActionTreeModel *  entranceModel,
ActionTreeModel *  atlasModel = 0,
QGraphicsItem *  parent = 0 
)
explicit

Definition at line 332 of file PassagewayView.cpp.

Lancelot::PassagewayView::~PassagewayView ( )
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.

void Lancelot::PassagewayView::hideEvent ( QHideEvent *  event)
protected

Definition at line 591 of file PassagewayView.cpp.

void Lancelot::PassagewayView::keyPressEvent ( QKeyEvent *  event)

Definition at line 529 of file PassagewayView.cpp.

void Lancelot::PassagewayView::listItemActivated ( int  itemIndex,
int  listIndex = -1 
)
protectedvirtualslot

Definition at line 348 of file PassagewayView.cpp.

void Lancelot::PassagewayView::pathButtonActivated ( )
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.

void Lancelot::PassagewayView::setGroup ( Group *  group = NULL)
virtual

Sets this widget's group.

Parameters
groupnew group

Reimplemented from Lancelot::Panel.

Definition at line 447 of file PassagewayView.cpp.

Property Documentation

int Lancelot::PassagewayView::activationMethod
readwrite

Definition at line 49 of file PassagewayView.h.


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