File indexing completed on 2024-12-22 04:09:14

0001 /* This file is part of the KDE project
0002  * SPDX-FileCopyrightText: 2008 Martin Pfeiffer <hubipete@gmx.net>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 #ifndef KOZOOMTOOLWIDGET_H
0007 #define KOZOOMTOOLWIDGET_H
0008 
0009 #include <QWidget>
0010 #include <QPixmap>
0011 #include "ui_KoZoomToolWidget.h"
0012 
0013 class KoZoomTool;
0014 
0015 class KoZoomToolWidget : public QWidget, Ui::ZoomToolWidget
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit KoZoomToolWidget(KoZoomTool* tool, QWidget *parent = 0);
0020     ~KoZoomToolWidget() override;
0021 
0022 private Q_SLOTS:
0023     void changeZoomMode();
0024 private:
0025     KoZoomTool *m_tool;
0026 };
0027 
0028 #endif