mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
LibGUI: Register AbstractTableView.column_headers_visible
This was used before by SystemMonitor but not actually registered.
This commit is contained in:
parent
bfb587f29d
commit
67b5aea2f9
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <LibCore/Object.h>
|
||||||
#include <LibGUI/AbstractTableView.h>
|
#include <LibGUI/AbstractTableView.h>
|
||||||
#include <LibGUI/Action.h>
|
#include <LibGUI/Action.h>
|
||||||
#include <LibGUI/Button.h>
|
#include <LibGUI/Button.h>
|
||||||
|
@ -19,6 +20,8 @@ namespace GUI {
|
||||||
|
|
||||||
AbstractTableView::AbstractTableView()
|
AbstractTableView::AbstractTableView()
|
||||||
{
|
{
|
||||||
|
REGISTER_BOOL_PROPERTY("column_headers_visible", column_headers_visible, set_column_headers_visible);
|
||||||
|
|
||||||
set_selection_behavior(SelectionBehavior::SelectRows);
|
set_selection_behavior(SelectionBehavior::SelectRows);
|
||||||
m_corner_button = add<Button>();
|
m_corner_button = add<Button>();
|
||||||
m_corner_button->move_to_back();
|
m_corner_button->move_to_back();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue