QCad Convert

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

QCad Convert

buzz
Hi, I'm an industrial electrician/programmer. I use Librecad for circuit diagrams and cabinet layouts.

I program in ladder, Python, Lisp (long time ago :)), and a little bit of C / C++. I am happy to help out if I can!

Can you create new hot key combinations? I would like to be able to close the multi line text dialog box using Alt-O.

Cheers

Buzz
--
Buzz
Reply | Threaded
Open this post in threaded view
|

Re: QCad Convert

dxli
Thanks a lot for your willing to help the development. We need more people with different background to make LibreCAD better.

This feature could be a good starting point for you to get some taste of LibreCAD source code.

we have a wiki(probably outdated) on building from source:

http://wiki.librecad.org/index.php/LibreCAD_Installation_from_Source

To add a shortcut, just add a few lines in the source code file:

qg_dlgmtext.cpp

someting like:

QAction* new =QAction(this);
action->setShortcut(Qt::ALT + Qt::Key_O);
connect(action, SIGNAL(triggered()), this, SLOT(accept()));

basically, ALT_O should trigger the slot function accept()


buzz wrote
Hi, I'm an industrial electrician/programmer. I use Librecad for circuit diagrams and cabinet layouts.

I program in ladder, Python, Lisp (long time ago :)), and a little bit of C / C++. I am happy to help out if I can!

Can you create new hot key combinations? I would like to be able to close the multi line text dialog box using Alt-O.

Cheers

Buzz