mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:22:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			427 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 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;
 | |
| };
 | 
