summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio/FormEditorWidget.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-08 20:55:58 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-09 00:41:00 +0100
commitd016d5e365ca7fabee627cf68032a3667fd29a37 (patch)
tree95690910c43bfb6fb7770e4af27441294cbe359a /DevTools/HackStudio/FormEditorWidget.h
parentbce510bf6ff14ccd86507e560e734cb56d754b20 (diff)
downloadserenity-d016d5e365ca7fabee627cf68032a3667fd29a37.zip
HackStudio: Start fleshing out the GUI for a GUI designer :^)
I'll be reconstructing parts of the VisualBuilder application here and then we can retire VisualBuilder entirely once all the functionality is available in HackStudio.
Diffstat (limited to 'DevTools/HackStudio/FormEditorWidget.h')
-rw-r--r--DevTools/HackStudio/FormEditorWidget.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/DevTools/HackStudio/FormEditorWidget.h b/DevTools/HackStudio/FormEditorWidget.h
new file mode 100644
index 0000000000..ef53044f8f
--- /dev/null
+++ b/DevTools/HackStudio/FormEditorWidget.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <LibGUI/GScrollableWidget.h>
+
+class FormWidget;
+
+class FormEditorWidget final : public GScrollableWidget {
+ C_OBJECT(FormEditorWidget)
+public:
+ virtual ~FormEditorWidget() override;
+
+private:
+ virtual void paint_event(GPaintEvent&) override;
+
+ explicit FormEditorWidget(GWidget* parent);
+
+ RefPtr<FormWidget> m_form_widget;
+};