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 <QList>
8#include <QMainWindow>
9#include <QString>
10
11class QAction;
12class QTextDocument;
13class QTextEdit;
14class QTextList;
15class QTreeWidgetItem;
16
17class MainWindow : public QMainWindow
18{
20
21public:
23
24public slots:
25 void insertList();
26 void highlightListItems();
27 void showList();
28
29private:
30 QString currentFile;
31 QTextEdit *editor = nullptr;
32 QTextDocument *document = nullptr;
33 QList<QTextList*> listStructures;
34 QList<QTreeWidgetItem*> previousItems;
35 QList<QTreeWidgetItem*> parentItems;
36};
37
38#endif
int main(int argc, char *argv[])
[2]
Definition buffer.cpp:77
void highlightListItems()
void showList()