Qt 5.10 Book Examples
chapter35
ScreenShot
GrabWidget.h
Go to the documentation of this file.
1
// ======================================================================
2
// GrabWidget.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
class
QLabel;
16
17
// ======================================================================
18
class
GrabWidget
:
public
QWidget {
19
Q_OBJECT
20
private
:
21
QLabel* m_plbl;
22
23
public
:
24
GrabWidget
(QWidget* pwgt = 0);
25
26
public
slots:
27
void
slotGrabScreen
();
28
};
GrabWidget::slotGrabScreen
void slotGrabScreen()
Definition:
GrabWidget.cpp:32
GrabWidget::GrabWidget
GrabWidget(QWidget *pwgt=0)
Definition:
GrabWidget.cpp:15
GrabWidget
Definition:
GrabWidget.h:18
Generated by
1.8.14