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

#include <mainwindow.h>

Inherits QMainWindow.

+ Collaboration diagram for MainWindow:

Public Member Functions

 MainWindow (QWidget *parent=0)
 
 ~MainWindow ()
 

Private Types

enum  ConvertFileType_t
 

Private Slots

void on_inputBtn_clicked ()
 
void on_outputBtn_clicked ()
 
void on_btnAbort_clicked ()
 
void on_btnConvertSymbols_clicked ()
 
void on_btnConvertDevices_clicked ()
 
void on_pushButton_2_clicked ()
 
void on_btnPathsFromIni_clicked ()
 
void on_toolButton_clicked ()
 
void on_toolButton_2_clicked ()
 
void on_toolButton_3_clicked ()
 
void on_toolButton_4_clicked ()
 
void on_uuidListBtn_clicked ()
 

Private Member Functions

void reset ()
 
void addError (const QString &msg, const librepcb::FilePath &inputFile=librepcb::FilePath(), int inputLine=0)
 
void convertAllFiles (ConvertFileType_t type)
 
void convertFile (ConvertFileType_t type, eagleimport::ConverterDb &db, const librepcb::FilePath &filepath)
 
bool convertSymbol (eagleimport::ConverterDb &db, const parseagle::Symbol &symbol)
 
bool convertPackage (eagleimport::ConverterDb &db, const parseagle::Package &package)
 
bool convertDevice (eagleimport::ConverterDb &db, const parseagle::DeviceSet &deviceSet)
 

Private Attributes

Ui::MainWindow * ui
 
bool mAbortConversion
 
QString mlastInputDirectory
 
int mReadedElementsCount
 
int mConvertedElementsCount
 

Member Enumeration Documentation

enum ConvertFileType_t
strongprivate
Enumerator
Symbols_to_Symbols 
Packages_to_PackagesAndDevices 
Devices_to_Components 

Constructor & Destructor Documentation

MainWindow ( QWidget *  parent = 0)
explicit

+ Here is the call graph for this function:

~MainWindow ( )

Member Function Documentation

void on_inputBtn_clicked ( )
privateslot
void on_outputBtn_clicked ( )
privateslot
void on_btnAbort_clicked ( )
privateslot
void on_btnConvertSymbols_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_btnConvertDevices_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_pushButton_2_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_btnPathsFromIni_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_toolButton_clicked ( )
privateslot
void on_toolButton_2_clicked ( )
privateslot
void on_toolButton_3_clicked ( )
privateslot
void on_toolButton_4_clicked ( )
privateslot

+ Here is the call graph for this function:

void on_uuidListBtn_clicked ( )
privateslot
void reset ( )
private

+ Here is the caller graph for this function:

void addError ( const QString &  msg,
const librepcb::FilePath inputFile = librepcb::FilePath(),
int  inputLine = 0 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void convertAllFiles ( ConvertFileType_t  type)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void convertFile ( ConvertFileType_t  type,
eagleimport::ConverterDb db,
const librepcb::FilePath filepath 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool convertSymbol ( eagleimport::ConverterDb db,
const parseagle::Symbol &  symbol 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool convertPackage ( eagleimport::ConverterDb db,
const parseagle::Package &  package 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool convertDevice ( eagleimport::ConverterDb db,
const parseagle::DeviceSet &  deviceSet 
)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Ui::MainWindow* ui
private
bool mAbortConversion
private
QString mlastInputDirectory
private
int mReadedElementsCount
private
int mConvertedElementsCount
private

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