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
window.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
<
QItemSelection
>
8
#
include
<
QMainWindow
>
9
#
include
<
QAbstractItemModel
>
10
#
include
<
QWidget
>
11
#
include
<
QTableView
>
12
13
class
MainWindow
:
public
QMainWindow
14
{
15
Q_OBJECT
16
public
:
17
MainWindow
(
QWidget
*
parent
=
nullptr
);
18
19
private
slots
:
20
void
fillSelection
();
21
void
clearSelection();
22
void
selectAll();
23
24
private
:
25
QAbstractItemModel *model;
26
QItemSelectionModel *selectionModel;
27
QTableView *table;
28
};
29
30
#
endif
MainWindow
[5]
Definition
src_corelib_kernel_qobject.cpp:52
MainWindow::MainWindow
MainWindow(QWidget *parent=nullptr)
qtbase
src
widgets
doc
snippets
reading-selections
window.h
Generated on Thu Nov 14 2024 00:41:01 for Qt by
1.12.0