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

#include <LibGUI/GWidget.h>

class GGroupBox : public GWidget {
public:
    GGroupBox(const String& title, GWidget* parent);
    virtual ~GGroupBox() override;

    String title() const { return m_title; }
    void set_title(const String&);

    virtual const char* class_name() const override { return "GGroupBox"; }

protected:
    virtual void paint_event(GPaintEvent&) override;

private:
    String m_title;
};