Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <contractbookpage.h>
Public Types | |
enum | ColumnWidths { LABEL_COLUMN_WIDTH = 180, ADDRESS_COLUMN_WIDTH = 380 } |
Public Slots | |
void | done (int retval) |
Public Member Functions | |
ContractBookPage (const PlatformStyle *platformStyle, QWidget *parent=0) | |
~ContractBookPage () | |
void | setModel (ContractTableModel *model) |
const QString & | getAddressValue () const |
const QString & | getABIValue () const |
Private Slots | |
void | on_deleteContractInfo_clicked () |
Delete currently selected contract info entry. More... | |
void | on_newContractInfo_clicked () |
Create a new contract info. More... | |
void | on_copyAddress_clicked () |
Copy address of currently selected contract info entry to clipboard. More... | |
void | onCopyNameAction () |
Copy label of currently selected contract info entry to clipboard (no button) More... | |
void | onCopyABIAction () |
Copy ABI of currently selected contract info entry to clipboard (no button) More... | |
void | onEditAction () |
Edit currently selected contract info entry (no button) More... | |
void | on_exportButton_clicked () |
Export button clicked. More... | |
void | selectionChanged () |
Set button states based on selection. More... | |
void | contextualMenu (const QPoint &point) |
Spawn contextual menu (right mouse menu) for contract info book entry. More... | |
void | selectNewContractInfo (const QModelIndex &parent, int begin, int) |
New entry/entries were added to contract info table. More... | |
Private Attributes | |
Ui::ContractBookPage * | ui |
ContractTableModel * | model |
QString | addressValue |
QString | ABIValue |
QSortFilterProxyModel * | proxyModel |
QMenu * | contextMenu |
QString | newContractInfoToSelect |
Definition at line 17 of file contractbookpage.h.
Enumerator | |
---|---|
LABEL_COLUMN_WIDTH | |
ADDRESS_COLUMN_WIDTH |
Definition at line 25 of file contractbookpage.h.
|
explicit |
ContractBookPage::~ContractBookPage | ( | ) |
Definition at line 74 of file contractbookpage.cpp.
|
privateslot |
Spawn contextual menu (right mouse menu) for contract info book entry.
Definition at line 250 of file contractbookpage.cpp.
|
slot |
|
inline |
Definition at line 32 of file contractbookpage.h.
|
inline |
|
privateslot |
Copy address of currently selected contract info entry to clipboard.
Definition at line 125 of file contractbookpage.cpp.
|
privateslot |
Delete currently selected contract info entry.
Definition at line 161 of file contractbookpage.cpp.
|
privateslot |
Export button clicked.
Definition at line 226 of file contractbookpage.cpp.
|
privateslot |
Create a new contract info.
Definition at line 148 of file contractbookpage.cpp.
|
privateslot |
Copy ABI of currently selected contract info entry to clipboard (no button)
Definition at line 120 of file contractbookpage.cpp.
|
privateslot |
Copy label of currently selected contract info entry to clipboard (no button)
Definition at line 115 of file contractbookpage.cpp.
|
privateslot |
Edit currently selected contract info entry (no button)
Definition at line 130 of file contractbookpage.cpp.
|
privateslot |
Set button states based on selection.
Definition at line 182 of file contractbookpage.cpp.
|
privateslot |
New entry/entries were added to contract info table.
Definition at line 259 of file contractbookpage.cpp.
void ContractBookPage::setModel | ( | ContractTableModel * | model | ) |
Definition at line 79 of file contractbookpage.cpp.
|
private |
Definition at line 42 of file contractbookpage.h.
|
private |
Definition at line 41 of file contractbookpage.h.
|
private |
Definition at line 44 of file contractbookpage.h.
|
private |
Definition at line 40 of file contractbookpage.h.
|
private |
Definition at line 45 of file contractbookpage.h.
|
private |
Definition at line 43 of file contractbookpage.h.
|
private |
Definition at line 39 of file contractbookpage.h.