Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
receivecoinsdialog.h
Go to the documentation of this file.
1// Copyright (c) 2011-2016 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_QT_RECEIVECOINSDIALOG_H
6#define BITCOIN_QT_RECEIVECOINSDIALOG_H
7
8#include <qt/guiutil.h>
9
10#include <QDialog>
11#include <QHeaderView>
12#include <QItemSelection>
13#include <QKeyEvent>
14#include <QMenu>
15#include <QPoint>
16#include <QVariant>
17
18class PlatformStyle;
19class WalletModel;
20
21namespace Ui {
23}
24
26class QModelIndex;
28
30class ReceiveCoinsDialog : public QDialog {
32
33public:
40
42 QWidget *parent = nullptr);
44
46
47public Q_SLOTS:
48 void clear();
49 void reject() override;
50 void accept() override;
51
52private:
53 Ui::ReceiveCoinsDialog *ui;
58
60 void copyColumnToClipboard(int column);
61 virtual void resizeEvent(QResizeEvent *event) override;
62
63private Q_SLOTS:
70 void updateDisplayUnit();
71 void showMenu(const QPoint &point);
72 void copyURI();
73 void copyLabel();
74 void copyMessage();
75 void copyAmount();
76};
77
78#endif // BITCOIN_QT_RECEIVECOINSDIALOG_H
Makes a QTableView last column feel as if it was being resized from its left border.
Definition guiutil.h:227
Dialog for requesting payment of bitcoins.
Ui::ReceiveCoinsDialog * ui
const PlatformStyle * platformStyle
void on_recentRequestsView_doubleClicked(const QModelIndex &index)
GUIUtil::TableViewLastColumnResizingFixer * columnResizingFixer
void recentRequestsView_selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
void setModel(WalletModel *model)
void showMenu(const QPoint &point)
virtual void resizeEvent(QResizeEvent *event) override
void copyColumnToClipboard(int column)
Interface to Bitcoin wallet from Qt view code.
Definition walletmodel.h:47
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85