mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:17:44 +00:00
HexEditor: Add toolbar and context menus to the Annotations panel
The Annotations panel is the most obvious place to perform actions related to annotations, so let's make that possible. :^) The toolbar gets open/save/save-as actions for annotations, and one for adding an annotation. The table itself gets a context menu for editing or deleting the selected annotation.
This commit is contained in:
parent
a5d11c0a26
commit
56eb45ccbc
5 changed files with 67 additions and 4 deletions
|
@ -60,6 +60,14 @@
|
|||
preferred_height: "grow"
|
||||
visible: false
|
||||
|
||||
@GUI::ToolbarContainer {
|
||||
name: "annotations_toolbar_container"
|
||||
|
||||
@GUI::Toolbar {
|
||||
name: "annotations_toolbar"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::TableView {
|
||||
name: "annotations"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue