Ref T369, text edit as dialog

This commit is contained in:
Klaus Basan
2018-09-23 03:35:21 +02:00
parent 14221e08bc
commit 4dce0fcee6
3 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
/* Copyright (C) 2018
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "texteditdialog.h"
#include "ui_texteditdialog.h"
namespace BlackGui
{
namespace Components
{
CTextEditDialog::CTextEditDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::CTextEditDialog)
{
ui->setupUi(this);
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
}
CTextEditDialog::~CTextEditDialog()
{ }
QTextEdit *CTextEditDialog::textEdit() const
{
return ui->te_TextEdit;
}
} // ns
} // ns