1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#include "projectinfodialog.h"
6
7ProjectInfoDialog::ProjectInfoDialog(QWidget *parent, Qt::WindowFlags f)
8 : QDialog (parent, f)
9 , vLayout (new QVBoxLayout)
10 , textBrowser (new QTextBrowser)
11{
12 setWindowTitle(QDialog::tr("Project Info"));
13 vLayout->addWidget(textBrowser);
14 setLayout(vLayout);
15 setMinimumSize(450, 600);
16}
17
18void ProjectInfoDialog::setPropertyText(const QString &text)
19{
20 textBrowser->setText(text);
21}
22