![]() |
LibrePCB Developers Documentation
|
Renders a README.md or other file types as a QPixmap. More...
#include <projectreadmerenderer.h>
Inherits QObject.
Collaboration diagram for ProjectReadmeRenderer:Signals | |
| void | runningChanged (bool running) |
| void | finished (const QPixmap &result) |
Public Member Functions | |
| ProjectReadmeRenderer ()=delete | |
| ProjectReadmeRenderer (const ProjectReadmeRenderer &other)=delete | |
| ProjectReadmeRenderer (QObject *parent=nullptr) noexcept | |
| virtual | ~ProjectReadmeRenderer () noexcept |
| void | request (const FilePath &fp, int width) noexcept |
| ProjectReadmeRenderer & | operator= (const ProjectReadmeRenderer &rhs)=delete |
Private Member Functions | |
| void | start () noexcept |
Static Private Member Functions | |
| static QPixmap | render (const FilePath &fp, int width) noexcept |
Private Attributes | |
| FilePath | mPath |
| int | mWidth |
| QTimer | mDelayTimer |
| std::unique_ptr< QFutureWatcher< QPixmap > > | mWatcher |
Renders a README.md or other file types as a QPixmap.
|
delete |
|
delete |
|
explicitnoexcept |
Here is the call graph for this function:
|
virtualnoexcept |
|
noexcept |
|
delete |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |