mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
LibGUI: Rename table view's "cell painting delegate" to "column *"
What you install with this API is a delegate that manages painting of all the items in a specific column, so let's make the API reflect that.
This commit is contained in:
@@ -118,7 +118,7 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget()
|
||||
m_json_model = GUI::JsonArrayModel::create({}, move(pid_vm_fields));
|
||||
m_table_view->set_model(GUI::SortingProxyModel::create(*m_json_model));
|
||||
|
||||
m_table_view->set_cell_painting_delegate(7, make<PagemapPaintingDelegate>());
|
||||
m_table_view->set_column_painting_delegate(7, make<PagemapPaintingDelegate>());
|
||||
|
||||
m_table_view->set_key_column_and_sort_order(0, GUI::SortOrder::Ascending);
|
||||
m_timer = add<Core::Timer>(1000, [this] { refresh(); });
|
||||
|
||||
Reference in New Issue
Block a user