LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PathEditorWidget Class Referencefinal

The PathEditorWidget class. More...

#include <patheditorwidget.h>

Inherits QWidget.

+ Collaboration diagram for PathEditorWidget:

Signals

void toggled (bool checked)
 
void clicked (bool checked)
 
void stateChanged (int state)
 

Public Member Functions

 PathEditorWidget (QWidget *parent=nullptr) noexcept
 
 PathEditorWidget (const PathEditorWidget &other)=delete
 
 ~PathEditorWidget () noexcept
 
void setPath (const Path &path) noexcept
 
Path getPath () const
 
PathEditorWidgetoperator= (const PathEditorWidget &rhs)=delete
 

Private Member Functions

void setRowContent (int row, const QString &x, const QString &y, const QString &angle, bool isLastRow) noexcept
 
void btnAddRemoveClicked () noexcept
 
int getRowOfTableCellWidget (const QWidget *widget) const noexcept
 
QString cellText (int row, int column, const QString &fallback=QString()) const noexcept
 

Private Attributes

QTableWidget * mTable
 

Detailed Description

The PathEditorWidget class.

Constructor & Destructor Documentation

PathEditorWidget ( QWidget *  parent = nullptr)
explicitnoexcept
PathEditorWidget ( const PathEditorWidget other)
delete
~PathEditorWidget ( )
noexcept

Member Function Documentation

void setPath ( const Path path)
noexcept

+ Here is the call graph for this function:

Path getPath ( ) const

+ Here is the call graph for this function:

PathEditorWidget& operator= ( const PathEditorWidget rhs)
delete
void setRowContent ( int  row,
const QString &  x,
const QString &  y,
const QString &  angle,
bool  isLastRow 
)
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void btnAddRemoveClicked ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int getRowOfTableCellWidget ( const QWidget *  widget) const
privatenoexcept

+ Here is the caller graph for this function:

QString cellText ( int  row,
int  column,
const QString &  fallback = QString() 
) const
privatenoexcept

+ Here is the caller graph for this function:

void toggled ( bool  checked)
signal
void clicked ( bool  checked)
signal
void stateChanged ( int  state)
signal

Member Data Documentation

QTableWidget* mTable
private

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