![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
Dialog for requesting payment of bitcoins. More...
#include <receivecoinsdialog.h>
Inheritance diagram for ReceiveCoinsDialog:
Collaboration diagram for ReceiveCoinsDialog:Public Types | |
| enum | ColumnWidths { DATE_COLUMN_WIDTH = 130, LABEL_COLUMN_WIDTH = 120, AMOUNT_MINIMUM_COLUMN_WIDTH = 160, MINIMUM_COLUMN_WIDTH = 130 } |
Public Slots | |
| void | clear () |
| void | reject () |
| void | accept () |
Public Member Functions | |
| ReceiveCoinsDialog (QWidget *parent=0) | |
| ~ReceiveCoinsDialog () | |
| void | setModel (WalletModel *model) |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *event) |
Private Slots | |
| void | on_receiveButton_clicked () |
| void | on_showRequestButton_clicked () |
| void | on_removeRequestButton_clicked () |
| void | on_recentRequestsView_doubleClicked (const QModelIndex &index) |
| void | recentRequestsView_selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
| void | updateDisplayUnit () |
| void | showMenu (const QPoint &point) |
| void | copyLabel () |
| void | copyMessage () |
| void | copyAmount () |
Private Member Functions | |
| void | copyColumnToClipboard (int column) |
| virtual void | resizeEvent (QResizeEvent *event) |
Private Attributes | |
| Ui::ReceiveCoinsDialog * | ui |
| GUIUtil::TableViewLastColumnResizingFixer * | columnResizingFixer |
| WalletModel * | model |
| QMenu * | contextMenu |
Dialog for requesting payment of bitcoins.
Definition at line 29 of file receivecoinsdialog.h.
| Enumerator | |
|---|---|
| DATE_COLUMN_WIDTH | |
| LABEL_COLUMN_WIDTH | |
| AMOUNT_MINIMUM_COLUMN_WIDTH | |
| MINIMUM_COLUMN_WIDTH | |
Definition at line 34 of file receivecoinsdialog.h.
|
explicit |
Definition at line 24 of file receivecoinsdialog.cpp.
References clear(), Ui_ReceiveCoinsDialog::clearButton, contextMenu, copyAmount(), copyLabel(), copyMessage(), Ui_ReceiveCoinsDialog::receiveButton, Ui_ReceiveCoinsDialog::recentRequestsView, Ui_ReceiveCoinsDialog::removeRequestButton, Ui_ReceiveCoinsDialog::setupUi(), showMenu(), Ui_ReceiveCoinsDialog::showRequestButton, and ui.
Here is the call graph for this function:| ReceiveCoinsDialog::~ReceiveCoinsDialog | ( | ) |
Definition at line 87 of file receivecoinsdialog.cpp.
References ui.
|
slot |
Definition at line 106 of file receivecoinsdialog.cpp.
References clear().
Here is the call graph for this function:
|
slot |
Definition at line 92 of file receivecoinsdialog.cpp.
References BitcoinAmountField::clear(), Ui_ReceiveCoinsDialog::reqAmount, Ui_ReceiveCoinsDialog::reqLabel, Ui_ReceiveCoinsDialog::reqMessage, Ui_ReceiveCoinsDialog::reuseAddress, ui, and updateDisplayUnit().
Referenced by accept(), on_receiveButton_clicked(), ReceiveCoinsDialog(), and reject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 261 of file receivecoinsdialog.cpp.
References RecentRequestsTableModel::Amount, and copyColumnToClipboard().
Referenced by ReceiveCoinsDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 225 of file receivecoinsdialog.cpp.
References RecentRequestsTableModel::data(), WalletModel::getRecentRequestsTableModel(), model, Ui_ReceiveCoinsDialog::recentRequestsView, GUIUtil::setClipboard(), and ui.
Referenced by copyAmount(), copyLabel(), and copyMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 249 of file receivecoinsdialog.cpp.
References copyColumnToClipboard(), and RecentRequestsTableModel::Label.
Referenced by ReceiveCoinsDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 255 of file receivecoinsdialog.cpp.
References copyColumnToClipboard(), and RecentRequestsTableModel::Message.
Referenced by ReceiveCoinsDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Definition at line 208 of file receivecoinsdialog.cpp.
References on_receiveButton_clicked(), Ui_ReceiveCoinsDialog::reqAmount, Ui_ReceiveCoinsDialog::reqLabel, Ui_ReceiveCoinsDialog::reqMessage, and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 119 of file receivecoinsdialog.cpp.
References RecentRequestsTableModel::addNewRequest(), AddressTableModel::addRow(), clear(), AddressBookPage::ForSelection, WalletModel::getAddressTableModel(), WalletModel::getOptionsModel(), WalletModel::getRecentRequestsTableModel(), AddressBookPage::getReturnValue(), AddressTableModel::labelForAddress(), model, AddressTableModel::Receive, AddressBookPage::ReceivingTab, Ui_ReceiveCoinsDialog::reqAmount, Ui_ReceiveCoinsDialog::reqLabel, Ui_ReceiveCoinsDialog::reqMessage, Ui_ReceiveCoinsDialog::reuseAddress, AddressBookPage::setModel(), ui, and BitcoinAmountField::value.
Referenced by keyPressEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 158 of file receivecoinsdialog.cpp.
References RecentRequestsTableModel::entry(), WalletModel::getOptionsModel(), WalletModel::getRecentRequestsTableModel(), model, ReceiveRequestDialog::setInfo(), and ReceiveRequestDialog::setModel().
Referenced by on_showRequestButton_clicked().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 188 of file receivecoinsdialog.cpp.
References WalletModel::getRecentRequestsTableModel(), model, Ui_ReceiveCoinsDialog::recentRequestsView, RecentRequestsTableModel::removeRows(), and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 176 of file receivecoinsdialog.cpp.
References WalletModel::getRecentRequestsTableModel(), model, on_recentRequestsView_doubleClicked(), Ui_ReceiveCoinsDialog::recentRequestsView, and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 168 of file receivecoinsdialog.cpp.
References Ui_ReceiveCoinsDialog::recentRequestsView, Ui_ReceiveCoinsDialog::removeRequestButton, Ui_ReceiveCoinsDialog::showRequestButton, and ui.
Referenced by setModel().
Here is the caller graph for this function:
|
slot |
Definition at line 101 of file receivecoinsdialog.cpp.
References clear().
Here is the call graph for this function:
|
privatevirtual |
Definition at line 202 of file receivecoinsdialog.cpp.
References columnResizingFixer, RecentRequestsTableModel::Message, and GUIUtil::TableViewLastColumnResizingFixer::stretchColumnWidth().
Here is the call graph for this function:| void ReceiveCoinsDialog::setModel | ( | WalletModel * | model | ) |
Definition at line 58 of file receivecoinsdialog.cpp.
References AMOUNT_MINIMUM_COLUMN_WIDTH, columnResizingFixer, RecentRequestsTableModel::Date, DATE_COLUMN_WIDTH, WalletModel::getOptionsModel(), WalletModel::getRecentRequestsTableModel(), RecentRequestsTableModel::Label, LABEL_COLUMN_WIDTH, model, Ui_ReceiveCoinsDialog::recentRequestsView, recentRequestsView_selectionChanged(), RecentRequestsTableModel::sort(), ui, and updateDisplayUnit().
Referenced by WalletView::setWalletModel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 238 of file receivecoinsdialog.cpp.
References contextMenu, WalletModel::getRecentRequestsTableModel(), model, Ui_ReceiveCoinsDialog::recentRequestsView, and ui.
Referenced by ReceiveCoinsDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 111 of file receivecoinsdialog.cpp.
References OptionsModel::getDisplayUnit(), WalletModel::getOptionsModel(), model, Ui_ReceiveCoinsDialog::reqAmount, BitcoinAmountField::setDisplayUnit(), and ui.
Referenced by clear(), and setModel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 56 of file receivecoinsdialog.h.
Referenced by resizeEvent(), and setModel().
|
private |
Definition at line 58 of file receivecoinsdialog.h.
Referenced by ReceiveCoinsDialog(), and showMenu().
|
private |
Definition at line 57 of file receivecoinsdialog.h.
Referenced by copyColumnToClipboard(), on_receiveButton_clicked(), on_recentRequestsView_doubleClicked(), on_removeRequestButton_clicked(), on_showRequestButton_clicked(), setModel(), showMenu(), and updateDisplayUnit().
|
private |
Definition at line 55 of file receivecoinsdialog.h.
Referenced by clear(), copyColumnToClipboard(), keyPressEvent(), on_receiveButton_clicked(), on_removeRequestButton_clicked(), on_showRequestButton_clicked(), ReceiveCoinsDialog(), recentRequestsView_selectionChanged(), setModel(), showMenu(), updateDisplayUnit(), and ~ReceiveCoinsDialog().
1.8.8