1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:37:35 +00:00

Ladybird: Add SettingsDialog stub

This commit is contained in:
Filiph Sandström 2022-07-14 06:08:30 +02:00 committed by Andrew Kaster
parent a838004725
commit 91e5b6d4f5
4 changed files with 53 additions and 0 deletions

View file

@ -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();
}