mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
Browser: Add option to filter entries in Storage Inspector
This commit is contained in:
parent
d1e6dcfbc2
commit
6463bc7eb3
7 changed files with 87 additions and 11 deletions
|
@ -20,11 +20,12 @@ public:
|
|||
|
||||
void set_items(OrderedHashMap<String, String> map);
|
||||
void clear_items();
|
||||
virtual int row_count(GUI::ModelIndex const&) const override { return m_local_storage_entries.size(); }
|
||||
virtual int row_count(GUI::ModelIndex const&) const override;
|
||||
virtual int column_count(GUI::ModelIndex const& = GUI::ModelIndex()) const override { return Column::__Count; }
|
||||
virtual String column_name(int column) const override;
|
||||
virtual GUI::ModelIndex index(int row, int column = 0, GUI::ModelIndex const& = GUI::ModelIndex()) const override;
|
||||
virtual GUI::Variant data(GUI::ModelIndex const& index, GUI::ModelRole role = GUI::ModelRole::Display) const override;
|
||||
virtual TriState data_matches(GUI::ModelIndex const& index, GUI::Variant const& term) const override;
|
||||
|
||||
private:
|
||||
OrderedHashMap<String, String> m_local_storage_entries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue