LibrePCB Developers Documentation
PathEditorWidget Class Referencefinal

The PathEditorWidget class. More...

#include <patheditorwidget.h>

Inherits QWidget.

+ Collaboration diagram for PathEditorWidget:

Signals

void pathChanged (const Path &path)
 

Public Member Functions

 PathEditorWidget (QWidget *parent=nullptr) noexcept
 
 PathEditorWidget (const PathEditorWidget &other)=delete
 
 ~PathEditorWidget () noexcept
 
void setFrameShape (QFrame::Shape shape) noexcept
 
void setReadOnly (bool readOnly) noexcept
 
void setMinimumVertexCount (int count) noexcept
 
void setPath (const Path &path) noexcept
 
const PathgetPath () const noexcept
 
void setLengthUnit (const LengthUnit &unit) noexcept
 
PathEditorWidgetoperator= (const PathEditorWidget &rhs)=delete
 

Private Attributes

QScopedPointer< PathModelmModel
 
QScopedPointer< EditableTableWidgetmView
 
LengthDelegatemLengthDelegateX
 
LengthDelegatemLengthDelegateY
 

Detailed Description

The PathEditorWidget class.

Constructor & Destructor Documentation

◆ PathEditorWidget() [1/2]

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

◆ PathEditorWidget() [2/2]

PathEditorWidget ( const PathEditorWidget other)
delete

◆ ~PathEditorWidget()

~PathEditorWidget ( )
noexcept

Member Function Documentation

◆ setFrameShape()

void setFrameShape ( QFrame::Shape  shape)
noexcept

◆ setReadOnly()

void setReadOnly ( bool  readOnly)
noexcept

◆ setMinimumVertexCount()

void setMinimumVertexCount ( int  count)
noexcept

◆ setPath()

void setPath ( const Path path)
noexcept

◆ getPath()

const Path & getPath ( ) const
noexcept

◆ setLengthUnit()

void setLengthUnit ( const LengthUnit unit)
noexcept

◆ operator=()

PathEditorWidget & operator= ( const PathEditorWidget rhs)
delete

◆ pathChanged

void pathChanged ( const Path path)
signal
+ Here is the caller graph for this function:

Member Data Documentation

◆ mModel

QScopedPointer<PathModel> mModel
private

◆ mView

QScopedPointer<EditableTableWidget> mView
private

◆ mLengthDelegateX

LengthDelegate* mLengthDelegateX
private

◆ mLengthDelegateY

LengthDelegate* mLengthDelegateY
private

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