QComboBox with the list of workbenches

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply

Do you like this idea?

Yes
2
67%
No
1
33%
 
Total votes: 3
xtemp09
Posts: 72
Joined: Tue Jul 12, 2022 2:16 pm

QComboBox with the list of workbenches

Post by xtemp09 »

I propose: increase of the size of the icons shown to the left of the names of the workbenches in QComboBox::showPopup(). The current size of 16x16 px is too small.

Meaning that I want the following:
1.png
1.png (30.5 KiB) Viewed 936 times
to be like this:
3.png
3.png (42.47 KiB) Viewed 932 times
What do you think about this?
Last edited by xtemp09 on Tue Feb 28, 2023 9:49 am, edited 3 times in total.
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: QComboBox with the list of workbenches

Post by Shalmeneser »

+1
User avatar
onekk
Veteran
Posts: 6146
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: QComboBox with the list of workbenches

Post by onekk »

xtemp09 wrote: Mon Feb 27, 2023 11:13 am ...
This what? link is not visible.

It depends, if you intend the WorkBench selector it should be in sync with menu items font size, as the selected WB is shown having it independent will lead to some unwanted effects, if I choose as example 36pt for the combobox and 10pt for the menu items, selected WB description will be unreadable.

About Icon size, could be seen if svg icons should be viable and if they could scale according to the "font dimension" of the widget, that will depend on the menu item font.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
xtemp09
Posts: 72
Joined: Tue Jul 12, 2022 2:16 pm

Re: QComboBox with the list of workbenches

Post by xtemp09 »

I have updated the picture in the first post. I just replaced the view of QComboBox with QTableView.
User avatar
paddle
Veteran
Posts: 1392
Joined: Mon Feb 03, 2020 4:47 pm

Re: QComboBox with the list of workbenches

Post by paddle »

+1
Post Reply