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
4
#ifndef WINDOW_H
5
#define WINDOW_H
6
7
#include <QMainWindow>
8
9
class
QListView
;
10
11
class
MainWindow
:
public
QMainWindow
12
{
13
Q_OBJECT
14
15
public
:
16
MainWindow
();
17
18
private
:
19
void
setupListItems();
20
21
QListView
*listView;
22
};
23
24
#endif
MainWindow
[5]
Definition
src_corelib_kernel_qobject.cpp:52
MainWindow::MainWindow
MainWindow()
QListView
The QListView class provides a list or icon view onto a model.
Definition
qlistview.h:17
QMainWindow
The QMainWindow class provides a main application window.
Definition
qmainwindow.h:25
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
qtbase
src
widgets
doc
snippets
qlistview-dnd
mainwindow.h
Generated by
1.10.0