новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenBoard/src/adaptors/UBThumbnailAdaptor.h

28 lines
592 B

#ifndef UBTHUMBNAILADAPTOR_H
#define UBTHUMBNAILADAPTOR_H
#include <QtCore>
class UBDocument;
class UBDocumentProxy;
class UBGraphicsScene;
class UBThumbnailAdaptor : public QObject
{
Q_OBJECT;
public:
UBThumbnailAdaptor(QObject *parent = 0);
~UBThumbnailAdaptor();
static void persistScene(const QString& pDocPath, UBGraphicsScene* pScene, const int pageIndex, const bool overrideModified = false);
static QList<QPixmap> load(UBDocumentProxy* proxy);
static QUrl thumbnailUrl(UBDocumentProxy* proxy, const int pageIndex);
};
#endif // UBTHUMBNAILADAPTOR_H