ladybird/LibGUI/GGroupBox.h
2019-04-19 01:40:25 +02:00

21 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;
};