Baloo Widgets
10#include "filemetadatawidget.h"
24class WidgetFactory :
public QObject
29 ~WidgetFactory()
override;
31 void setItems(
const KFileItemList &items);
33 void setReadOnly(
bool value);
35 void setDateFormat(
const DateFormats format);
36 DateFormats dateFormat()
const;
38 QWidget *createWidget(
const QString &prop,
const QVariant &value, QWidget *
parent);
41 void urlActivated(
const QUrl &url);
44 void slotTagsChanged(
const QStringList &tags);
45 void slotCommentChanged(
const QString &comment);
46 void slotRatingChanged(
int rating);
49 QWidget *createRatingWidget(
int rating, QWidget *
parent);
50 QWidget *createTagWidget(
const QStringList &tags, QWidget *
parent);
51 QWidget *createCommentWidget(
const QString &comment, QWidget *
parent);
52 QLabel *createValueWidget(QWidget *
parent);
53 QLabel *createLinkWidget(QWidget *
parent);
55 TagWidget *m_tagWidget =
nullptr;
56 KRatingWidget *m_ratingWidget =
nullptr;
57 KCommentWidget *m_commentWidget =
nullptr;
59 KFileItemList m_items;
60 QStringList m_prevTags;
61 bool m_readOnly =
false;
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:57:54 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.