Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Signals | Public Member Functions | Private Member Functions | List of all members
MonitoredDataMapper Class Reference

Data to Widget mapper that watches for edits and notifies listeners when a field is edited. More...

#include <monitoreddatamapper.h>

Inheritance diagram for MonitoredDataMapper:
Inheritance graph
[legend]
Collaboration diagram for MonitoredDataMapper:
Collaboration graph
[legend]

Signals

void viewModified ()
 

Public Member Functions

 MonitoredDataMapper (QObject *parent=0)
 
void addMapping (QWidget *widget, int section)
 
void addMapping (QWidget *widget, int section, const QByteArray &propertyName)
 

Private Member Functions

void addChangeMonitor (QWidget *widget)
 

Detailed Description

Data to Widget mapper that watches for edits and notifies listeners when a field is edited.

This can be used, for example, to enable a commit/apply button in a configuration dialog.

Definition at line 13 of file monitoreddatamapper.h.

Constructor & Destructor Documentation

MonitoredDataMapper::MonitoredDataMapper ( QObject *  parent = 0)
explicit

Definition at line 7 of file monitoreddatamapper.cpp.

Member Function Documentation

void MonitoredDataMapper::addChangeMonitor ( QWidget *  widget)
private

Definition at line 24 of file monitoreddatamapper.cpp.

void MonitoredDataMapper::addMapping ( QWidget *  widget,
int  section 
)

Definition at line 12 of file monitoreddatamapper.cpp.

void MonitoredDataMapper::addMapping ( QWidget *  widget,
int  section,
const QByteArray &  propertyName 
)

Definition at line 18 of file monitoreddatamapper.cpp.

void MonitoredDataMapper::viewModified ( )
signal

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