Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Slots | Signals | Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
AddressField Class Reference

Drop down list of addresses. More...

#include <addressfield.h>

Inheritance diagram for AddressField:
[legend]
Collaboration diagram for AddressField:
[legend]

Public Types

enum  AddressType { UTXO }
 The AddressType enum Type of addresses that will be displayed. More...
 

Public Slots

void on_refresh ()
 on_refresh Refresh the list of addresses More...
 
void on_addressTypeChanged ()
 on_addressTypeChanged Change the address type More...
 
void on_editingFinished ()
 on_editingFinished Completer finish text update More...
 

Signals

void addressTypeChanged (AddressType)
 addressTypeChanged Signal that the address type is changed More...
 

Public Member Functions

void setAddressType (AddressType addressType)
 setAddressType Set the address type More...
 
AddressType addressType () const
 addressType Get the address type More...
 
 AddressField (QWidget *parent=0)
 AddressField Constructor. More...
 
virtual QString currentText () const
 currentText Get the current text More...
 
bool isValidAddress ()
 
void setComboBoxEditable (bool editable)
 
void setAddressTableModel (QAbstractItemModel *addressTableModel)
 
void setAddressColumn (int addressColumn)
 
void setTypeRole (int typeRole)
 
void setReceive (const QString &receive)
 

Properties

AddressType addressType
 

Private Member Functions

void appendAddress (const QString &strAddress)
 

Private Attributes

QStringList m_stringList
 
QStringListModel m_stringModel
 
AddressType m_addressType
 
QAbstractItemModel * m_addressTableModel
 
int m_addressColumn
 
int m_typeRole
 
QString m_receive
 

Detailed Description

Drop down list of addresses.

Definition at line 15 of file addressfield.h.

Member Enumeration Documentation

The AddressType enum Type of addresses that will be displayed.

Enumerator
UTXO 

Definition at line 24 of file addressfield.h.

Constructor & Destructor Documentation

AddressField::AddressField ( QWidget *  parent = 0)
explicit

AddressField Constructor.

Parameters
parentParent widget

Definition at line 16 of file addressfield.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

AddressType AddressField::addressType ( ) const
inline

addressType Get the address type

Returns
Address type

Definition at line 42 of file addressfield.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void AddressField::addressTypeChanged ( AddressType  _t1)
signal

addressTypeChanged Signal that the address type is changed

Definition at line 190 of file moc_addressfield.cpp.

Here is the caller graph for this function:

void AddressField::appendAddress ( const QString &  strAddress)
private

Definition at line 149 of file addressfield.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QString AddressField::currentText ( ) const
virtual

currentText Get the current text

Returns
Current text

Definition at line 32 of file addressfield.cpp.

Here is the caller graph for this function:

bool AddressField::isValidAddress ( )

Definition at line 48 of file addressfield.cpp.

Here is the caller graph for this function:

void AddressField::on_addressTypeChanged ( )
slot

on_addressTypeChanged Change the address type

Definition at line 138 of file addressfield.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void AddressField::on_editingFinished ( )
slot

on_editingFinished Completer finish text update

Definition at line 144 of file addressfield.cpp.

Here is the caller graph for this function:

void AddressField::on_refresh ( )
slot

on_refresh Refresh the list of addresses

Definition at line 76 of file addressfield.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void AddressField::setAddressColumn ( int  addressColumn)

Definition at line 173 of file addressfield.cpp.

Here is the caller graph for this function:

void AddressField::setAddressTableModel ( QAbstractItemModel *  addressTableModel)

Definition at line 178 of file addressfield.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void AddressField::setAddressType ( AddressType  addressType)
inline

setAddressType Set the address type

Parameters
addressTypeAddress type

Definition at line 32 of file addressfield.h.

Here is the call graph for this function:

void AddressField::setComboBoxEditable ( bool  editable)

Definition at line 62 of file addressfield.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void AddressField::setReceive ( const QString &  receive)

Definition at line 163 of file addressfield.cpp.

Here is the caller graph for this function:

void AddressField::setTypeRole ( int  typeRole)

Definition at line 168 of file addressfield.cpp.

Here is the caller graph for this function:

Member Data Documentation

int AddressField::m_addressColumn
private

Definition at line 100 of file addressfield.h.

QAbstractItemModel* AddressField::m_addressTableModel
private

Definition at line 99 of file addressfield.h.

AddressType AddressField::m_addressType
private

Definition at line 98 of file addressfield.h.

QString AddressField::m_receive
private

Definition at line 102 of file addressfield.h.

QStringList AddressField::m_stringList
private

Definition at line 96 of file addressfield.h.

QStringListModel AddressField::m_stringModel
private

Definition at line 97 of file addressfield.h.

int AddressField::m_typeRole
private

Definition at line 101 of file addressfield.h.

Property Documentation

AddressType AddressField::addressType
readwrite

Definition at line 18 of file addressfield.h.


The documentation for this class was generated from the following files: