Krita Source Code Documentation
Loading...
Searching...
No Matches
dlg_shearimage.h
Go to the documentation of this file.
1/*
2 * dlg_shearimage.h -- part of KimageShop^WKrayon^WKrita
3 *
4 * SPDX-FileCopyrightText: 2004 Michael Thaler <michael.thaler@physik.tu-muenchen.de>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8#ifndef DLG_SHEARIMAGE
9#define DLG_SHEARIMAGE
10
11#include <KoDialog.h>
12
13#include "ui_wdg_shearimage.h"
14
15class WdgShearImage : public QWidget, public Ui::WdgShearImage
16{
17 Q_OBJECT
18
19public:
20 WdgShearImage(QWidget *parent) : QWidget(parent) {
21 setupUi(this);
22 }
23};
24
26{
27
28 Q_OBJECT
29
30public:
31
32 DlgShearImage(QWidget * parent = 0,
33 const char* name = 0);
34 ~DlgShearImage() override;
35
36 void setAngleX(quint32 w);
37 void setAngleY(quint32 w);
38 qint32 angleX();
39 qint32 angleY();
40
41private Q_SLOTS:
42
43 void okClicked();
44
45private:
46
48 double m_oldAngle {0.0};
49 bool m_lock;
50
51};
52
53#endif // DLG_SHEARIMAGE
DlgShearImage(QWidget *parent=0, const char *name=0)
void setAngleY(quint32 w)
void setAngleX(quint32 w)
~DlgShearImage() override
WdgShearImage * m_page
A dialog base class with standard buttons and predefined layouts.
Definition KoDialog.h:116
WdgShearImage(QWidget *parent)