Qt 5.10 Book Examples
chapter60
CPPExtension
MyWidget.h
Go to the documentation of this file.
1
// ======================================================================
2
// MyWidget.h
3
// ======================================================================
4
// This file is a part of the book
5
// "Qt 5.10 Professional programming with C++"
6
// http://qt-book.com
7
// ======================================================================
8
// Copyright (c) 2017 by Max Schlee
9
// ======================================================================
10
11
#pragma once
12
13
#include <QWidget>
14
15
// ======================================================================
16
class
MyWidget
:
public
QWidget {
17
Q_OBJECT
18
public
:
19
MyWidget
(QWidget* pwgt = 0);
20
21
public
slots:
22
void
slotDisplayDialog
();
23
24
};
25
MyWidget::slotDisplayDialog
void slotDisplayDialog()
Definition:
MyWidget.cpp:41
MyWidget
Definition:
main.cpp:14
MyWidget::MyWidget
MyWidget(QWidget *pwgt=0)
Definition:
main.cpp:35
Generated by
1.8.14