![]() |
Scanframe Modular Application 0.1.0
|
#include <ipj/iface/global.h>#include <misc/gen/IniProfile.h>#include <misc/gen/PropertySheetDialog.h>#include <misc/gen/TEnvelope.h>#include <misc/gen/TStringList.h>#include <misc/qt/ApplicationSettings.h>#include "mockup.h"

Go to the source code of this file.
Namespaces | |
| namespace | sf |
Typedefs | |
| typedef TStringList< std::string > | sf::StringList |
| typedef TEnvelope< IniProfile > | sf::IniEnvelope |
| typedef IniProfile::KeyValueMap | sf::KeyValues |
| typedef bool(* | sf::TAddProjectPropertyPage) (PropertySheetDialog *sheet, const QString &ref_name) |
| Type for registering tool and element editor property pages. | |
| typedef bool(* | sf::GenerateReportEvent) (ProjectData *data, QStringList *templates) |
| Type for registering the report generation event handler. | |
| typedef QFlags< EReportOption > | sf::ReportOptions |
| Reporting option flags. | |
Enumerations | |
| enum | sf::EMaterialType : int { sf::mtMAT_ALL = -1 , sf::mtMAT_LIQUID = 0 , sf::mtMAT_SOLID , sf::mtMAT_GAS } |
| Enumerate type to identify a material. More... | |
| enum | sf::ECalibrationType : int { sf::ctCAL_NONE = 0 , sf::ctCAL_PRE , sf::ctCAL_POST } |
| Type to identify a scan area type. More... | |
| enum | sf::EInspectionState : int { sf::isUNKNOWN = 0 , sf::isACCEPTED , sf::isREJECTED } |
| States for results of an inspection. More... | |
| enum | sf::ESystemPosition : int { sf::spSYSPOS_NONE = -1 , sf::spSYSPOS_PARK , sf::spSYSPOS_LOAD , sf::spSYSPOS_TOOL } |
| Fixed system dependent axis positions. More... | |
| enum | sf::EReportOption : int { sf::roFILE , sf::roVIEW , sf::roPRINT , sf::roSHORTCUT , sf::roSEND } |
| Final reporting options. More... | |
Functions | |
| constexpr std::string_view | sf::SEC_TE_SELECTED ("Selected") |
| constexpr std::string_view | sf::SEC_TE_SERIALS ("Serial Numbers") |
| constexpr std::string_view | sf::SEC_TE_INFO ("Information") |
| constexpr std::string_view | sf::SEC_MAT_SOUNDVEL ("Sound Velocity") |
| constexpr std::string_view | sf::KEY_MAT_INFO ("Information") |
| constexpr std::string_view | sf::KEY_MAT_LONGITUDINAL ("Longitudinal") |
| constexpr std::string_view | sf::KEY_MAT_SHEAR ("Shear") |
| constexpr std::string_view | sf::KEY_MAT_FORM ("Form") |
| constexpr std::string_view | sf::SUBDIR_PART ("Part") |
| constexpr std::string_view | sf::SUBDIR_TOOL ("Tool") |
| constexpr std::string_view | sf::SUBDIR_ELEMENT ("Element") |
| constexpr std::string_view | sf::SUBDIR_MATERIAL ("Material") |
| constexpr std::string_view | sf::SUBDIR_SETTINGS ("Settings") |
| constexpr std::string_view | sf::SUBDIR_TEMPLATE ("Template") |
| constexpr std::string_view | sf::EXT_PROJECT (".iprj") |
| Extension used for project profiles. | |
| constexpr std::string_view | sf::EXT_AREASCAN (".ascn") |
| Extension used for area scan files. | |
| constexpr std::string_view | sf::EXT_AREASTATE (".ascns") |
| Extension used for area state files. | |
| constexpr std::string_view | sf::EXT_ELEMENT (".elem") |
| Extension used for element files. | |
| constexpr std::string_view | sf::EXT_MATERIAL (".mater") |
| Extension used for material files. | |
| constexpr std::string_view | sf::EXT_SETTINGS (".gisf") |
| Extension used for settings files. | |
| constexpr std::string_view | sf::EXT_FILTERS (".fltr") |
| Extension used for filter files. | |
| constexpr std::string_view | sf::EXT_TOOL (".tool") |
| Extension used for tool files. | |
| constexpr std::string_view | sf::FILE_PICTURE ("picture.jpg") |
| File name used for pictures of parts. | |
| constexpr std::string_view | sf::EXT_INSPECTION (".insp") |
| Extension used for inspection profiles. | |
| constexpr std::string_view | sf::FILE_INSPECTION ("Inspection") |
| File name used for storing the inspection information. | |
| constexpr std::string_view | sf::FILE_PARTSTATE ("PartState") |
| File name and extension used in the part directory to store changing screen positions. | |
| constexpr std::string_view | sf::EXT_CALIB (".calib") |
| Extension used for part project calibration values. | |
| constexpr std::string_view | sf::HLPCTX_SETUPFAIL ("fail_setup_change") |
| Context string used in the set message boxes. | |
| constexpr std::string_view | sf::PROJECT_NAME_DELIM ("@") |
| constexpr std::string_view | sf::PROJECT_FULL_DELIM ("|") |
| constexpr std::string_view | sf::INSPECT_SERIAL_DELIM (">") |
| constexpr std::string_view | sf::INSPECT_DATETIME_DELIM ("<") |
| constexpr std::string_view | sf::SEC_INSP_GENERAL ("General") |
| constexpr std::string_view | sf::SEC_INSP_CUSTOM ("Custom") |
| constexpr std::string_view | sf::SEC_INSP_ANALYSIS ("Analysis") |
| constexpr std::string_view | sf::SEC_INSP_AREA_PREFIX ("ScanArea,") |
| constexpr std::string_view | sf::SEC_INSP_CALIB ("Calibration,") |
| constexpr std::string_view | sf::KEY_INSP_SYSNAME ("System Name") |
| constexpr std::string_view | sf::KEY_INSP_SYSUSER ("System User") |
| constexpr std::string_view | sf::KEY_INSP_APPUSER ("Application User") |
| constexpr std::string_view | sf::KEY_INSP_SCANUSER ("User Name") |
| constexpr std::string_view | sf::KEY_INSP_DATETIME ("Date Time") |
| constexpr std::string_view | sf::KEY_INSP_PART ("Part") |
| constexpr std::string_view | sf::KEY_INSP_PROJECT ("Project") |
| constexpr std::string_view | sf::KEY_INSP_SERIAL ("Serial") |
| constexpr std::string_view | sf::KEY_INSP_STATE ("State") |
| constexpr std::string_view | sf::KEY_INSP_CALTYPE ("CalType") |
| constexpr std::string_view | sf::KEY_INSP_COMMENT ("Comment") |
| constexpr std::string_view | sf::KEY_INSP_DATAFILE ("DataFile") |
| constexpr std::string_view | sf::KEY_INSP_FINALIZED ("Finalized") |
| constexpr std::string_view | sf::KEY_INSP_FINALIZEDATE ("Finalize Date") |
| constexpr std::string_view | sf::KEY_INSP_FINALIZEUSER ("Finalize User") |
| constexpr std::string_view | sf::SEC_CFG_GENERAL ("General") |
| Section and key for the system designation. | |
| constexpr std::string_view | sf::KEY_CFG_DESIG_PREFIX ("Designation_") |
| Designation key prefix. | |
| constexpr std::string_view | sf::KEY_CFG_SETTINGSGLOBAL ("Settings Global") |
| Global settings key. | |
| constexpr std::string_view | sf::KEY_CFG_FILTERLISTGLOBAL ("Filter List Global") |
| Global filter key. | |
| constexpr std::string_view | sf::SEC_MOD_SYSPOS ("System Positions") |
| System positions profile section. | |
| constexpr std::string_view | sf::STR_VERSION ("0.0") |
| constexpr std::string_view | sf::SEC_GENERAL ("General") |
| constexpr std::string_view | sf::KEY_VERSION ("Version") |
| constexpr std::string_view | sf::KEY_CREATED ("Created At") |
| constexpr std::string_view | sf::KEY_CREATOR ("Created By") |
| constexpr std::string_view | sf::KEY_MODIFIED ("Modify Date") |
| constexpr std::string_view | sf::KEY_MODIFIER ("Modify By") |
| constexpr std::string_view | sf::SEC_SCANS ("Scans") |
| constexpr std::string_view | sf::KEY_SCANCOUNT ("Scan Count") |
| constexpr std::string_view | sf::KEY_SCANAREA ("Scan Area") |
| constexpr std::string_view | sf::KEY_SCANMETHOD ("Scan Method") |
| constexpr std::string_view | sf::KEY_SCANBINDER ("Scan Binder") |
| constexpr std::string_view | sf::SEC_REPORT ("Report") |
| constexpr std::string_view | sf::KEY_OPTIONS ("Options") |
| constexpr std::string_view | sf::KEY_TEMPLATE ("Template") |
| QString | sf::GetFilteredString (const QString &str, const QString &filter) |
| Filters a string removing all characters from the given filter string. | |
| constexpr int | sf::mtMAT_LASTENTRY (mtMAT_GAS) |
| Allows iteration. | |
| QString _IPJ_FUNC | sf::GetMaterialTypeName (EMaterialType) |
| Gets the passed material type as a name. | |
| EMaterialType _IPJ_FUNC | sf::GetMaterialType (const QString &mat_type) |
| Gets the passed calibration type name as enumerate value. | |
| constexpr int | sf::ctCAL_LASTENTRY (ctCAL_POST+1) |
| Used as size and as last value to iterate towards. | |
| _IPJ_FUNC const char * | sf::GetCalibrationTypeName (ECalibrationType) |
| Returns the passed calibration type as a name. | |
| _IPJ_FUNC ECalibrationType | sf::GetCalibrationType (const QString &cal_type) |
| Returns the passed calibration type name as enumerate value. | |
| constexpr int | sf::isLASTENTRY (isREJECTED+1) |
| Used as size and as last value to iterate towards. | |
| _IPJ_FUNC QString | sf::GetInspectionStateName (EInspectionState) |
| Gets the passed inspection state as a name. | |
| _IPJ_FUNC EInspectionState | sf::GetInspectionState (const QString &state_name) |
| Gets the passed inspection state name as enumerate value. | |
| constexpr int | sf::spSYSPOS_LASTENTRY (spSYSPOS_TOOL+1) |
| Used as size and as last value to iterate towards. | |
| _IPJ_FUNC QString | sf::GetSystemPositionName (ESystemPosition sp) |
| Gets the passed system position name. | |
| _IPJ_FUNC ESystemPosition | sf::GetSystemPositionFromName (const QString &sp) |
| Gets the system position from the name. | |
| _IPJ_FUNC QString | sf::GetSystemPositionInfo (ESystemPosition sp) |
| Gets the current scan inspection state converted from the passed name. | |
| _IPJ_FUNC ProjectModule * | sf::getProjectModule () |
| Creates the project module when called for. | |
| _IPJ_FUNC void | sf::destroyProjectModule () |
| Deletes the project module if it was created. | |
| _IPJ_FUNC QString | sf::GetReportOptionDescription (EReportOption ro) |
| Gets the option description of the passed style. | |
| _IPJ_FUNC void | sf::GetReportOptionDescriptions (QStringList &strings) |
| Gets the description in a string list of the passed options. | |
| _IPJ_FUNC QString | sf::DateTimeToInspectStr (const QDateTime &dt) |
| Converts a TDateTime to an inspection date time string. | |
| _IPJ_FUNC QDateTime | sf::InspectStrToDateTime (const QString &str) |
| Converts an inspection date time string into a QDateTime value. | |
| _IPJ_FUNC const char * | sf::GetProjectNameFilter () |
| Returns characters that are not allowed to appear in the names. | |
| _IPJ_FUNC std::string | sf::compatCommaSepString (const std::string &str, bool no_empty=false) |
| Gets a '(' and ')' wrapped string when the given string is not. | |