summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/spreadsheet/printview.h
blob: eeb6702c50f119850327d341cbe67e9399e30dda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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