LibrePCB Developers Documentation
FootprintListEditorWidget Class Referencefinal

The FootprintListEditorWidget class. More...

#include <footprintlisteditorwidget.h>

Inherits QWidget.

+ Collaboration diagram for FootprintListEditorWidget:

Signals

void currentFootprintChanged (int index)
 

Public Member Functions

 FootprintListEditorWidget (QWidget *parent=nullptr) noexcept
 
 FootprintListEditorWidget (const FootprintListEditorWidget &other)=delete
 
 ~FootprintListEditorWidget () noexcept
 
void setFrameStyle (int style) noexcept
 
void setReadOnly (bool readOnly) noexcept
 
void setReferences (Package *package, UndoStack *stack) noexcept
 
void setLengthUnit (const LengthUnit &unit) noexcept
 
void setCurrentIndex (int index) noexcept
 
FootprintListEditorWidgetoperator= (const FootprintListEditorWidget &rhs)=delete
 

Private Attributes

QScopedPointer< FootprintListModelmModel
 
QScopedPointer< EditableTableWidgetmView
 
LengthDelegatemLengthDelegateX
 
LengthDelegatemLengthDelegateY
 
LengthDelegatemLengthDelegateZ
 

Detailed Description

Constructor & Destructor Documentation

◆ FootprintListEditorWidget() [1/2]

FootprintListEditorWidget ( QWidget *  parent = nullptr)
explicitnoexcept
+ Here is the call graph for this function:

◆ FootprintListEditorWidget() [2/2]

◆ ~FootprintListEditorWidget()

Member Function Documentation

◆ setFrameStyle()

void setFrameStyle ( int  style)
noexcept

◆ setReadOnly()

void setReadOnly ( bool  readOnly)
noexcept

◆ setReferences()

void setReferences ( Package package,
UndoStack stack 
)
noexcept

◆ setLengthUnit()

void setLengthUnit ( const LengthUnit unit)
noexcept
+ Here is the call graph for this function:

◆ setCurrentIndex()

void setCurrentIndex ( int  index)
noexcept

◆ operator=()

FootprintListEditorWidget& operator= ( const FootprintListEditorWidget rhs)
delete

◆ currentFootprintChanged

void currentFootprintChanged ( int  index)
signal
+ Here is the caller graph for this function:

Member Data Documentation

◆ mModel

QScopedPointer<FootprintListModel> mModel
private

◆ mView

QScopedPointer<EditableTableWidget> mView
private

◆ mLengthDelegateX

LengthDelegate* mLengthDelegateX
private

◆ mLengthDelegateY

LengthDelegate* mLengthDelegateY
private

◆ mLengthDelegateZ

LengthDelegate* mLengthDelegateZ
private

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