aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/eventlist/eventlistpluginview.h
blob: 823d10b2c8572e6b39c2544f7b6045febc363d80 (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
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once

#include "eventlist.h"
#include <abstractview.h>

namespace QmlDesigner {

class EventListDialog;
class AssignEventDialog;
class ConnectSignalDialog;

class EventListPluginView : public AbstractView
{
    Q_OBJECT

public:
    EventListPluginView(QObject* parent = nullptr);
    ~EventListPluginView() override = default;

    void registerActions();

private:
    EventList m_eventlist;
    EventListDialog *m_eventListDialog = nullptr;
    AssignEventDialog *m_assigner = nullptr;
    ConnectSignalDialog *m_signalConnector = nullptr;
};

} // namespace QmlDesigner