aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/bindingeditor/signallistdialog.h
blob: 76d527aa71648bfb8d60f8e1e75f15789a3a8750 (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
33
34
35
36
// Copyright (C) 2020 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 <QDialog>

QT_BEGIN_NAMESPACE
class QStandardItemModel;
class QTableView;
QT_END_NAMESPACE

namespace Utils {
class FancyLineEdit;
}

namespace QmlDesigner {

class SignalListDialog : public QDialog
{
    Q_OBJECT

public:
    SignalListDialog(QWidget *parent = nullptr);
    ~SignalListDialog() override;

    void initialize(QStandardItemModel *model);

    QTableView *tableView() const;

private:
    QTableView *m_table;
    Utils::FancyLineEdit *m_searchLine;
};

} // QmlDesigner namespace