KIO
kfileitemdelegate.h
Go to the documentation of this file.
112 Q_PROPERTY(qreal shadowBlur READ shadowBlur WRITE setShadowBlur)
128 Q_PROPERTY(bool showToolTipWhenElided READ showToolTipWhenElided WRITE setShowToolTipWhenElided)
176 Comment
232 virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
238 virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
244 virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem & option, const QModelIndex &index);
256 virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
262 virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option,const QModelIndex &index) const;
448 bool helpEvent(QHelpEvent * event, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index);
The local path to the file or the URL in case it is not a local file.
Definition: kfileitemdelegate.h:175
The date and time the file/folder was last accessed.
Definition: kfileitemdelegate.h:171
The permissions as an octal value, e.g. 0644.
Definition: kfileitemdelegate.h:166
The user name of the file owner, e.g. root.
Definition: kfileitemdelegate.h:167
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
QList< Information > InformationList
Definition: kfileitemdelegate.h:179
The user and group that owns the file, e.g. root:root.
Definition: kfileitemdelegate.h:168
Information
This enum defines the additional information that can be displayed below item labels in icon views...
Definition: kfileitemdelegate.h:162
virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
No additional information will be shown for items.
Definition: kfileitemdelegate.h:163
virtual bool eventFilter(QObject *watched, QEvent *event)
virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index)
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const =0
The descriptive name for the mime type, e.g. HTML Document.
Definition: kfileitemdelegate.h:173
bool helpEvent(QHelpEvent *event, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
The date and time the file/folder was created.
Definition: kfileitemdelegate.h:169
The mime type for the item, e.g. text/html.
Definition: kfileitemdelegate.h:172
The date and time the file/folder was last modified.
Definition: kfileitemdelegate.h:170
KFileItemDelegate is intended to be used to provide a KDE file system view, when using one of the sta...
Definition: kfileitemdelegate.h:67
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const =0
The file size for files, and the number of items for folders.
Definition: kfileitemdelegate.h:164
A UNIX permissions string, e.g. -rwxr-xr-x.
Definition: kfileitemdelegate.h:165
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
QStringList list(const QString &fileClass)
Returns a list of directories associated with this file-class.
Definition: krecentdirs.cpp:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.