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
class
QTextEdit;
10
11
class
MainWindow
:
public
QMainWindow
12
{
13
Q_OBJECT
14
15
public
:
16
MainWindow
();
17
18
public
slots
:
19
void
insertCalendar
();
20
void
saveFile
();
21
22
private
:
23
bool
writeXml(
const
QString &fileName);
24
25
QTextEdit *editor;
26
};
27
28
#
endif
main
int main(int argc, char *argv[])
[2]
Definition
buffer.cpp:77
MainWindow
[5]
Definition
src_corelib_kernel_qobject.cpp:52
MainWindow::saveFile
void saveFile()
Definition
mainwindow.cpp:38
qtbase
src
gui
doc
snippets
textdocument-blocks
mainwindow.h
Generated on Thu Nov 14 2024 00:41:05 for Qt by
1.12.0