4#ifndef QABSTRACTFILEICONENGINE_P_H
5#define QABSTRACTFILEICONENGINE_P_H
18#include <QtCore/qfileinfo.h>
19#include <private/qicon_p.h>
20#include <qpa/qplatformtheme.h>
38 template <
class It>
static QList<QSize> toSizeList(It i1, It i2);
42 virtual QString cacheKey()
const;
46 const QPlatformTheme::IconOptions
m_options;
53 result.reserve(
int(i2 - i1));
54 for ( ; i1 != i2; ++i1)
Helper base class for retrieving icons for files for usage by QFileIconProvider and related.
virtual QPixmap filePixmap(const QSize &size, QIcon::Mode mode, QIcon::State)=0
QAbstractFileIconEngine(const QFileInfo &info, QPlatformTheme::IconOptions opts)
QFileInfo fileInfo() const
QPlatformTheme::IconOptions options() const
static QList< QSize > toSizeList(It i1, It i2)
\inmodule QtCore \reentrant
Mode
This enum type describes the mode for which a pixmap is intended to be used.
State
This enum describes the state for which a pixmap is intended to be used.
QPixmap scaledPixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) override
QSize actualSize(const QSize &size, QIcon::Mode mode, QIcon::State state) override
Returns the actual size of the icon the engine provides for the requested size, mode and state.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
SharedPointerFileDialogOptions m_options
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLenum GLenum GLenum scale
QFileInfo info(fileName)
[8]