Qt
6.x
The Qt SDK
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
QListWidget
;
10
class
QListWidgetItem
;
11
12
class
MainWindow
:
public
QMainWindow
13
{
14
Q_OBJECT
15
16
public
:
17
MainWindow
();
18
19
private
:
20
void
setupListItems();
21
22
QListWidget
*listWidget;
23
};
24
25
#endif
MainWindow
[5]
Definition
src_corelib_kernel_qobject.cpp:52
MainWindow::MainWindow
MainWindow()
QListWidgetItem
The QListWidgetItem class provides an item for use with the QListWidget item view class.
Definition
qlistwidget.h:23
QListWidget
The QListWidget class provides an item-based list widget.
Definition
qlistwidget.h:164
QMainWindow
The QMainWindow class provides a main application window.
Definition
qmainwindow.h:25
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
qtbase
src
widgets
doc
snippets
qlistwidget-dnd
mainwindow.h
Generated by
1.9.7