Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_wdg_options_heightmap.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Victor Wåhlström <victor.wahlstrom@initiali.se>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6
7#ifndef _KIS_WDG_OPTIONS_HEIGHTMAP_H_
8#define _KIS_WDG_OPTIONS_HEIGHTMAP_H_
9
10#include <kis_config_widget.h>
11#include "ui_kis_wdg_options_heightmap.h"
12
13class KisWdgOptionsHeightmap : public KisConfigWidget, public Ui::WdgOptionsHeightMap
14{
15 Q_OBJECT
16
17public:
18 explicit KisWdgOptionsHeightmap(QWidget *parent);
19 explicit KisWdgOptionsHeightmap(QWidget *parent, bool export_mode);
20
21Q_SIGNALS:
22 void statusUpdated(bool status);
23
24protected:
25 void showEvent(QShowEvent *event) override;
26 void setConfiguration(const KisPropertiesConfigurationSP cfg) override;
28
29private Q_SLOTS:
30 void guessDimensions();
31 void widthChanged(int i);
32 void heightChanged(int i);
33
34private:
35 void updateStatus();
37};
38
39#endif // _KIS_WDG_OPTIONS_HEIGHTMAP_H_
KisPropertiesConfigurationSP configuration() const override
void statusUpdated(bool status)
void setConfiguration(const KisPropertiesConfigurationSP cfg) override
void showEvent(QShowEvent *event) override