20#ifndef LIBREPCB_EDITOR_PROJECTREADMERENDERER_H
21#define LIBREPCB_EDITOR_PROJECTREADMERENDERER_H
65 void start() noexcept;
This class represents absolute, well-formatted paths to files or directories.
Definition filepath.h:127
Renders a README.md or other file types as a QPixmap.
Definition projectreadmerenderer.h:44
std::unique_ptr< QFutureWatcher< QPixmap > > mWatcher
Definition projectreadmerenderer.h:72
void finished(const QPixmap &result)
void request(const FilePath &fp, int width) noexcept
Definition projectreadmerenderer.cpp:57
FilePath mPath
Definition projectreadmerenderer.h:69
void runningChanged(bool running)
ProjectReadmeRenderer()=delete
ProjectReadmeRenderer(const ProjectReadmeRenderer &other)=delete
int mWidth
Definition projectreadmerenderer.h:70
QTimer mDelayTimer
Definition projectreadmerenderer.h:71
static QPixmap render(const FilePath &fp, int width) noexcept
Definition projectreadmerenderer.cpp:108
void start() noexcept
Definition projectreadmerenderer.cpp:75
Definition occmodel.cpp:77