summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/TableView.cpp
AgeCommit message (Collapse)Author
2022-01-29LibGUI: Allow falling back to default paint behavior in delegatenetworkException
This patch adds a method that can optionally be implemented to allow a TableCellPaintingDelegate to fall back to the default painting in a View.
2022-01-11LibGUI: Make Tableview handle multi-selected indexes when deletingGlenford Williams
Previously when the delete key was pressed, only the first selected cell index would have been deleted. This commit remedies that by first checking when more than a single index is selected.
2021-08-06LibGUI+Applications: Rename Model::is_valid to is_within_rangesin-ack
The previous name did not describe what the function checked, and was easy to confuse with ModelIndex::is_valid.
2021-08-01LibGUI: Remove unused header includesBrian Gianforcaro
2021-07-27LibGUI: Add ModelRole::IconOpacity and support it in all views :^)Andreas Kling
This role allows you to specify a custom opacity for icon painting. Note that the opacity is not in effect when the item is either selected and/or hovered.
2021-07-11TableView: Do not select input on keydownJelle Raaijmakers
In the Spreadsheet app, selecting a cell and typing something (like "1") would create an empty editing delegate, set "1" as its value and immediately select the entire contents of the text box. If your goal was to type "123", that "1" was selected and will be replaced by "23". This changes the behavior of TableView to not select the editing delegate's contents if its creation was a result of a keydown event.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-13Everywhere: It's now "Foobar", not "FooBar", and not "foo bar"Andreas Kling
I hereby declare these to be full nouns that we don't split, neither by space, nor by underscore: - Breadcrumbbar - Coolbar - Menubar - Progressbar - Scrollbar - Statusbar - Taskbar - Toolbar This patch makes everything consistent by replacing every other variant of these with the proper one. :^)
2021-03-12LibGUI: Add variable padding and center bitmaps in TableViewsthankyouverycool
This lets us make nicer looking bitmap tables and fixes a content rect issue in TreeView. Also makes key column highlighting optional
2021-03-04LibGUI: Increase row height in Table/ColumnViews and center iconsthankyouverycool
16x16 icons are now guaranteed at least 1px margins between rows
2021-02-24LibGUI: Account for the row and column headers when painting a TableViewAnotherTest
Otherwise we'd be drawing all the rows, instead of the ones in view. Fixes #5483.
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling