mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-15 23:01:52 +00:00
LibGUI: Convert GTableView to ObjectPtr
This commit is contained in:
parent
c13b9e2214
commit
e7b55037f4
Notes:
sideshowbarker
2024-07-19 12:02:11 +09:00
Author: https://github.com/awesomekling
Commit: e7b55037f4
20 changed files with 27 additions and 26 deletions
|
@ -19,7 +19,6 @@ public:
|
|||
class GTableView : public GAbstractView {
|
||||
C_OBJECT(GTableView)
|
||||
public:
|
||||
explicit GTableView(GWidget* parent);
|
||||
virtual ~GTableView() override;
|
||||
|
||||
int header_height() const { return m_headers_visible ? 16 : 0; }
|
||||
|
@ -48,7 +47,9 @@ public:
|
|||
|
||||
void set_cell_painting_delegate(int column, OwnPtr<GTableCellPaintingDelegate>&&);
|
||||
|
||||
private:
|
||||
protected:
|
||||
explicit GTableView(GWidget* parent);
|
||||
|
||||
virtual void did_update_model() override;
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue