KIO
kfileitemdelegate.h
100 Q_PROPERTY(qreal shadowBlur READ shadowBlur WRITE setShadowBlur)
116 Q_PROPERTY(bool showToolTipWhenElided READ showToolTipWhenElided WRITE setShowToolTipWhenElided)
159 LocalPathOrUrl, ///< The local path to the file or the URL in case it is not a local file. @since 4.5
213 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
218 QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
223 bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override;
233 void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override;
238 void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
405 bool helpEvent(QHelpEvent *event, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index) override;
KFileItemDelegate is intended to be used to provide a KDE file system view, when using one of the sta...
Definition kfileitemdelegate.h:56
Information
This enum defines the additional information that can be displayed below item labels in icon views.
Definition kfileitemdelegate.h:146
@ Comment
A simple comment that can be displayed to the user as is.
Definition kfileitemdelegate.h:160
@ OwnerAndGroup
The user and group that owns the file, e.g. root:root.
Definition kfileitemdelegate.h:152
@ LocalPathOrUrl
The local path to the file or the URL in case it is not a local file.
Definition kfileitemdelegate.h:159
@ FriendlyMimeType
The descriptive name for the MIME type, e.g. HTML Document.
Definition kfileitemdelegate.h:157
@ ModificationTime
The date and time the file/folder was last modified.
Definition kfileitemdelegate.h:154
@ Size
The file size for files, and the number of items for folders.
Definition kfileitemdelegate.h:148
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const const
virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index)
virtual bool helpEvent(QHelpEvent *event, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const const=0
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const const
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const const
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const const=0
virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const const
Q_ENUM(...)
Q_PROPERTY(...)
Q_SLOTSQ_SLOTS
virtual bool eventFilter(QObject *watched, QEvent *event)
WrapMode
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.