summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GJsonArrayModel.h
AgeCommit message (Collapse)Author
2019-08-14GJsonArrayModel: Add hook for customizing the GModel::Role::Custom dataAndreas Kling
2019-08-12GJsonArrayModel: Add hook to customize what comes out of GModel::SortAndreas Kling
Now you can provide a massage_for_sort hook in your FieldSpec. This allows you to implement arbitrary sorting rules for the data.
2019-08-10GJsonArrayModel: Support fields that aren't tied to a single JSON valueAndreas Kling
Change the custom data massaging callback to take a const JsonObject&. This will allow binding together data from multiple fields into one output in the model. :^)
2019-08-10GJsonArrayModel: Add an optional "massage_for_display" fieldspec hookAndreas Kling
This allows to you install a custom callback that can do anything with Role::Display data before it's returned by GJsonArrayModel::data().
2019-08-10LibGUI: Add GJsonArrayModel, a simple JSON-data-file-as-GModel helperAndreas Kling
This makes it very easy to expose JSON files as GModels. :^)