diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-25 11:25:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-26 00:51:35 +0200 |
commit | 44e371635ea614e48c57e1e1f8215ca4b6228ce3 (patch) | |
tree | 6f6a1a3a924827ec2c7ba2277d7150d2174fbe6a /DevTools/Profiler | |
parent | eca6ff353ea6a0a127591a824cdb1c19e83a1bc1 (diff) | |
download | serenity-44e371635ea614e48c57e1e1f8215ca4b6228ce3.zip |
LibGUI: Move table view headers into their own widget
This patch introduces the HeaderView class, which is a widget that
implements the column headers of TableView and TreeView.
This greatly simplifies event management in the view implementations
and also makes it much easier to eventually implement row headers.
Diffstat (limited to 'DevTools/Profiler')
-rw-r--r-- | DevTools/Profiler/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/Profiler/main.cpp b/DevTools/Profiler/main.cpp index 8412843f20..daccbb9798 100644 --- a/DevTools/Profiler/main.cpp +++ b/DevTools/Profiler/main.cpp @@ -92,7 +92,7 @@ int main(int argc, char** argv) auto& bottom_splitter = main_widget.add<GUI::VerticalSplitter>(); auto& tree_view = bottom_splitter.add<GUI::TreeView>(); - tree_view.set_headers_visible(true); + tree_view.set_column_headers_visible(true); tree_view.set_model(profile->model()); auto& disassembly_view = bottom_splitter.add<GUI::TableView>(); |