LibrePCB Developers Documentation
|
Like QGraphicsExportWidget, just better. More...
#include <graphicsexportpreviewwidget.h>
Inherits QWidget.
Classes | |
class | PageItem |
Public Member Functions | |
GraphicsExportWidget (const GraphicsExportWidget &other)=delete | |
GraphicsExportWidget (QWidget *parent=nullptr) noexcept | |
~GraphicsExportWidget () noexcept | |
void | setShowPageNumbers (bool show) noexcept |
void | setShowResolution (bool show) noexcept |
void | setNumberOfPages (int number) noexcept |
void | setPageContent (int index, const QSize &pageSize, const QRectF margins, std::shared_ptr< QPicture > picture) noexcept |
GraphicsExportWidget & | operator= (const GraphicsExportWidget &rhs)=delete |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *e) noexcept override |
void | showEvent (QShowEvent *e) noexcept override |
Private Member Functions | |
void | updateScale () noexcept |
void | updateItemPositions () noexcept |
Private Attributes | |
QScopedPointer< QGraphicsView > | mView |
QScopedPointer< QGraphicsScene > | mScene |
QVector< std::shared_ptr< PageItem > > | mItems |
bool | mShowPageNumbers |
bool | mShowResolution |
Like QGraphicsExportWidget, just better.
Main differences to QGraphicsExportWidget:
|
delete |
|
explicitnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
delete |
|
overrideprotectednoexcept |
|
overrideprotectednoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |