Krita Source Code Documentation
Loading...
Searching...
No Matches
KoAspectButton.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2007 Thomas Zander <zander@kde.org>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
#ifndef KOASPECTBUTTON_H
7
#define KOASPECTBUTTON_H
8
9
#include <QToolButton>
10
11
#include "kritawidgets_export.h"
12
17
class
KRITAWIDGETS_EXPORT
KoAspectButton
:
public
QToolButton {
18
Q_OBJECT
19
public
:
21
explicit
KoAspectButton
(QWidget *parent);
22
~KoAspectButton
()
override
;
23
25
bool
keepAspectRatio()
const
;
26
27
public
Q_SLOTS:
33
void
setKeepAspectRatio(
bool
keep);
34
35
// connect the button release
36
void
buttonReleased();
37
38
Q_SIGNALS:
43
void
keepAspectRatioChanged
(
bool
keep);
44
45
private
:
46
class
Private
;
47
Private
*
const
d
;
48
};
49
50
#endif
KoAspectButton
Definition
KoAspectButton.cpp:15
KoAspectButton::keepAspectRatioChanged
void keepAspectRatioChanged(bool keep)
KoAspectButton::d
Private *const d
Definition
KoAspectButton.h:47
Private
Definition
SvgTransformParser.cpp:20
libs
widgets
KoAspectButton.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52