Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
mainwindow.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
#
ifndef
WINDOW_H
5
#
define
WINDOW_H
6
7
#
include
<
QMainWindow
>
8
9
QT_BEGIN_NAMESPACE
10
11
class
QTextEdit;
12
class
QTextFrame;
13
class
QTextBlock;
14
15
class
MainWindow
:
public
QMainWindow
16
{
17
Q_OBJECT
18
19
public
:
20
MainWindow
();
21
22
public
slots
:
23
void
saveFile
();
24
25
private
:
26
bool
writeXml(
const
QString &fileName);
27
void
processBlock(QTextBlock);
28
void
processFrame(QTextFrame *frame);
29
30
QTextEdit *editor =
nullptr
;
31
};
32
33
QT_END_NAMESPACE
34
35
#
endif
MainWindow
[6]
Definition
src_corelib_kernel_qmetaobject.cpp:74
main
int main(int argc, char *argv[])
[ctor_close]
Definition
src_corelib_animation_qpropertyanimation.cpp:100
qtbase
src
gui
doc
snippets
textdocument-frames
mainwindow.h
Generated on
for Qt by
1.14.0