diff --git a/plugins/generators/screentone/kis_wdg_screentone.h b/plugins/generators/screentone/kis_wdg_screentone.h index 08902d3900..56984ff7c1 100644 --- a/plugins/generators/screentone/kis_wdg_screentone.h +++ b/plugins/generators/screentone/kis_wdg_screentone.h @@ -1,61 +1,60 @@ /* * KDE. Krita Project. * * Copyright (c) 2020 Deif Lou * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef KIS_WDG_SCREENTONE_H #define KIS_WDG_SCREENTONE_H #include #include #include class Ui_WdgScreentoneOptions; -class KisAspectRatioLocker; class KisWdgScreentone : public KisConfigWidget { Q_OBJECT public: KisWdgScreentone(QWidget* parent = 0, const KoColorSpace *cs = KoColorSpaceRegistry::instance()->rgb8()); ~KisWdgScreentone() override; public: inline const Ui_WdgScreentoneOptions* widget() const { return m_widget; } void setConfiguration(const KisPropertiesConfigurationSP) override; KisPropertiesConfigurationSP configuration() const override; private: Ui_WdgScreentoneOptions* m_widget; const KoColorSpace *m_colorSpace; void setupPatternComboBox(); void setupShapeComboBox(); void setupInterpolationComboBox(); private Q_SLOTS: void slot_comboBoxPattern_currentIndexChanged(int); void slot_comboBoxShape_currentIndexChanged(int); void slot_sliderSizeX_valueChanged(qreal value); void slot_sliderSizeY_valueChanged(qreal value); void slot_buttonKeepSizeSquare_keepAspectRatioChanged(bool keep); }; #endif