mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
LibGUI: Convert GGroupBox to ObjectPtr
This commit is contained in:
parent
4f4438c04c
commit
83b5f6c11a
5 changed files with 10 additions and 9 deletions
|
@ -5,14 +5,15 @@
|
|||
class GGroupBox : public GWidget {
|
||||
C_OBJECT(GGroupBox)
|
||||
public:
|
||||
explicit GGroupBox(GWidget* parent);
|
||||
GGroupBox(const StringView& title, GWidget* parent);
|
||||
virtual ~GGroupBox() override;
|
||||
|
||||
String title() const { return m_title; }
|
||||
void set_title(const StringView&);
|
||||
|
||||
protected:
|
||||
explicit GGroupBox(GWidget* parent);
|
||||
GGroupBox(const StringView& title, GWidget* parent);
|
||||
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue