mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
LibGUI: Add GInputBox for getting a string from a modal dialog.
Use this to implement some of the toolbar actions in IRCClient. :^)
This commit is contained in:
parent
b87c099535
commit
a6538feed1
11 changed files with 158 additions and 17 deletions
|
@ -7,10 +7,8 @@ public:
|
|||
explicit GMessageBox(const String& text, const String& title, GObject* parent = nullptr);
|
||||
virtual ~GMessageBox() override;
|
||||
|
||||
String text() const { return m_text; }
|
||||
|
||||
private:
|
||||
void build();
|
||||
|
||||
private:
|
||||
String m_text;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue