summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/AbstractView.h
AgeCommit message (Collapse)Author
2020-06-10LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSizeAndreas Kling
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
2020-05-02LibGUI: Remove unneeded access rightsBen Wiederhake
2020-04-12LibGUI: Add a way for models to update without invalidating indexesAndreas Kling
This is really just a workaround to keep SystemMonitor's process table working right wrt selection retention during resorts (while also doing full index invalidation on things like ProfileViewer inversion.) It's starting to feel like the model abstraction is not super great and we'll need a better approach if we want to actually build some more dynamic functionality into our views.
2020-04-03LibGUI: Clear any hovered index when the cursor leaves an AbstractViewAndreas Kling
2020-03-30LibGUI: Brighten icons when hovering items in item viewsAndreas Kling
View classes now track their hovered item and paint them in a slightly brighter shade to liven up the user interface. :^)
2020-02-25LibGUI: Make descendants of AbstractView define their own select_all() (#1201)DAlperin
AbstractView does not know which column it's displaying which makes it impossible to implement the select_all functionality up there. Now descendants override the pure virtual select_all method and implement it themselves.
2020-02-24LibGUI: Make AbstractView::set_model() take a RefPtr<Model>Andreas Kling
Let's face it: Taking RefPtr<T>&& arguments is obnoxious and puts too much unnecessary burden on the caller.
2020-02-23LibGUI: Remove parent parameter to GUI::Widget constructorAndreas Kling
2020-02-23LibGUI: Don't require passing a parent to widget constructorsAndreas Kling
This is a step towards using Core::Object::add<T> more, which takes care of parenting the newly created child automatically.
2020-02-16LibGUI: Add forwarding headerAndreas Kling
This patch adds <LibGUI/Forward.h> and uses it a bunch. It also dragged various header dependency reduction changes into it.
2020-02-13LibGUI: Allow dropping drags on AbstractViewAndreas Kling
You can now drop things on an AbstractView, which will ask its model if the drag is acceptable to drop at the index where it's dropped. If it's accepted by the model, the view will fire the on_drop hook.
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling