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
9class QAction;
10class QTableWidget;
12
13class MainWindow : public QMainWindow
14{
16
17public:
19
20public slots:
21 void averageItems();
22 void sumItems();
23
24private:
25 void setupTableItems();
26
27 QAction *removeAction;
29 QTableWidget *tableWidget;
31};
32
33#endif
void averageItems()
void sumItems()
The QAction class provides an abstraction for user commands that can be added to different user inter...
Definition qaction.h:30
The QMainWindow class provides a main application window.
Definition qmainwindow.h:25
The QTableWidgetItem class provides an item for use with the QTableWidget class.
The QTableWidget class provides an item-based table view with a default model.
#define Q_OBJECT
#define slots