Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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#ifndef WINDOW_H
4#define WINDOW_H
5
6#include <QMainWindow>
7
8class QTextEdit;
9class QTextFrame;
10class QTextBlock;
11class QTextTable;
12
13class MainWindow : public QMainWindow
14{
16
17public:
19
20public slots:
21 void saveFile();
22 void showTable();
23
24private:
25 bool writeXml(const QString &fileName);
26 void processFrame(QTextFrame *);
27 void processBlock(QTextBlock);
28 void processTable(QTextTable *table);
29
30 QTextEdit *editor = nullptr;
31};
32
33#endif
void saveFile()
void showTable()
The QMainWindow class provides a main application window.
Definition qmainwindow.h:25
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\reentrant
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
Definition qtextedit.h:27
\reentrant
Definition qtextobject.h:81
\reentrant
Definition qtexttable.h:63
GLenum GLenum GLsizei void * table
#define Q_OBJECT
#define slots