65d9593413
Pick-to: 6.4 Change-Id: I79a352d1bac11edf2d2b0443d2f1bb202fb4e254 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
26 lines
383 B
C++
26 lines
383 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef PRINTVIEW_H
|
|
#define PRINTVIEW_H
|
|
|
|
#include <QTableView>
|
|
QT_BEGIN_NAMESPACE
|
|
class QPrinter;
|
|
QT_END_NAMESPACE
|
|
|
|
class PrintView : public QTableView
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PrintView();
|
|
|
|
public slots:
|
|
void print(QPrinter *printer);
|
|
};
|
|
|
|
#endif // PRINTVIEW_H
|
|
|
|
|