summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/spreadsheet/printview.h
blob: f7b4b0c168e15cae57999e2ebdd4f3f9d85065b6 (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 Q_SLOTS:
    void print(QPrinter *printer);
};

#endif // PRINTVIEW_H