summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/richtexteditor/hyperlinkdialog.h
blob: 06de03ad83a2e727a9b004da1ab288a5924bddec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QDialog>

namespace QmlDesigner {

namespace Ui {
class HyperlinkDialog;
}

class HyperlinkDialog : public QDialog
{
    Q_OBJECT

public:
    explicit HyperlinkDialog(QWidget *parent = nullptr);
    ~HyperlinkDialog();

    QString getLink() const;
    void setLink(const QString &link);

    QString getAnchor() const;
    void setAnchor(const QString &anchor);

private:
    Ui::HyperlinkDialog *ui;
};

}