std::unordered_map< std::string, std::string > KeyValueMap
Type for retrieving key and values.
Definition IniProfile.h:275
Definition ProjectData.h:23
Singleton.
Definition ProjectModule.h:27
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
Envelope-letter type of smart pointers.
Definition TEnvelope.h:27
String list with optional object association and sorting.
Definition TStringList.h:12
#define _IPJ_FUNC
Definition ipj/iface/global.h:34
Definition Application.h:10
constexpr std::string_view KEY_MAT_SHEAR("Shear")
constexpr std::string_view KEY_INSP_DATETIME("Date Time")
constexpr std::string_view KEY_MODIFIER("Modify By")
constexpr std::string_view KEY_SCANBINDER("Scan Binder")
constexpr std::string_view SEC_TE_SERIALS("Serial Numbers")
constexpr std::string_view KEY_INSP_DATAFILE("DataFile")
constexpr std::string_view KEY_INSP_SYSUSER("System User")
constexpr std::string_view KEY_CFG_DESIG_PREFIX("Designation_")
_IPJ_FUNC QString GetInspectionStateName(EInspectionState)
Gets the passed inspection state as a name.
constexpr std::string_view KEY_MAT_FORM("Form")
QString _IPJ_FUNC GetMaterialTypeName(EMaterialType)
Gets the passed material type as a name.
constexpr std::string_view SEC_MAT_SOUNDVEL("Sound Velocity")
constexpr std::string_view KEY_INSP_SYSNAME("System Name")
constexpr std::string_view PROJECT_FULL_DELIM("|")
constexpr std::string_view SEC_MOD_SYSPOS("System Positions")
_IPJ_FUNC QString GetSystemPositionName(ESystemPosition sp)
Gets the passed system position name.
bool(* TGenerateReportEvent)(ProjectData *data, QStringList *templates)
Type for registering the report generation event handler.
Definition ipj/iface/Namespace.h:215
_IPJ_FUNC const char * GetProjectNameFilter()
Returns characters that are not allowed to appear in the names.
constexpr std::string_view KEY_INSP_FINALIZEUSER("Finalize User")
constexpr std::string_view SEC_INSP_CUSTOM("Custom")
TStringList< std::string > StringList
Definition ipj/iface/Namespace.h:13
constexpr std::string_view SEC_TE_INFO("Information")
_IPJ_FUNC ECalibrationType GetCalibrationType(const QString &cal_type)
Returns the passed calibration type name as enumerate value.
constexpr std::string_view SEC_INSP_GENERAL("General")
constexpr std::string_view SEC_INSP_CALIB("Calibration,")
constexpr std::string_view KEY_INSP_CALTYPE("CalType")
constexpr std::string_view KEY_OPTIONS("Options")
constexpr std::string_view INSPECT_SERIAL_DELIM(">")
constexpr std::string_view KEY_INSP_COMMENT("Comment")
constexpr std::string_view FILE_PICTURE("picture.jpg")
constexpr std::string_view KEY_INSP_SERIAL("Serial")
QString GetFilteredString(const QString &str, const QString &filter)
Filters a string removing all characters from the given filter string.
_IPJ_FUNC void GetReportOptionDescriptions(QStringList &strings)
Gets the description in a string list of the passed options.
constexpr std::string_view SEC_REPORT("Report")
constexpr std::string_view KEY_CFG_SETTINGSGLOBAL("Settings Global")
EReportOption
Final reporting options.
Definition ipj/iface/Namespace.h:329
@ roFILE
Definition ipj/iface/Namespace.h:331
@ roPRINT
Definition ipj/iface/Namespace.h:335
@ roVIEW
Definition ipj/iface/Namespace.h:333
@ roSHORTCUT
Definition ipj/iface/Namespace.h:337
@ roSEND
Definition ipj/iface/Namespace.h:339
constexpr std::string_view FILE_PARTSTATE("PartState")
constexpr std::string_view EXT_AREASTATE(".ascns")
constexpr std::string_view KEY_MAT_LONGITUDINAL("Longitudinal")
constexpr std::string_view KEY_CREATED("Created At")
EMaterialType
Enumerate type to identify a material.
Definition ipj/iface/Namespace.h:221
@ mtMAT_SOLID
Definition ipj/iface/Namespace.h:227
@ mtMAT_LIQUID
Definition ipj/iface/Namespace.h:225
@ mtMAT_GAS
Definition ipj/iface/Namespace.h:229
@ mtMAT_ALL
Definition ipj/iface/Namespace.h:223
_IPJ_FUNC QDateTime InspectStrToDateTime(const QString &str)
Converts an inspection date time string into a QDateTime value.
constexpr std::string_view SEC_SCANS("Scans")
constexpr std::string_view SUBDIR_PART("Part")
constexpr std::string_view KEY_TEMPLATE("Template")
constexpr std::string_view SEC_INSP_ANALYSIS("Analysis")
constexpr std::string_view SUBDIR_ELEMENT("Element")
constexpr std::string_view SEC_CFG_GENERAL("General")
IniProfile::KeyValueMap KeyValues
Definition ipj/iface/Namespace.h:188
constexpr std::string_view EXT_AREASCAN(".ascn")
constexpr std::string_view EXT_MATERIAL(".mater")
_IPJ_FUNC void destroyProjectModule()
Deletes the project module if it was created.
constexpr std::string_view KEY_SCANAREA("Scan Area")
constexpr std::string_view KEY_INSP_PART("Part")
ESystemPosition
Fixed system dependent axis positions.
Definition ipj/iface/Namespace.h:297
@ spSYSPOS_LASTENTRY
Definition ipj/iface/Namespace.h:307
@ spSYSPOS_LOAD
Definition ipj/iface/Namespace.h:303
@ spSYSPOS_NONE
Definition ipj/iface/Namespace.h:299
@ spSYSPOS_PARK
Definition ipj/iface/Namespace.h:301
@ spSYSPOS_TOOL
Definition ipj/iface/Namespace.h:305
_IPJ_FUNC std::string compatCommaSepString(const std::string &str)
Gets a '(' and ')' wrapped string when the given string is not.
constexpr std::string_view KEY_MODIFIED("Modify Date")
constexpr std::string_view STR_VERSION("0.0")
constexpr std::string_view FILE_INSPECTION("Inspection")
_IPJ_FUNC QString GetCalibrationTypeName(ECalibrationType)
Returns the passed calibration type as a name.
_IPJ_FUNC ProjectModule * getProjectModule()
Creates the project module when called for.
constexpr std::string_view EXT_SETTINGS(".gisf")
_IPJ_FUNC EInspectionState GetInspectionState(const QString &state_name)
Gets the passed inspection state name as enumerate value.
constexpr std::string_view SUBDIR_TOOL("Tool")
constexpr std::string_view EXT_ELEMENT(".elem")
constexpr std::string_view KEY_INSP_STATE("State")
constexpr std::string_view EXT_FILTERS(".fltr")
constexpr std::string_view KEY_INSP_FINALIZED("Finalized")
constexpr std::string_view KEY_SCANMETHOD("Scan Method")
constexpr std::string_view KEY_INSP_PROJECT("Project")
constexpr std::string_view KEY_INSP_APPUSER("Application User")
constexpr std::string_view KEY_SCANCOUNT("Scan Count")
constexpr std::string_view EXT_CALIB(".calib")
constexpr std::string_view HLPCTX_SETUPFAIL("fail_setup_change")
TEnvelope< IniProfile > IniEnvelope
Definition ipj/iface/Namespace.h:187
constexpr std::string_view EXT_INSPECTION(".insp")
EInspectionState
States for results of an inspection.
Definition ipj/iface/Namespace.h:272
@ isACCEPTED
Definition ipj/iface/Namespace.h:276
@ isUNKNOWN
Definition ipj/iface/Namespace.h:274
@ isLASTENTRY
Definition ipj/iface/Namespace.h:280
@ isREJECTED
Definition ipj/iface/Namespace.h:278
constexpr std::string_view KEY_CFG_FILTERLISTGLOBAL("Filter List Global")
constexpr std::string_view PROJECT_NAME_DELIM("@")
constexpr std::string_view SEC_INSP_AREA_PREFIX("ScanArea,")
constexpr std::string_view EXT_PROJECT(".iprj")
constexpr std::string_view SEC_GENERAL("General")
constexpr std::string_view KEY_INSP_SCANUSER("User Name")
TStrings< std::string > strings
Vector of std::strings with additional functionality.
Definition TStrings.h:193
_IPJ_FUNC QString DateTimeToInspectStr(const QDateTime &dt)
Converts a TDateTime to an inspection date time string.
constexpr std::string_view INSPECT_DATETIME_DELIM("<")
EMaterialType _IPJ_FUNC GetMaterialType(const QString &mat_type)
Gets the passed calibration type name as enumerate value.
bool(* TAddProjectPropertyPage)(PropertySheetDialog *sheet, const QString &ref_name)
Type for registering tool and element editor property pages.
Definition ipj/iface/Namespace.h:204
constexpr std::string_view SUBDIR_MATERIAL("Material")
QFlags< EReportOption > ReportOptions
Reporting option flags.
Definition ipj/iface/Namespace.h:345
_IPJ_FUNC QString GetSystemPositionInfo(ESystemPosition sp)
Gets the current scan inspection state converted from the passed name.
_MISC_FUNC std::string filter(std::string str, const std::string &filter)
Filters all characters from the passed string and returns the resulting string.
constexpr std::string_view KEY_CREATOR("Created By")
constexpr std::string_view KEY_VERSION("Version")
_IPJ_FUNC QString GetReportOptionDescription(EReportOption ro)
Gets the option description of the passed style.
constexpr std::string_view SUBDIR_TEMPLATE("Template")
ECalibrationType
Type to identify a scan area type.
Definition ipj/iface/Namespace.h:247
@ ctCAL_NONE
Definition ipj/iface/Namespace.h:249
@ ctCAL_PRE
Definition ipj/iface/Namespace.h:251
@ ctCAL_LASTENTRY
Definition ipj/iface/Namespace.h:255
@ ctCAL_POST
Definition ipj/iface/Namespace.h:253
constexpr std::string_view KEY_INSP_FINALIZEDATE("Finalize Date")
constexpr std::string_view SUBDIR_SETTINGS("Settings")
constexpr std::string_view SEC_MAT_INFO("Information")
constexpr std::string_view SEC_TE_SELECTED("Selected")
_IPJ_FUNC ESystemPosition GetSystemPositionFromName(const QString &sp)
Gets the system position from the name.
constexpr std::string_view EXT_TOOL(".tool")