2020-12-26 19:56:06 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2024-01-01 17:07:58 +00:00
|
|
|
// SPDX-FileCopyrightText: 2020-2024 The Monero Project
|
2020-12-26 19:56:06 +00:00
|
|
|
|
2020-10-11 15:23:13 +00:00
|
|
|
#ifndef FEATHER_SUBADDRESSVIEW_H
|
|
|
|
#define FEATHER_SUBADDRESSVIEW_H
|
|
|
|
|
|
|
|
#include <QTreeView>
|
|
|
|
#include <QKeyEvent>
|
|
|
|
#include <QClipboard>
|
|
|
|
|
|
|
|
class SubaddressView : public QTreeView
|
|
|
|
{
|
2024-03-08 16:35:57 +00:00
|
|
|
Q_OBJECT
|
2020-10-11 15:23:13 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
SubaddressView(QWidget* parent = nullptr);
|
|
|
|
|
2024-03-08 16:35:57 +00:00
|
|
|
signals:
|
|
|
|
void copyAddress();
|
|
|
|
|
2020-10-11 15:23:13 +00:00
|
|
|
protected:
|
|
|
|
void keyPressEvent(QKeyEvent *event);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //FEATHER_SUBADDRESSVIEW_H
|