Krita Source Code Documentation
Loading...
Searching...
No Matches
dlg_shrink_selection.h
Go to the documentation of this file.
1/*
2 * dlg_shrink_selection.h -- part of Krita
3 *
4 * SPDX-FileCopyrightText: 2006 Michael Thaler <michael.thaler@physik.tu-muenchen.de>
5 * SPDX-FileCopyrightText: 2013 Juan Palacios <jpalaciosdev@gmail.com>
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9#ifndef DLG_SHRINK_SELECTION_H
10#define DLG_SHRINK_SELECTION_H
11
12#include "ui_wdg_shrink_selection.h"
14
15class KisViewManager;
16class WdgShrinkSelection : public KisOperationUIWidget, public Ui::WdgShrinkSelection
17{
18 Q_OBJECT
19
20public:
22
24
25private Q_SLOTS:
27 void slotShrinkValueChanged(double value);
28 void slotUnitChanged(int index);
30
31private:
32 void updateShrinkUIValue(double value);
33
37};
38
39#endif // DLG_SHRINK_SELECTION_H
float value(const T *src, size_t ch)
void slotUnitChanged(int index)
void slotShrinkFromImageBorderChanged(bool value)
void getConfiguration(KisOperationConfigurationSP config) override
void updateShrinkUIValue(double value)
WdgShrinkSelection(QWidget *parent, KisViewManager *view, KisOperationConfigurationSP config)
void slotShrinkValueChanged(int value)