Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
addressbookpage.cpp
Go to the documentation of this file.
62 ui->labelExplanation->setText(tr("These are your Dash addresses for sending payments. Always check the amount and the receiving address before sending coins."));
66 ui->labelExplanation->setText(tr("These are your Dash addresses for receiving payments. It is recommended to use a new receiving address for each transaction."));
93 connect(showAddressQRCodeAction, SIGNAL(triggered()), this, SLOT(on_showAddressQRCode_clicked()));
95 connect(ui->tableView, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextualMenu(QPoint)));
138 ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Label, QHeaderView::Stretch);
139 ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents);
141 ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Label, QHeaderView::Stretch);
142 ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents);
145 connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
149 connect(_model, SIGNAL(rowsInserted(QModelIndex,int,int)), this, SLOT(selectNewAddress(QModelIndex,int,int)));
308 tr("There was an error trying to save the address list to %1. Please try again.").arg(filename));
323 QModelIndex idx = proxyModel->mapFromSource(model->index(begin, AddressTableModel::Address, parent));
void on_newAddress_clicked()
Create a new address for receiving coins and / or add a new address book entry.
Definition: addressbookpage.cpp:185
void onCopyLabelAction()
Copy label of currently selected address entry to clipboard (no button)
Definition: addressbookpage.cpp:159
void addColumn(const QString &title, int column, int role=Qt::EditRole)
Definition: csvmodelwriter.cpp:22
void on_showAddressQRCode_clicked()
Show QR code for the currently selected address.
Definition: addressbookpage.cpp:214
void setInfo(QString strWindowtitle, QString strQRCode, QString strTextInfo, QString strQRCodeTitle)
Definition: qrdialog.cpp:128
QList< QModelIndex > getEntryData(QAbstractItemView *view, int column)
Return a field of the currently selected entry as a QString.
Definition: guiutil.cpp:514
QModelIndex index(int row, int column, const QModelIndex &parent) const
Definition: addresstablemodel.cpp:324
Definition: addressbookpage.h:12
Definition: addressbookpage.h:31
void onEditAction()
Edit currently selected address entry (no button)
Definition: addressbookpage.cpp:164
Definition: qrdialog.h:47
AddressBookPage(Mode mode, Tabs tab, QWidget *parent)
Definition: addressbookpage.cpp:26
void selectNewAddress(const QModelIndex &parent, int begin, int)
New entry/entries were added to address table.
Definition: addressbookpage.cpp:321
void updateFonts()
Update the font of all widgets where a custom font has been set with GUIUtil::setFont.
Definition: guiutil.cpp:1563
void setModel(AddressTableModel *model)
Definition: editaddressdialog.cpp:55
void on_copyAddress_clicked()
Copy address of currently selected address entry to clipboard.
Definition: addressbookpage.cpp:154
Widget that shows a list of sending or receiving addresses.
Definition: addressbookpage.h:25
void disableMacFocusRect(const QWidget *w)
Disable the OS default focus rect for macOS because we have custom focus rects set in the css files...
Definition: guiutil.cpp:1789
void selectionChanged()
Set button states based on selected tab and selection.
Definition: addressbookpage.cpp:231
void setModel(const QAbstractItemModel *model)
Definition: csvmodelwriter.cpp:17
Interface from Qt to configuration data structure for Bitcoin client.
Definition: optionsmodel.h:25
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedSuffixOut)
Get save filename, mimics QFileDialog::getSaveFileName, except that it appends a default suffix when ...
Definition: guiutil.cpp:521
Dialog for editing an address and associated information.
Definition: editaddressdialog.h:22
void copyEntryData(QAbstractItemView *view, int column, int role)
Copy a field of the currently selected entry of a view to the clipboard.
Definition: guiutil.cpp:501
void contextualMenu(const QPoint &point)
Spawn contextual menu (right mouse menu) for address book entry.
Definition: addressbookpage.cpp:312
void on_deleteAddress_clicked()
Delete currently selected address entry.
Definition: addressbookpage.cpp:201