mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
20 lines
425 B
C++
20 lines
425 B
C++
#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;
|
|
};
|