Baloo Widgets
filemetadatawidget.cpp
73 QObject::connect(m_widgetFactory, &WidgetFactory::urlActivated, q, &FileMetaDataWidget::urlActivated);
98QLabel *FileMetaDataWidgetPrivate::createLabel(const QString &key, const QString &itemLabel, FileMetaDataWidget *parent)
152 const int spacerWidth = QFontMetrics(q->font()).size(Qt::TextSingleLine, QStringLiteral(" ")).width();
319 int height = margins.top() + margins.bottom() + d->m_gridLayout->spacing() * (d->m_rows.count() - 1);
322 const int rowHeight = qMax(row.label->heightForWidth(leftWidthMax), valueWidget->heightForWidth(rightWidthMax));
326 const int width = margins.left() + margins.right() + leftWidthMax + d->m_gridLayout->spacing() + rightWidthMax;
Provides the data for the MetaDataWidget.
Definition filemetadataprovider.h:31
void loadingFinished()
Emitted once per KFileMetaDataProvider::setItems() after data loading is finished.
virtual QString group(const QString &label) const
Meta data items are sorted alphabetically by their translated label per default.
Definition filemetadataprovider.cpp:500
virtual QString label(const QString &metaDataLabel) const
Definition filemetadataprovider.cpp:439
KConfigGroup group(const QString &group)
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
bool sync() override
NoGlobals
KIOCORE_EXPORT QStringList list(const QString &fileClass)
QString label(StandardShortcut id)
void stateChanged(int state)
int height() const const
QSize size(int flags, const QString &text, int tabStops, int *tabArray) const const
virtual void addItem(QLayoutItem *item) override
void addWidget(QWidget *widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment)
void setColumnStretch(int column, int stretch)
void setRowStretch(int row, int stretch)
virtual void setSpacing(int spacing) override
void setContentsMargins(const QMargins &margins)
void append(QList< T > &&value)
void clear()
qsizetype removeAll(const AT &t)
const_iterator constBegin() const const
const_iterator constEnd() const const
bool isEmpty() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
int width() const const
MinimumExpanding
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
AlignTop
TextSingleLine
TextSelectableByMouse
QFuture< void > map(Iterator begin, Iterator end, MapFunctor &&function)
font
QFontMetrics fontMetrics() const const
QPalette::ColorRole foregroundRole() const const
height
virtual int heightForWidth(int w) const const
sizeHint
void updateGeometry()
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:20 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:18:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.