Qt
6.x
The Qt SDK
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 <QWidget>
8
10
class
Window
:
public
QWidget
11
{
12
Q_OBJECT
13
14
public
:
15
Window
();
16
void
normalMethod
();
17
Q_INVOKABLE
void
invokableMethod
();
18
};
20
21
#endif
QWidget
The QWidget class is the base class of all user interface objects.
Definition
qwidget.h:99
Window
[Window class with invokable method]
Definition
window.h:11
Window::normalMethod
void normalMethod()
Definition
window.cpp:10
Window::invokableMethod
Q_INVOKABLE void invokableMethod()
Definition
window.cpp:16
Window::Window
Window()
Definition
window.cpp:6
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
Q_INVOKABLE
#define Q_INVOKABLE
Definition
qtmetamacros.h:76
qtbase
src
corelib
doc
snippets
qmetaobject-invokable
window.h
Generated by
1.9.7