Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
qt
contractbookpage.h
Go to the documentation of this file.
1
#ifndef CONTRACTBOOKPAGE_H
2
#define CONTRACTBOOKPAGE_H
3
4
#include <QDialog>
5
6
class
PlatformStyle
;
7
class
ContractTableModel
;
8
9
namespace
Ui
{
10
class
ContractBookPage
;
11
}
12
QT_BEGIN_NAMESPACE
13
class
QMenu;
14
class
QSortFilterProxyModel;
15
QT_END_NAMESPACE
16
17
class
ContractBookPage
:
public
QDialog
18
{
19
Q_OBJECT
20
21
public
:
22
explicit
ContractBookPage
(
const
PlatformStyle
*platformStyle, QWidget *parent = 0);
23
~
ContractBookPage
();
24
25
enum
ColumnWidths
{
26
LABEL_COLUMN_WIDTH = 180,
27
ADDRESS_COLUMN_WIDTH = 380,
28
};
29
30
void
setModel(
ContractTableModel
*model);
31
const
QString &
getAddressValue
()
const
{
return
addressValue; }
32
const
QString &
getABIValue
()
const
{
return
ABIValue; }
33
34
35
public
Q_SLOTS:
36
void
done(
int
retval);
37
38
private
:
39
Ui::ContractBookPage
*
ui
;
40
ContractTableModel
*
model
;
41
QString
addressValue
;
42
QString
ABIValue
;
43
QSortFilterProxyModel *
proxyModel
;
44
QMenu *
contextMenu
;
45
QString
newContractInfoToSelect
;
46
47
private
Q_SLOTS:
49
void
on_deleteContractInfo_clicked();
51
void
on_newContractInfo_clicked();
53
void
on_copyAddress_clicked();
55
void
onCopyNameAction();
57
void
onCopyABIAction();
59
void
onEditAction();
61
void
on_exportButton_clicked();
62
64
void
selectionChanged();
66
void
contextualMenu(
const
QPoint &point);
68
void
selectNewContractInfo(
const
QModelIndex &parent,
int
begin,
int
/*end*/
);
69
70
};
71
72
#endif // CONTRACTBOOKPAGE_H
ContractBookPage::contextMenu
QMenu * contextMenu
Definition:
contractbookpage.h:44
ContractBookPage::getAddressValue
const QString & getAddressValue() const
Definition:
contractbookpage.h:31
Ui
Definition:
addressbookpage.h:13
ContractBookPage::getABIValue
const QString & getABIValue() const
Definition:
contractbookpage.h:32
ContractBookPage::addressValue
QString addressValue
Definition:
contractbookpage.h:41
ContractBookPage::model
ContractTableModel * model
Definition:
contractbookpage.h:40
ContractBookPage::ColumnWidths
ColumnWidths
Definition:
contractbookpage.h:25
ContractBookPage
Definition:
contractbookpage.h:17
ContractTableModel
Qt model of the contract book in the core.
Definition:
contracttablemodel.h:15
ContractBookPage::proxyModel
QSortFilterProxyModel * proxyModel
Definition:
contractbookpage.h:43
ContractBookPage::ui
Ui::ContractBookPage * ui
Definition:
contractbookpage.h:39
ContractBookPage::ABIValue
QString ABIValue
Definition:
contractbookpage.h:42
PlatformStyle
Definition:
platformstyle.h:13
Ui::ContractBookPage
Definition:
ui_contractbookpage.h:145
ContractBookPage::newContractInfoToSelect
QString newContractInfoToSelect
Definition:
contractbookpage.h:45
Generated on Mon Oct 22 2018 15:15:35 for Fabcoin Core by
1.8.11