LibrePCB Developers Documentation
AlignmentSelector Class Referencefinal

The AlignmentSelector class. More...

#include <alignmentselector.h>

Inherits QWidget.

+ Collaboration diagram for AlignmentSelector:

Public Member Functions

 AlignmentSelector (QWidget *parent=nullptr) noexcept
 
 AlignmentSelector (const AlignmentSelector &other)=delete
 
 ~AlignmentSelector () noexcept
 
void setReadOnly (bool readOnly) noexcept
 
Alignment getAlignment () const noexcept
 
void setAlignment (const Alignment &align) noexcept
 
AlignmentSelectoroperator= (const AlignmentSelector &rhs)=delete
 

Private Attributes

QScopedPointer< Ui::AlignmentSelector > mUi
 
QMap< QRadioButton *, AlignmentmLookupTable
 

Detailed Description

The AlignmentSelector class.

Constructor & Destructor Documentation

◆ AlignmentSelector() [1/2]

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

◆ AlignmentSelector() [2/2]

AlignmentSelector ( const AlignmentSelector other)
delete

◆ ~AlignmentSelector()

~AlignmentSelector ( )
noexcept

Member Function Documentation

◆ setReadOnly()

void setReadOnly ( bool  readOnly)
noexcept

◆ getAlignment()

Alignment getAlignment ( ) const
noexcept

◆ setAlignment()

void setAlignment ( const Alignment align)
noexcept

◆ operator=()

AlignmentSelector & operator= ( const AlignmentSelector rhs)
delete

Member Data Documentation

◆ mUi

QScopedPointer<Ui::AlignmentSelector> mUi
private

◆ mLookupTable

QMap<QRadioButton*, Alignment> mLookupTable
private

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