ListBox missing?

43 views
Skip to first unread message

cryzed

unread,
Oct 24, 2018, 7:44:10 PM10/24/18
to Enaml
Is it just me, or is one of the very basic widgets, a simple ListBox simply missing from Enaml. I checked on GitHub but no one has ever mentioned this. Is there an easy way to get something functionally identical? If not, I'll wrap the native Qt ListBox, I just wanted to make sure that I'm not reinventhing the wheel.

Matthieu Dartiailh

unread,
Oct 24, 2018, 7:45:19 PM10/24/18
to cryzed, Enaml
Are you looking for ObjectCombo ?

On Oct 24, 2018, at 7:44 PM, 'cryzed' via Enaml <en...@googlegroups.com> wrote:

Is it just me, or is one of the very basic widgets, a simple ListBox simply missing from Enaml. I checked on GitHub but no one has ever mentioned this. Is there an easy way to get something functionally identical? If not, I'll wrap the native Qt ListBox, I just wanted to make sure that I'm not reinventhing the wheel.

--
You received this message because you are subscribed to the Google Groups "Enaml" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enaml+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

cryzed

unread,
Oct 24, 2018, 9:12:38 PM10/24/18
to Enaml
Nope, unfortunately not. I'm looking for something like a QListBox or rather a QListView connected to a model; something like this: https://www.bogotobogo.com/Qt/images/ListWidget/WidgetListRun.png

Matthieu Dartiailh

unread,
Oct 24, 2018, 11:16:42 PM10/24/18
to cryzed, Enaml
So the answer is no. Historically Chris did not like the way Qt handled it and though about doing something different, but never had time to do. You can look at https://github.com/Exopy/exopy/blob/master/exopy/utils/widgets/qt_list_str_widget.py. enamlx may also have an implementation.

Best 

Matthieu
Reply all
Reply to author
Forward
0 new messages