LibrePCB Developers Documentation
MsgWrongFootprintTextLayer Class Referencefinal

The MsgWrongFootprintTextLayer class. More...

#include <msgwrongfootprinttextlayer.h>

+ Inheritance diagram for MsgWrongFootprintTextLayer:
+ Collaboration diagram for MsgWrongFootprintTextLayer:

Public Member Functions

 MsgWrongFootprintTextLayer ()=delete
 
 MsgWrongFootprintTextLayer (std::shared_ptr< const Footprint > footprint, std::shared_ptr< const StrokeText > text, const QString &expectedLayerName) noexcept
 
 MsgWrongFootprintTextLayer (const MsgWrongFootprintTextLayer &other) noexcept
 
virtual ~MsgWrongFootprintTextLayer () noexcept
 
std::shared_ptr< const FootprintgetFootprint () const noexcept
 
std::shared_ptr< const StrokeTextgetText () const noexcept
 
QString getExpectedLayerName () const noexcept
 
- Public Member Functions inherited from LibraryElementCheckMessage
 LibraryElementCheckMessage ()=delete
 
Severity getSeverity () const noexcept
 
const QPixmap & getSeverityPixmap () const noexcept
 
const QString & getMessage () const noexcept
 
const QString & getDescription () const noexcept
 
template<typename T >
T * as () noexcept
 
template<typename T >
const T * as () const noexcept
 
bool operator== (const LibraryElementCheckMessage &rhs) const noexcept
 
bool operator!= (const LibraryElementCheckMessage &rhs) const noexcept
 
bool operator< (const LibraryElementCheckMessage &rhs) const noexcept
 

Private Attributes

std::shared_ptr< const FootprintmFootprint
 
std::shared_ptr< const StrokeTextmText
 
QString mExpectedLayerName
 

Additional Inherited Members

- Public Types inherited from LibraryElementCheckMessage
enum  Severity
 Message severity type (higher numer = higher severity) More...
 
- Static Public Member Functions inherited from LibraryElementCheckMessage
static QPixmap getSeverityPixmap (Severity severity) noexcept
 
- Protected Member Functions inherited from LibraryElementCheckMessage
 LibraryElementCheckMessage (const LibraryElementCheckMessage &other) noexcept
 
 LibraryElementCheckMessage (Severity severity, const QString &msg, const QString &description) noexcept
 
virtual ~LibraryElementCheckMessage () noexcept
 
- Protected Attributes inherited from LibraryElementCheckMessage
Severity mSeverity
 
QPixmap mSeverityPixmap
 
QString mMessage
 
QString mDescription
 

Detailed Description

Constructor & Destructor Documentation

◆ MsgWrongFootprintTextLayer() [1/3]

◆ MsgWrongFootprintTextLayer() [2/3]

MsgWrongFootprintTextLayer ( std::shared_ptr< const Footprint footprint,
std::shared_ptr< const StrokeText text,
const QString &  expectedLayerName 
)
noexcept

◆ MsgWrongFootprintTextLayer() [3/3]

MsgWrongFootprintTextLayer ( const MsgWrongFootprintTextLayer other)
inlinenoexcept
+ Here is the call graph for this function:

◆ ~MsgWrongFootprintTextLayer()

~MsgWrongFootprintTextLayer ( )
virtualnoexcept
+ Here is the caller graph for this function:

Member Function Documentation

◆ getFootprint()

std::shared_ptr<const Footprint> getFootprint ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getText()

std::shared_ptr<const StrokeText> getText ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getExpectedLayerName()

QString getExpectedLayerName ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mFootprint

std::shared_ptr<const Footprint> mFootprint
private

◆ mText

std::shared_ptr<const StrokeText> mText
private

◆ mExpectedLayerName

QString mExpectedLayerName
private

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