Hi zac,
The GUI widgets are kept in librecad/src/ui/forms/
for example: qg_circleoptions.ui
Those widgets are shown/hidden by rs_actions ( in folder, librecad/src/actions/ ), for example:
rs_actiondrawcirclecr
the class, RS_ActionDrawCircleCR has virtual functions: hideOptions() showOptions()
the widgets simply set radius by calling:
ActionDrawCircleCR::setRadius(double r) {
data.radius = r;
}
zac wrote
I want the file where radius of circle is taken from GUI andvalue is stored in a variable.
Please help.