Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_dlg_paste_format.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 L. E. Segovia <amy@amyspark.me>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KIS_DLG_PASTE_FORMAT_H
8#define KIS_DLG_PASTE_FORMAT_H
9
10#include <QButtonGroup>
11
12#include "KoDialog.h"
13#include "kis_clipboard.h"
14
15#include "ui_wdgPasteFormat.h"
16
18{
19 Q_OBJECT
20public:
21 KisDlgPasteFormat(QWidget *parent = nullptr);
22
24
26
27 bool remember() const;
28
29private Q_SLOTS:
30 void onInputChanged();
31
32private:
33 Ui_WdgPasteFormat *wdg;
34 QButtonGroup pasteSources;
35};
36
37#endif // KIS_DLG_PASTE_FORMAT_H
float value(const T *src, size_t ch)
KisDlgPasteFormat(QWidget *parent=nullptr)
KisClipboard::PasteFormatBehaviour source() const
Ui_WdgPasteFormat * wdg
void setSourceAvailable(KisClipboard::PasteFormatBehaviour id, bool value)
A dialog base class with standard buttons and predefined layouts.
Definition KoDialog.h:116