LibrePCB Developers Documentation
CircuitIdentifierImportDialog Class Referencefinal

The CircuitIdentifierImportDialog class. More...

#include <circuitidentifierimportdialog.h>

Inherits QDialog.

+ Collaboration diagram for CircuitIdentifierImportDialog:

Public Member Functions

 CircuitIdentifierImportDialog ()=delete
 
 CircuitIdentifierImportDialog (const CircuitIdentifierImportDialog &other)=delete
 
 CircuitIdentifierImportDialog (const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~CircuitIdentifierImportDialog () noexcept
 
const QList< CircuitIdentifier > & getValues () const noexcept
 
CircuitIdentifierImportDialogoperator= (const CircuitIdentifierImportDialog &rhs)=delete
 

Private Member Functions

void updatePlaceholder () noexcept
 
void checkClipboard () noexcept
 
void parseInput () noexcept
 
void autoDetectFilterColumn (const QStringList &lines) noexcept
 
bool columnContainsOnlyNumbers (const QList< QStringList > &data, int col) const noexcept
 

Private Attributes

QScopedPointer< Ui::CircuitIdentifierImportDialog > mUi
 
const QString mSettingsPrefix
 
const QRegularExpression mSpaceRegex
 
QList< CircuitIdentifiermValues
 
QString mLastClipboardValue
 
int mFilterColumnIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ CircuitIdentifierImportDialog() [1/3]

◆ CircuitIdentifierImportDialog() [2/3]

◆ CircuitIdentifierImportDialog() [3/3]

CircuitIdentifierImportDialog ( const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~CircuitIdentifierImportDialog()

Member Function Documentation

◆ getValues()

const QList< CircuitIdentifier > & getValues ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator=()

CircuitIdentifierImportDialog & operator= ( const CircuitIdentifierImportDialog rhs)
delete

◆ updatePlaceholder()

void updatePlaceholder ( )
privatenoexcept
+ Here is the caller graph for this function:

◆ checkClipboard()

void checkClipboard ( )
privatenoexcept

◆ parseInput()

void parseInput ( )
privatenoexcept
+ Here is the call graph for this function:

◆ autoDetectFilterColumn()

void autoDetectFilterColumn ( const QStringList &  lines)
privatenoexcept

◆ columnContainsOnlyNumbers()

bool columnContainsOnlyNumbers ( const QList< QStringList > &  data,
int  col 
) const
privatenoexcept

Member Data Documentation

◆ mUi

QScopedPointer<Ui::CircuitIdentifierImportDialog> mUi
private

◆ mSettingsPrefix

const QString mSettingsPrefix
private

◆ mSpaceRegex

const QRegularExpression mSpaceRegex
private

◆ mValues

QList<CircuitIdentifier> mValues
private

◆ mLastClipboardValue

QString mLastClipboardValue
private

◆ mFilterColumnIndex

int mFilterColumnIndex
private

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