I did that by adding widget to layout, and for layout set TextAligment flag.. It works..
I did that by adding widget to layout, and for layout set TextAligment flag.. It works..
Just be aware that Qt's model-view framework has built-in support for checkable items. It is considered as a mistake to abuse QComboBoxes for that. The view has put quite a lot of effort to keeping index widgets in correct places, over corresponding items. I hope you don't have too many items because it will be a resource hog..
J-P Nurmi
Bookmarks