Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_wdg_options_jpegxl.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 L. E. Segovia <amy@amyspark.me>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef DLG_JPEGXL_EXPORT_H
8#define DLG_JPEGXL_EXPORT_H
9
10#include <QVariant>
11
13#include <kis_config_widget.h>
15
16#include "ui_kis_wdg_options_jpegxl.h"
17
18class KisWdgOptionsJPEGXL : public KisConfigWidget, public Ui::KisWdgOptionsJPEGXL
19{
20 Q_OBJECT
21
22public:
23 KisWdgOptionsJPEGXL(QWidget *parent);
24
25 void setConfiguration(const KisPropertiesConfigurationSP cfg) override;
27
28private Q_SLOTS:
29 // Disable all HLG options when the index is not for an HLG option.
30 void toggleExtraHDROptions(int index);
31 // Disable parameters unless its corresponding encoder is explicitly selected.
32 void toggleModularTabs(int index);
33
34private:
36};
37
38#endif // DLG_JPEGXL_EXPORT_H
KisMetaData::FilterRegistryModel m_filterRegistryModel
KisPropertiesConfigurationSP configuration() const override
void toggleExtraHDROptions(int index)
KisWdgOptionsJPEGXL(QWidget *parent)
void setConfiguration(const KisPropertiesConfigurationSP cfg) override