KDEUI
kcategorydrawer.cpp
Go to the documentation of this file.
69 const QString category = index.model()->data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole).toString();
260 void KCategoryDrawerV3::mouseButtonPressed(const QModelIndex&, const QRect&, QMouseEvent *event)
265 void KCategoryDrawerV3::mouseButtonReleased(const QModelIndex&, const QRect&, QMouseEvent *event)
275 void KCategoryDrawerV3::mouseButtonDoubleClicked(const QModelIndex&, const QRect&, QMouseEvent *event)
KCategoryDrawerV3(KCategorizedView *view)
Definition: kcategorydrawer.cpp:244
KCategoryDrawerV2(QObject *parent=0)
Definition: kcategorydrawer.cpp:199
virtual void mouseButtonReleased(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
Method called when the mouse button has been released.
Definition: kcategorydrawer.cpp:265
virtual void drawCategory(const QModelIndex &index, int sortRole, const QStyleOption &option, QPainter *painter) const
This method purpose is to draw a category represented by the given.
Definition: kcategorydrawer.cpp:62
virtual void mouseMoved(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
Method called when the mouse has been moved.
Definition: kcategorydrawer.cpp:270
virtual void mouseLeft(const QModelIndex &index, const QRect &blockRect)
Method called when the mouse button has left this block.
Definition: kcategorydrawer.cpp:280
Definition: kcategorydrawer.h:43
Item view for listing items in a categorized fashion optionally.
Definition: kcategorizedview.h:79
virtual void mouseButtonDoubleClicked(const QModelIndex &index, QMouseEvent *event)
Definition: kcategorydrawer.cpp:224
KCategoryDrawer & operator=(const KCategoryDrawer &cd)
Definition: kcategorydrawer.cpp:192
virtual ~KCategoryDrawerV2()
Definition: kcategorydrawer.cpp:205
virtual void mouseButtonMoved(const QModelIndex &index, QMouseEvent *event)
Definition: kcategorydrawer.cpp:219
virtual void mouseButtonDoubleClicked(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
Method called when the mouse button has been double clicked.
Definition: kcategorydrawer.cpp:275
Definition: kcategorydrawer.h:113
virtual ~KCategoryDrawerV3()
Definition: kcategorydrawer.cpp:250
virtual int categoryHeight(const QModelIndex &index, const QStyleOption &option) const
Definition: kcategorydrawer.cpp:158
virtual void mouseButtonPressed(const QModelIndex &index, QMouseEvent *event)
Definition: kcategorydrawer.cpp:209
void setRightMargin(int rightMargin)
Definition: kcategorydrawer.cpp:187
This role is used for asking the category to a given index.
Definition: kcategorizedsortfilterproxymodel.h:52
virtual void mouseButtonPressed(const QModelIndex &index, const QRect &blockRect, QMouseEvent *event)
Method called when the mouse button has been pressed.
Definition: kcategorydrawer.cpp:260
virtual void mouseButtonReleased(const QModelIndex &index, QMouseEvent *event)
Definition: kcategorydrawer.cpp:214
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.