summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GGroupBox.h
blob: 49c03870ff603993672397b88a5d742343e11786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <LibGUI/GWidget.h>

class GGroupBox : public GWidget {
    C_OBJECT(GGroupBox)
public:
    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:
    String m_title;
};