mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
22 lines
427 B
C++
22 lines
427 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GWidget.h>
|
|
|
|
class GGroupBox : public GWidget {
|
|
C_OBJECT(GGroupBox)
|
|
public:
|
|
virtual ~GGroupBox() override;
|
|
|
|
String title() const { return m_title; }
|
|
void set_title(const StringView&);
|
|
|
|
protected:
|
|
explicit GGroupBox(GWidget* parent);
|
|
GGroupBox(const StringView& title, GWidget* parent);
|
|
|
|
virtual void paint_event(GPaintEvent&) override;
|
|
|
|
private:
|
|
String m_title;
|
|
};
|