summaryrefslogtreecommitdiff
path: root/Ladybird/SettingsDialog.cpp
diff options
context:
space:
mode:
authorFiliph Sandström <filiph.sandstrom@filfatstudios.com>2022-07-14 06:08:30 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commit91e5b6d4f5508d5c752bb8a54a72884fa9285400 (patch)
tree2f3248a75e39cd1cb639a0aa1f2e402422b0e55f /Ladybird/SettingsDialog.cpp
parenta8380047257cb19885bf23ead9a0a92075d4cbce (diff)
downloadserenity-91e5b6d4f5508d5c752bb8a54a72884fa9285400.zip
Ladybird: Add SettingsDialog stub
Diffstat (limited to 'Ladybird/SettingsDialog.cpp')
-rw-r--r--Ladybird/SettingsDialog.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Ladybird/SettingsDialog.cpp b/Ladybird/SettingsDialog.cpp
new file mode 100644
index 0000000000..8ffae27c04
--- /dev/null
+++ b/Ladybird/SettingsDialog.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2022, Filiph Sandström <filiph.sandstrom@filfatstudios.com>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#include "SettingsDialog.h"
+
+SettingsDialog::SettingsDialog(QMainWindow* window)
+ : m_window(window)
+{
+ m_layout = new QBoxLayout(QBoxLayout::Direction::TopToBottom, this);
+
+ setWindowTitle("Settings");
+ resize(340, 400);
+ setLayout(m_layout);
+ show();
+ setFocus();
+}