We have moved to https://dokuwiki.librecad.org/

Lots of content was already moved to the new wiki, but there is still work to do. If you want to contribute, please register a new account at https://dokuwiki.librecad.org/

This wiki will be kept for a while to keep search engine results valid. Moved sites may be deleted here in future.

Difference between revisions of "LibreCAD v1 Developers' Handbook"

From LibreCAD wiki
Jump to: navigation, search
(Created page with "LibreCAD API == File locations in LibreCAD == librecad.pro The qmake project file ---- '''src/''' all source code ---- '''src/actions/''' all action classes '''src...")
 
(Put in Category:Developers)
 
(One intermediate revision by one user not shown)
Line 78: Line 78:
 
'''src/ui/'''
 
'''src/ui/'''
  
rs_actionfactory, create actions
+
qg_actionfactory, create actions
  
rs_actionhandler, provide action slots to GUI parts
+
qg_actionhandler, provide action slots to GUI parts
  
 
qg_dialogfactory, all gui parts communication with each other
 
qg_dialogfactory, all gui parts communication with each other
Line 101: Line 101:
  
 
scripts executed at the end of build process for copy needed resources like fonts, translations and hatches
 
scripts executed at the end of build process for copy needed resources like fonts, translations and hatches
 +
 +
[[Category:Developers]]

Latest revision as of 19:11, 25 April 2015

LibreCAD API

File locations in LibreCAD

librecad.pro

The qmake project file


src/

all source code


src/actions/

all action classes

src/command/

the rs_command class for command line framework

src/lib/

LibreCAD library

src/lib/actions/

the base types of actioninterface of all actions found in src/actions, rs_preview and rs_snapper defined here

src/lib/creation/

create entities with conditions

src/lib/debug/

RS_DEBUG class, debugging levels

src/lib/engine/

all entity (geometry/shape) classes defined here rs_settings are used to save program preferences in Qt-SQL

src/fileio/

src/lib/filters/

file input output

src/lib/gui/

rs_dialogfactory to provide communication with GUI parts, rs_grid, rs_painter

src/lib/information/

intersection, measure/info, locales

src/lib/math/

common math functions

src/lib/modification/

engine for modification actions

src/lib/scripting/

scripting support, not enabled yet


src/main/

The main function and application window


src/ui/

qg_actionfactory, create actions

qg_actionhandler, provide action slots to GUI parts

qg_dialogfactory, all gui parts communication with each other

src/ui/ Qt GUI forms



res/

holds all icon pictures used by LibreCAD

plugins/

some plugins for use with LibreCAD, which has its own pro file

scripts/

scripts executed at the end of build process for copy needed resources like fonts, translations and hatches