![]() |
Scanframe Modular Application 0.1.0
|
#include <PartInspection.h>

Public Member Functions | |
| PartInspection () | |
| Default constructor. | |
| QString | getPart () const |
| Gets the part name. | |
| void | setPart (const QString &) |
| Sets the part name. | |
| QString | getSerial () const |
| Gets the serial number. | |
| void | setSerial (const QString &) |
| Sets the serial number. | |
| void | setDateTimeStr (const QString &) |
| Sets the date time of the inspection using a string. | |
| void | setDateTime (const QDateTime &dt) |
| Sets the date time of the inspection. | |
| QString | getDateTimeStr () const |
| Gets the date time as string of the inspection. | |
| QString | getRefName () const |
| Gets reference string of the part inspection. Actually calls getPartInspection(). | |
| void | clear () |
| Clears the part and project member. | |
| void | assign (const PartInspection *) |
| Overridden from base class. | |
| QString | getPartInspection () const |
| Gets the part and project using a string with delimiters. | |
| void | setPartInspection (const QString &) |
| Sets the part and project using a string with delimiters. Delimiters used: sf::INSPECT_SERIAL_DELIM and sf::INSPECT_DATETIME_DELIM. | |
| bool | exists () const |
| Checks if the part inspection exists. | |
| bool | isEmpty () const |
| Checks if the instance is empty. | |
| QString | getFilePath () const |
| Gets the file path of the project. | |
| QDateTime | getDateTime () const |
| Gets the data time formatted string. Uses sf::InspectStrToDateTime(). | |
Public Attributes | |
| TClosure< void, const PartInspection * > | onChange |
| Holds the handler for notifying a change of this class. | |
| sf::PartInspection::PartInspection | ( | ) |
Default constructor.
| void sf::PartInspection::assign | ( | const PartInspection * | ) |
Overridden from base class.
| void sf::PartInspection::clear | ( | ) |
Clears the part and project member.
| bool sf::PartInspection::exists | ( | ) | const |
Checks if the part inspection exists.
| QDateTime sf::PartInspection::getDateTime | ( | ) | const |
Gets the data time formatted string. Uses sf::InspectStrToDateTime().
| QString sf::PartInspection::getDateTimeStr | ( | ) | const |
Gets the date time as string of the inspection.
| QString sf::PartInspection::getFilePath | ( | ) | const |
Gets the file path of the project.
| QString sf::PartInspection::getPart | ( | ) | const |
Gets the part name.
| QString sf::PartInspection::getPartInspection | ( | ) | const |
Gets the part and project using a string with delimiters.
| QString sf::PartInspection::getRefName | ( | ) | const |
Gets reference string of the part inspection. Actually calls getPartInspection().
| QString sf::PartInspection::getSerial | ( | ) | const |
Gets the serial number.
| bool sf::PartInspection::isEmpty | ( | ) | const |
Checks if the instance is empty.
| void sf::PartInspection::setDateTime | ( | const QDateTime & | dt | ) |
Sets the date time of the inspection.
| void sf::PartInspection::setDateTimeStr | ( | const QString & | ) |
Sets the date time of the inspection using a string.
| void sf::PartInspection::setPart | ( | const QString & | ) |
Sets the part name.
| void sf::PartInspection::setPartInspection | ( | const QString & | ) |
Sets the part and project using a string with delimiters. Delimiters used: sf::INSPECT_SERIAL_DELIM and sf::INSPECT_DATETIME_DELIM.
| void sf::PartInspection::setSerial | ( | const QString & | ) |
Sets the serial number.
| TClosure<void, const PartInspection*> sf::PartInspection::onChange |
Holds the handler for notifying a change of this class.