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
main.cpp
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
/*
5
main.cpp
6
7
A simple example that shows how selections can be used directly on a model.
8
It shows the result of some selections made using a table view.
9
*/
10
11
#
include
<
QApplication
>
12
13
#
include
"../include/mainwindow.h"
14
15
int
main
(
int
argc,
char
*argv[])
16
{
17
QApplication app(argc, argv);
18
QMainWindow *window =
new
MainWindow
;
19
window->show();
20
window->resize(640, 480);
21
return
app.exec();
22
}
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
widgets
doc
snippets
reading-selections
main.cpp
Generated on
for Qt by
1.14.0