liblancelot
#include <ActionListView_p.h>
Signals | |
void | activated (int index) |
Signals inherited from Lancelot::CustomListItemFactory | |
void | itemAltered (int index) |
void | itemDeleted (int index) |
void | itemInserted (int index) |
void | updated () |
Public Member Functions | |
ActionListViewItemFactory (ActionListModel *model, ActionListView *view) | |
~ActionListViewItemFactory () | |
void | activate (int index) |
void | activateSelectedItem () |
Group * | categoriesGroup () const |
int | categoryHeight (Qt::SizeHint which) const |
QSize | categoryIconSize () const |
void | clearSelection () |
void | contextForSelectedItem () |
ActionListView::ItemDisplayMode | displayMode () const |
int | extenderPosition () const |
void | itemContext (ActionListViewItem *sender, bool mouseCoordinate=true) |
L_Override int | itemCount () const |
void | itemDrag (ActionListViewItem *sender, QGraphicsSceneMouseEvent *event) |
L_Override CustomListItem * | itemForIndex (int index) |
L_Override CustomListItem * | itemForIndex (int index, bool reload) |
L_Override int | itemHeight (int index, Qt::SizeHint which) const |
int | itemHeight (Qt::SizeHint which) const |
QSize | itemIconSize () const |
Group * | itemsGroup () const |
ActionListModel * | model () const |
void | selectRelItem (int rel) |
void | setCategoriesGroup (Group *group=NULL) |
void | setCategoryHeight (int height, Qt::SizeHint which) |
void | setCategoryIconSize (QSize size) |
void | setDisplayMode (ActionListView::ItemDisplayMode mode) |
void | setExtenderPosition (int position) |
void | setItemExtender (int index) |
void | setItemHeight (int height, Qt::SizeHint which) |
void | setItemIconSize (QSize size) |
void | setItemsGroup (Group *group=NULL) |
void | setModel (ActionListModel *model) |
void | setSelectedItem (ActionListViewItem *item, bool selected=true) |
void | updateExtenderPosition () |
Public Member Functions inherited from Lancelot::CustomListItemFactory | |
CustomListItemFactory () | |
virtual | ~CustomListItemFactory () |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
Detailed Description
Definition at line 71 of file ActionListView_p.h.
Constructor & Destructor Documentation
Lancelot::ActionListViewItemFactory::ActionListViewItemFactory | ( | ActionListModel * | model, |
ActionListView * | view | ||
) |
Definition at line 135 of file ActionListView.cpp.
Lancelot::ActionListViewItemFactory::~ActionListViewItemFactory | ( | ) |
Definition at line 159 of file ActionListView.cpp.
Member Function Documentation
void Lancelot::ActionListViewItemFactory::activate | ( | int | index | ) |
Definition at line 376 of file ActionListView.cpp.
|
signal |
void Lancelot::ActionListViewItemFactory::activateSelectedItem | ( | ) |
Definition at line 656 of file ActionListView.cpp.
Group * Lancelot::ActionListViewItemFactory::categoriesGroup | ( | ) | const |
Definition at line 361 of file ActionListView.cpp.
int Lancelot::ActionListViewItemFactory::categoryHeight | ( | Qt::SizeHint | which | ) | const |
Definition at line 424 of file ActionListView.cpp.
QSize Lancelot::ActionListViewItemFactory::categoryIconSize | ( | ) | const |
Definition at line 462 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::clearSelection | ( | ) |
Definition at line 674 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::contextForSelectedItem | ( | ) |
Definition at line 665 of file ActionListView.cpp.
ActionListView::ItemDisplayMode Lancelot::ActionListViewItemFactory::displayMode | ( | ) | const |
Definition at line 312 of file ActionListView.cpp.
int Lancelot::ActionListViewItemFactory::extenderPosition | ( | ) | const |
Definition at line 586 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::itemContext | ( | ActionListViewItem * | sender, |
bool | mouseCoordinate = true |
||
) |
Definition at line 591 of file ActionListView.cpp.
|
virtual |
- Returns
- number of items
Implements Lancelot::CustomListItemFactory.
Definition at line 386 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::itemDrag | ( | ActionListViewItem * | sender, |
QGraphicsSceneMouseEvent * | event | ||
) |
Definition at line 624 of file ActionListView.cpp.
|
virtual |
- Returns
- an item for the specified index
- Parameters
-
index index
Implements Lancelot::CustomListItemFactory.
Definition at line 192 of file ActionListView.cpp.
CustomListItem * Lancelot::ActionListViewItemFactory::itemForIndex | ( | int | index, |
bool | reload | ||
) |
Definition at line 197 of file ActionListView.cpp.
|
virtual |
- Returns
- the height hint for the specified item
- Parameters
-
index index of the item which which hint to return
Implements Lancelot::CustomListItemFactory.
Definition at line 467 of file ActionListView.cpp.
int Lancelot::ActionListViewItemFactory::itemHeight | ( | Qt::SizeHint | which | ) | const |
Definition at line 407 of file ActionListView.cpp.
QSize Lancelot::ActionListViewItemFactory::itemIconSize | ( | ) | const |
Definition at line 443 of file ActionListView.cpp.
Group * Lancelot::ActionListViewItemFactory::itemsGroup | ( | ) | const |
Definition at line 336 of file ActionListView.cpp.
ActionListModel * Lancelot::ActionListViewItemFactory::model | ( | ) | const |
Definition at line 504 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::selectRelItem | ( | int | rel | ) |
Definition at line 738 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setCategoriesGroup | ( | Group * | group = NULL | ) |
Definition at line 341 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setCategoryHeight | ( | int | height, |
Qt::SizeHint | which | ||
) |
Definition at line 412 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setCategoryIconSize | ( | QSize | size | ) |
Definition at line 448 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setDisplayMode | ( | ActionListView::ItemDisplayMode | mode | ) |
Definition at line 300 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setExtenderPosition | ( | int | position | ) |
Definition at line 555 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setItemExtender | ( | int | index | ) |
Definition at line 576 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setItemHeight | ( | int | height, |
Qt::SizeHint | which | ||
) |
Definition at line 395 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setItemIconSize | ( | QSize | size | ) |
Definition at line 429 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setItemsGroup | ( | Group * | group = NULL | ) |
Definition at line 317 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setModel | ( | ActionListModel * | model | ) |
Definition at line 476 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::setSelectedItem | ( | ActionListViewItem * | item, |
bool | selected = true |
||
) |
Definition at line 681 of file ActionListView.cpp.
void Lancelot::ActionListViewItemFactory::updateExtenderPosition | ( | ) |
Definition at line 569 of file ActionListView.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.