Krita Source Code Documentation
Loading...
Searching...
No Matches
dlg_border_selection.h
Go to the documentation of this file.
1/*
2 * dlg_border_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_BORDER_SELECTION_H
10#define DLG_BORDER_SELECTION_H
11
12#include "ui_wdg_border_selection.h"
14
15class KisViewManager;
16class WdgBorderSelection : public KisOperationUIWidget, public Ui::WdgBorderSelection
17{
18 Q_OBJECT
19
20public:
22
24
25private Q_SLOTS:
26 void slotWidthChanged(int width);
27 void slotWidthChanged(double width);
28 void slotUnitChanged(int index);
31
32private:
33 void updateWidthUIValue(double value);
34
37 bool m_antialiasing = false;
38};
39
40#endif // DLG_BORDER_SELECTION_H
float value(const T *src, size_t ch)
void updateWidthUIValue(double value)
void slotWidthChanged(int width)
void slotAntialiasingChanged(bool value)
void slotUnitChanged(int index)
void getConfiguration(KisOperationConfigurationSP config) override
WdgBorderSelection(QWidget *parent, KisViewManager *view, KisOperationConfigurationSP config)