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

The FootprintClipboardData class. More...

#include <footprintclipboarddata.h>

+ Collaboration diagram for FootprintClipboardData:

Public Member Functions

 FootprintClipboardData ()=delete
 
 FootprintClipboardData (const FootprintClipboardData &other)=delete
 
 FootprintClipboardData (const Uuid &footprintUuid, const PackagePadList &packagePads, const Point &cursorPos) noexcept
 
 FootprintClipboardData (const SExpression &node)
 
 ~FootprintClipboardData () noexcept
 
bool getItemCount () const noexcept
 
const UuidgetFootprintUuid () const noexcept
 
const PointgetCursorPos () const noexcept
 
PackagePadListgetPackagePads () noexcept
 
const PackagePadListgetPackagePads () const noexcept
 
FootprintPadListgetFootprintPads () noexcept
 
const FootprintPadListgetFootprintPads () const noexcept
 
PolygonListgetPolygons () noexcept
 
const PolygonListgetPolygons () const noexcept
 
CircleListgetCircles () noexcept
 
const CircleListgetCircles () const noexcept
 
StrokeTextListgetStrokeTexts () noexcept
 
const StrokeTextListgetStrokeTexts () const noexcept
 
ZoneListgetZones () noexcept
 
const ZoneListgetZones () const noexcept
 
HoleListgetHoles () noexcept
 
const HoleListgetHoles () const noexcept
 
std::unique_ptr< QMimeData > toMimeData (const IF_GraphicsLayerProvider &lp)
 
FootprintClipboardDataoperator= (const FootprintClipboardData &rhs)=delete
 

Static Public Member Functions

static std::unique_ptr< FootprintClipboardDatafromMimeData (const QMimeData *mime)
 

Private Member Functions

QPixmap generatePixmap (const IF_GraphicsLayerProvider &lp) noexcept
 

Static Private Member Functions

static QString getMimeType () noexcept
 

Private Attributes

Uuid mFootprintUuid
 
PackagePadList mPackagePads
 
Point mCursorPos
 
FootprintPadList mFootprintPads
 
PolygonList mPolygons
 
CircleList mCircles
 
StrokeTextList mStrokeTexts
 
ZoneList mZones
 
HoleList mHoles
 

Detailed Description

Constructor & Destructor Documentation

◆ FootprintClipboardData() [1/4]

+ Here is the caller graph for this function:

◆ FootprintClipboardData() [2/4]

◆ FootprintClipboardData() [3/4]

FootprintClipboardData ( const Uuid footprintUuid,
const PackagePadList packagePads,
const Point cursorPos 
)
noexcept

◆ FootprintClipboardData() [4/4]

FootprintClipboardData ( const SExpression node)
explicit

◆ ~FootprintClipboardData()

~FootprintClipboardData ( )
noexcept

Member Function Documentation

◆ getItemCount()

bool getItemCount ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFootprintUuid()

const Uuid & getFootprintUuid ( ) const
inlinenoexcept

◆ getCursorPos()

const Point & getCursorPos ( ) const
inlinenoexcept

◆ getPackagePads() [1/2]

PackagePadList & getPackagePads ( )
inlinenoexcept

◆ getPackagePads() [2/2]

const PackagePadList & getPackagePads ( ) const
inlinenoexcept

◆ getFootprintPads() [1/2]

FootprintPadList & getFootprintPads ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getFootprintPads() [2/2]

const FootprintPadList & getFootprintPads ( ) const
inlinenoexcept

◆ getPolygons() [1/2]

PolygonList & getPolygons ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getPolygons() [2/2]

const PolygonList & getPolygons ( ) const
inlinenoexcept

◆ getCircles() [1/2]

CircleList & getCircles ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getCircles() [2/2]

const CircleList & getCircles ( ) const
inlinenoexcept

◆ getStrokeTexts() [1/2]

StrokeTextList & getStrokeTexts ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getStrokeTexts() [2/2]

const StrokeTextList & getStrokeTexts ( ) const
inlinenoexcept

◆ getZones() [1/2]

ZoneList & getZones ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getZones() [2/2]

const ZoneList & getZones ( ) const
inlinenoexcept

◆ getHoles() [1/2]

HoleList & getHoles ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getHoles() [2/2]

const HoleList & getHoles ( ) const
inlinenoexcept

◆ toMimeData()

std::unique_ptr< QMimeData > toMimeData ( const IF_GraphicsLayerProvider lp)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromMimeData()

std::unique_ptr< FootprintClipboardData > fromMimeData ( const QMimeData *  mime)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

FootprintClipboardData & operator= ( const FootprintClipboardData rhs)
delete

◆ generatePixmap()

QPixmap generatePixmap ( const IF_GraphicsLayerProvider lp)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMimeType()

QString getMimeType ( )
staticprivatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mFootprintUuid

Uuid mFootprintUuid
private

◆ mPackagePads

PackagePadList mPackagePads
private

◆ mCursorPos

Point mCursorPos
private

◆ mFootprintPads

FootprintPadList mFootprintPads
private

◆ mPolygons

PolygonList mPolygons
private

◆ mCircles

CircleList mCircles
private

◆ mStrokeTexts

StrokeTextList mStrokeTexts
private

◆ mZones

ZoneList mZones
private

◆ mHoles

HoleList mHoles
private

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