okular/part/editdrawingtooldialog.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
766 B
C
Raw Normal View History

2021-05-24 07:25:56 +00:00
/*
SPDX-FileCopyrightText: 2015 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef EDITDRAWINGTOOLDIALOG_H
#define EDITDRAWINGTOOLDIALOG_H
#include <QDialog>
#include <QDomElement>
class KColorButton;
class KLineEdit;
class QSpinBox;
class EditDrawingToolDialog : public QDialog
{
Q_OBJECT
public:
2017-03-02 19:09:32 +00:00
explicit EditDrawingToolDialog(const QDomElement &initialState = QDomElement(), QWidget *parent = nullptr);
~EditDrawingToolDialog() override;
QDomDocument toolXml() const;
QString name() const;
private:
void loadTool(const QDomElement &toolElement);
KLineEdit *m_name;
KColorButton *m_colorBn;
QSpinBox *m_penWidth;
QSpinBox *m_opacity;
};
#endif // EDITDRAWINGTOOLDIALOG_H