Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::IdPropertyList Class Reference

Class making checking of widgets Information ID's easier. More...

#include <IdPropertyList.h>

Public Member Functions

 IdPropertyList (QObject *target)
 Constructor.
 
void add (const QByteArray &name, InformationIdEdit *iie)
 Adds a property name and corresponding ID edit widget.
 
void update ()
 Method which updates the ID edit widgets using the property value.
 
void apply ()
 Method which sets the target property using the ID edit widget's value.
 
bool isModified () const
 Gets the modified status of the ID edit widgets. This method corresponds with the sf::PropertyPage::isPageModified() methods.
 

Detailed Description

Class making checking of widgets Information ID's easier.

Constructor & Destructor Documentation

◆ IdPropertyList()

sf::IdPropertyList::IdPropertyList ( QObject *  target)
explicit

Constructor.

Parameters
targetTargeted object having the properties.

Member Function Documentation

◆ add()

void sf::IdPropertyList::add ( const QByteArray &  name,
InformationIdEdit iie 
)

Adds a property name and corresponding ID edit widget.

Parameters
nameName of the property.
iiePointer of the ID edit widget.

◆ apply()

void sf::IdPropertyList::apply ( )

Method which sets the target property using the ID edit widget's value.

◆ isModified()

bool sf::IdPropertyList::isModified ( ) const

Gets the modified status of the ID edit widgets. This method corresponds with the sf::PropertyPage::isPageModified() methods.

Returns
True when one of the ID edit widgets has changed.

◆ update()

void sf::IdPropertyList::update ( )

Method which updates the ID edit widgets using the property value.


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