Tuesday, November 28, 2023
Home3D ModelingLibreCAD 3 GUI Revamp – GSoC 2020 Section 2

LibreCAD 3 GUI Revamp – GSoC 2020 Section 2


Hello!

With the top of one other enjoyable coding interval, I’m right here to deliver you the updates on what work has been performed on this interval.

Once more my mentors have been extraordinarily useful and the group too has been very responsive and useful, giving me important and helpful suggestions as I work on the venture.

Documentation for GUI API

Documentation for GUI API has been added to the brand new librecad wiki. A web page for each GUI class describing the operate, syntax and an instance for every operate has been added, for each the traditional GUI lessons and InputGUI lessons. An instance on the way to add and use the dialog widget and enter guis has been added too.

https://dokuwiki.librecad.org/doku.php/dev:v3:gui_api

Settings format modified from XML to JSON

The Settings/toolbar format has been modified from xml to json, to leverage the power of validating the settings utilizing a json schema and ease of json. Rapidjson library has been used for parsing and validating the json file.

Property Editor

prop1
prop2
metainfoproperty

Property editor has been added which permits us to alter the properties of any of the created entities. The property editor reveals up with the properties of all at the moment chosen entities.

Modified the entity property instantaneously modifications the entity to the brand new entity with the modified property. Properties modified work in accordance with the undo supervisor and therefore may be undo.

Property editor makes use of the already current enter guis with the addition of some extra lessons just like the ListGUI, LineSelectGUI and so forth.

Different minor modifications

Minor modifications like addition of okay/cancel and removing of the row/column depend constraint within the customizable toolbar, addition of build_constants file in order that settings file location is set by the cmake on set up and therefore may be modified for various working methods.

Thanks once more to my mentors for his or her assist, and to the group for serving to and declaring numerous bugs/modifications within the options I’m engaged on.

Dev Log

Akhil Nair

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments