summaryrefslogtreecommitdiff
path: root/LibGUI/GGroupBox.h
blob: 6700b3132b37d6441c1625bc4cd25651472cacbd (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& name, GWidget* parent);
    virtual ~GGroupBox() override;

    String name() const { return m_name; }
    void set_name(const String&);

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

protected:
    virtual void paint_event(GPaintEvent&) override;

private:
    String m_name;
};