1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-19 04:37:38 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Andreas Kling
6a0011dcea LibGUI+VisualBuilder: Support custom editing widgets for property values.
Implemented this by letting GAbstractViews provide a GModelEditingDelegate
for a given index, which then knows how to create and setup a custom widget
appropriate for the data type being edited.
2019-06-23 08:18:28 +02:00
Andreas Kling
1d0ada32cc GComboBox: Add set_text() and on_return_pressed hook.
Also give focus back to the editor when closing the list popup window.
2019-06-23 07:55:28 +02:00
Andreas Kling
7d17689e17 LibGUI: Add a new GComboBox widget.
This widget combines a GTextEditor, a GButton, a GWindow and a GListView
to implement a nice drop-down list.

It's currently using the GWindowType::Tooltip type because that's the most
appropriately behaving window type available at the moment. This should
definitely be fixed though.
2019-06-22 10:47:29 +02:00