LibrePCB Developers Documentation
BackgroundImageSettings Struct Reference

#include <packageeditorwidget.h>

+ Collaboration diagram for BackgroundImageSettings:

Public Member Functions

bool tryLoadFromDir (const FilePath &dir) noexcept
 
void saveToDir (const FilePath &dir) noexcept
 
QPixmap buildPixmap (const QColor &bgColor) const noexcept
 

Public Attributes

bool enabled = true
 Whether the background is enabled or not. More...
 
QImage image
 The original loaded image. More...
 
Angle rotation
 Rotation in scene. More...
 
QList< std::pair< QPointF, Point > > references
 References in image. More...
 

Member Function Documentation

◆ tryLoadFromDir()

bool tryLoadFromDir ( const FilePath dir)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveToDir()

void saveToDir ( const FilePath dir)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildPixmap()

QPixmap buildPixmap ( const QColor &  bgColor) const
noexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ enabled

bool enabled = true

Whether the background is enabled or not.

◆ image

QImage image

The original loaded image.

◆ rotation

Angle rotation

Rotation in scene.

◆ references

QList<std::pair<QPointF, Point> > references

References in image.


The documentation for this struct was generated from the following files: