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
9class QListWidget;
10class QListWidgetItem;
11
12class MainWindow : public QMainWindow
13{
15
16public:
18
19private:
20 void setupListItems();
21
22 QListWidget *listWidget;
23};
24
25#endif
The QListWidgetItem class provides an item for use with the QListWidget item view class.
Definition qlistwidget.h:23
The QListWidget class provides an item-based list widget.
The QMainWindow class provides a main application window.
Definition qmainwindow.h:25
#define Q_OBJECT