swift
Loading...
Searching...
No Matches
texteditdialog.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_GUI_COMPONENTS_TEXTEDITDIALOG_H
7#define SWIFT_GUI_COMPONENTS_TEXTEDITDIALOG_H
8
9#include <QDialog>
10#include <QScopedPointer>
11
12#include "gui/swiftguiexport.h"
13
14class QTextEdit;
15
16namespace Ui
17{
18 class CTextEditDialog;
19}
21{
24 {
26
27 public:
29 explicit CTextEditDialog(QWidget *parent = nullptr);
30
32 ~CTextEditDialog() override;
33
35 QTextEdit *textEdit() const;
36
38 void setReadOnly();
39
40 private:
42 };
43} // namespace swift::gui::components
44#endif // SWIFT_GUI_COMPONENTS_TEXTEDITDIALOG_H
CTextEditDialog(QWidget *parent=nullptr)
Constructor.
QTextEdit * textEdit() const
Access to text edit.
High level reusable GUI components.
QDialog(QWidget *parent, Qt::WindowFlags f)
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
#define SWIFT_GUI_EXPORT
Export a class or function from the library.