Open main menu

Hacking:Source Tree

This page describes how the Seamly2D source is organized - it will describe what's inside each directory of Seamly2D, and should help you navigate your way through the source.

Contents

Root directoryEdit

The main directory of the project. Open file Seamly2D.pro in Qt Creator for begin work the the code. File ChangeLog.txt contains current changelog state. Don't forget before each pull request to add your changes to this file.

distEdit

Contains scripts and files for building deb, rpm, ebuild, MacOS and Windows install packages.

scriptsEdit

Contains several useful scripts we often use for automate our doings.

shareEdit

Contains translation files. The directory mostly used for storing files related to the project, but not need for building. Such files can be svg versions of images, some important documents, special templates.

srcEdit

Contains the all source code of Seamly2D.

appEdit

Contains the source code of Seamly2D's binaries.

app/shareEdit

Look at this directory if you seek collection of files we use for unit testing and measurement files we deploy with the application.

app/tapeEdit

The source code of Seamly2D's measurement editor.

app/seamly2DEdit

The source code of Seamly2D's main binary.

libsEdit

Contains the all source code of related to Seamly2D libraries.

libs/ifcEdit

The Ifc library used for converting old pattern/measurement format to new version.

libs/qmuparserEdit

The math parser library. Used for evaluating formulas, parsing formulas and translation measurement names.

libs/vdxfEdit

The VDxf library used for export a layout to dxf format.

libs/vformatEdit

Contains class for managing measurements.

libs/vgeometryEdit

Contains classes for working with geometric objects: arc, curve, point, etc.

libs/vlayoutEdit

The library for generating a layout.

libs/vmiscEdit

The library that contains common classes.

libs/vobjEdit

The VObj library used for export a layout to obj format.

libs/vpatterndbEdit

Contains classes for storing data about pattern.

libs/vpropertyexplorerEdit

Contains classes of the tool property browser. You will see it when click on any object: point, line, curve.

libs/vtoolsEdit

Contains all calsses of all tools.

libs/vwidgetsEdit

Contains classes of custom widgets.

testEdit

Contains the source code of all unit tests.

test/ParserTestEdit

Qmuparser's tests.

test/Seamly2DTestEdit

All Seamly2D's tests.