mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
20 lines
430 B
C++
20 lines
430 B
C++
#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;
|
|
};
|