LibrePCB Developers Documentation
|
Settings for librepcb::GraphicsExport. More...
#include <graphicsexportsettings.h>
Public Types | |
enum class | Orientation |
Public Member Functions | |
GraphicsExportSettings () noexcept | |
GraphicsExportSettings (const GraphicsExportSettings &other) noexcept | |
~GraphicsExportSettings () noexcept | |
const std::optional< QPageSize > & | getPageSize () const noexcept |
Orientation | getOrientation () const noexcept |
const UnsignedLength & | getMarginLeft () const noexcept |
const UnsignedLength & | getMarginTop () const noexcept |
const UnsignedLength & | getMarginRight () const noexcept |
const UnsignedLength & | getMarginBottom () const noexcept |
bool | getRotate () const noexcept |
bool | getMirror () const noexcept |
const std::optional< UnsignedRatio > & | getScale () const noexcept |
int | getPixmapDpi () const noexcept |
bool | getBlackWhite () const noexcept |
const QColor & | getBackgroundColor () const noexcept |
const UnsignedLength & | getMinLineWidth () const noexcept |
const QList< std::pair< QString, QColor > > & | getColors () const noexcept |
QStringList | getPaintOrder () const noexcept |
QColor | getColor (const QString &colorName) const noexcept |
QColor | getFillColor (const QString &colorName, bool isFilled, bool isGrabArea) const noexcept |
void | setPageSize (const std::optional< QPageSize > &size) noexcept |
void | setOrientation (Orientation orientation) noexcept |
void | setMarginLeft (const librepcb::UnsignedLength &margin) noexcept |
void | setMarginTop (const librepcb::UnsignedLength &margin) noexcept |
void | setMarginRight (const librepcb::UnsignedLength &margin) noexcept |
void | setMarginBottom (const librepcb::UnsignedLength &margin) noexcept |
void | setRotate (bool rotate) noexcept |
void | setMirror (bool mirror) noexcept |
void | setScale (std::optional< UnsignedRatio > scale) noexcept |
void | setPixmapDpi (int dpi) noexcept |
void | setBlackWhite (bool blackWhite) noexcept |
void | setBackgroundColor (const QColor &c) noexcept |
void | setMinLineWidth (const UnsignedLength &width) noexcept |
void | setColors (const QList< std::pair< QString, QColor > > &colors) noexcept |
void | loadColorsFromTheme (const Theme &theme, bool schematic=true, bool board=true, int innerLayerCount=-1) noexcept |
GraphicsExportSettings & | operator= (const GraphicsExportSettings &rhs) noexcept |
bool | operator== (const GraphicsExportSettings &rhs) const noexcept |
bool | operator!= (const GraphicsExportSettings &rhs) const noexcept |
Private Member Functions | |
QColor | getColorImpl (const QString &name) const noexcept |
Private Attributes | |
std::optional< QPageSize > | mPageSize |
Orientation | mOrientation |
UnsignedLength | mMarginLeft |
UnsignedLength | mMarginTop |
UnsignedLength | mMarginRight |
UnsignedLength | mMarginBottom |
bool | mRotate |
bool | mMirror |
std::optional< UnsignedRatio > | mScale |
int | mPixmapDpi |
bool | mBlackWhite |
QColor | mBackgroundColor |
UnsignedLength | mMinLineWidth |
QList< std::pair< QString, QColor > > | mColors |
Settings for librepcb::GraphicsExport.
|
strong |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |