My Own toolbar with some buttons

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
johnbest
Registered Member
Posts: 1
Joined: Sun Jan 01, 2023 7:15 am

My Own toolbar with some buttons

Post by johnbest » Sun Jan 01, 2023 9:45 am

Hi,

I am looking for an alternative to AutoCAD. In ACAD, I created a toolbar with certain buttons to perform regular and specific tasks, using VBA.
Is this possible here in QCad? If Yes, then links to some tutorials/blogs would greatly help me.

Windows 10

Regards
JB

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: My Own toolbar with some buttons

Post by CVH » Sun Jan 01, 2023 1:01 pm

Hi, and welcome to the QCAD forum
johnbest wrote:
Sun Jan 01, 2023 9:45 am
Is this possible here in QCad?
Yes,
Under QCAD we script in ECMAScript aka JavaScript.
One can add menu's, toolbars, custom methods and so on, the limit is only your imagination. :wink:

But I can spare you the trouble because the learning curve is quite steep.
Andrew has provided in 2 custom toolbars a while ago.
#EDIT# ... for QCAD Pro ...

Go to menu Edit .. Application Preferences .. General .. Tool Settings
For each existent tool one can tick to include it in User tool bar 1 or 2.
One can also exclude them from other toolbars and menus.
One can change the associated shortcuts and commands, but I wouldn't advise to do that because of possible conflicts.

Now go to menu View .. Toolbars & Widgets .. Toolbars
And select the user toolbar you want to display.
That should display the custom toolbar with all the tools you have activated for it.

Regards,
CVH

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”