LibrePCB Developers Documentation
Loading...
Searching...
No Matches
SI_Image Class Referencefinal

The SI_Image class represents an image in a schematic. More...

#include <si_image.h>

+ Inheritance diagram for SI_Image:
+ Collaboration diagram for SI_Image:

Public Member Functions

 SI_Image ()=delete
 
 SI_Image (const SI_Image &other)=delete
 
 SI_Image (Schematic &schematic, const Image &image)
 
 ~SI_Image () noexcept
 
const UuidgetUuid () const noexcept
 
const PointgetPosition () const noexcept
 
const AnglegetRotation () const noexcept
 
const std::shared_ptr< Image > & getImage () noexcept
 
std::shared_ptr< const ImagegetImage () const noexcept
 
SI_SymbolgetSymbol () const noexcept
 
void setSymbol (SI_Symbol *symbol) noexcept
 
void addToSchematic () override
 
void removeFromSchematic () override
 
SI_Imageoperator= (const SI_Image &rhs)=delete
 
- Public Member Functions inherited from SI_Base
 SI_Base ()=delete
 
 SI_Base (const SI_Base &other)=delete
 
 SI_Base (Schematic &schematic) noexcept
 
virtual ~SI_Base () noexcept
 
ProjectgetProject () const noexcept
 
CircuitgetCircuit () const noexcept
 
SchematicgetSchematic () const noexcept
 
virtual bool isAddedToSchematic () const noexcept
 
SI_Baseoperator= (const SI_Base &rhs)=delete
 

Private Attributes

QPointer< SI_SymbolmSymbol
 
std::shared_ptr< ImagemImage
 

Additional Inherited Members

- Protected Attributes inherited from SI_Base
SchematicmSchematic
 

Detailed Description

The SI_Image class represents an image in a schematic.

Constructor & Destructor Documentation

◆ SI_Image() [1/3]

SI_Image ( )
delete

◆ SI_Image() [2/3]

SI_Image ( const SI_Image other)
delete

◆ SI_Image() [3/3]

SI_Image ( Schematic schematic,
const Image image 
)

◆ ~SI_Image()

~SI_Image ( )
noexcept

Member Function Documentation

◆ getUuid()

const Uuid & getUuid ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getPosition()

const Point & getPosition ( ) const
inlinenoexcept

◆ getRotation()

const Angle & getRotation ( ) const
inlinenoexcept

◆ getImage() [1/2]

const std::shared_ptr< Image > & getImage ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getImage() [2/2]

std::shared_ptr< const Image > getImage ( ) const
inlinenoexcept

◆ getSymbol()

SI_Symbol * getSymbol ( ) const
inlinenoexcept

◆ setSymbol()

void setSymbol ( SI_Symbol symbol)
noexcept

◆ addToSchematic()

void addToSchematic ( )
overridevirtual

Reimplemented from SI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeFromSchematic()

void removeFromSchematic ( )
overridevirtual

Reimplemented from SI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

SI_Image & operator= ( const SI_Image rhs)
delete

Member Data Documentation

◆ mSymbol

QPointer<SI_Symbol> mSymbol
private

◆ mImage

std::shared_ptr<Image> mImage
private

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