Andreas Kling
|
686ee2bf04
|
LibGUI: Rename ModelClient::on_model_update() => model_did_update()
This follows the typical client callback naming scheme used elsewhere
and doesn't collide with the "on_foo" Function hook convention.
|
2020-08-13 20:18:11 +02:00 |
|
Andreas Kling
|
82e949aa7c
|
LibGUI: Rename SortingProxyModel "target" to "source" instead
|
2020-08-13 20:18:11 +02:00 |
|
Tom
|
b778804d20
|
LibGUI: Add ModelClient abstract class and allow registering clients
This solves a problem where the SortingProxyModel doesn't
receive the on_update call because other code overwrote
the handler later on.
|
2020-07-13 19:49:34 +02:00 |
|
Andreas Kling
|
a5799ed462
|
LibGUI: Add SortingProxyModel::sort_role()
This allows you to specify a role to sort by. Defaults to Role::Sort.
Also reordered the Role enum so that Role::Custom is last.
|
2020-07-04 18:40:21 +02:00 |
|
Andreas Kling
|
248f2d5cf5
|
LibGUI: Remove Model::row_name() since nothing used it
|
2020-05-21 20:19:43 +02:00 |
|
Andreas Kling
|
2adb0a07e5
|
LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing
Auto-sizing of view columns is now enabled by default. This removes the
last remaining need for ColumnMetadata, so this patch gets rid of it.
|
2020-05-21 19:55:44 +02:00 |
|
Andreas Kling
|
c666c251c8
|
LibGUI: Replace ColumnMetadata::sortable => Model::is_column_sortable()
Now there's only one thing left in ColumnMetadata: the initial width.
|
2020-05-21 19:55:44 +02:00 |
|
Andreas Kling
|
6a9cc66b97
|
LibGUI: Remove leading G from filenames
|
2020-02-06 20:33:02 +01:00 |
|