Too Many Options for the Options Bar

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
333onlyhalfevil
Full Member
Posts: 92
Joined: Fri Apr 28, 2023 12:39 pm

Too Many Options for the Options Bar

Post by 333onlyhalfevil » Mon Mar 10, 2025 6:29 pm

For one of my scripts, I need a lot of options and I have too many to fit. What's happening is the options bar automatically creates a button at the far right side with two arrows. If you click this button, the options that don't fit appear on a second options bar line below. The problem is that this second line that gets created is covered up by the main window. It also disappears if you move the mouse off of the options bar (instead of clicking the two arrows button as expected). What is the recommended way to solve this issue? Is the options bar limited to a small enough number of options widgets?

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

Re: Too Many Options for the Options Bar

Post by CVH » Tue Mar 11, 2025 6:17 am

333onlyhalfevil wrote:
Mon Mar 10, 2025 6:29 pm
For one of my scripts, I need a lot of options and I have too many to fit.
At that point I would revert to a dialog.

For example the FlexPainter dialog would be a mess when transposed to the Options Toolbar with .setUiOptions(...)

Another example are the Drawing Preferences when in Print Preview mode ... The 'page settings' button.
These 11 pages of preferences would also not fit on the Options Toolbar side by side. :wink:

Regards,
CVH

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”