KDEUI
Go to the documentation of this file.
21 #ifndef KCATEGORIZEDVIEW_H
22 #define KCATEGORIZEDVIEW_H
24 #include <QtGui/QListView>
83 Q_PROPERTY(
int categorySpacing READ categorySpacing WRITE setCategorySpacing)
84 Q_PROPERTY(
bool alternatingBlockColors READ alternatingBlockColors WRITE setAlternatingBlockColors)
85 Q_PROPERTY(
bool collapsibleBlocks READ collapsibleBlocks WRITE setCollapsibleBlocks)
100 void setGridSize(const
QSize &size);
128 void setGridSizeOwn(const
QSize &size);
150 int categorySpacing() const;
157 void setCategorySpacing(
int categorySpacing);
164 bool alternatingBlockColors() const;
171 void setAlternatingBlockColors(
bool enable);
178 bool collapsibleBlocks() const;
185 void setCollapsibleBlocks(
bool enable);
192 QModelIndexList block(const
QString &category);
199 QModelIndexList block(const
QModelIndex &representative);
209 virtual
void reset();
225 virtual
void setSelection(const
QRect &rect,
241 virtual
void mouseReleaseEvent(
QMouseEvent *event);
246 virtual
void leaveEvent(
QEvent *event);
251 virtual
void startDrag(Qt::DropActions supportedActions);
276 virtual
QModelIndex moveCursor(CursorAction cursorAction,
277 Qt::KeyboardModifiers modifiers);
282 virtual
void rowsAboutToBeRemoved(const
QModelIndex &parent,
289 virtual
void updateGeometries();
294 virtual
void currentChanged(const
QModelIndex ¤t,
300 virtual
void dataChanged(const
QModelIndex &topLeft,
306 virtual
void rowsInserted(const
QModelIndex &parent,
315 #ifndef KDE_NO_DEPRECATED
316 virtual KDE_DEPRECATED
void rowsInsertedArtifficial(
const QModelIndex &parent,
325 #ifndef KDE_NO_DEPRECATED
326 virtual KDE_DEPRECATED
void rowsRemoved(
const QModelIndex &parent,
335 virtual void slotLayoutChanged();
341 Q_PRIVATE_SLOT(d,
void _k_slotCollapseOrExpandClicked(
QModelIndex))
344 #endif // KCATEGORIZEDVIEW_H
Item view for listing items in a categorized fashion optionally.
KGuiItem reset()
Returns the 'Reset' gui item.
const KShortcut & end()
Goto end of the document.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.