1 /****************************************************************************************************** 2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 5 ******************************************************************************************************/ 6 7 #include "Settings.h" 8 9 // Highest level 10 const QString SETTINGS_ENGAUGE ("Engauge"); 11 const QString SETTINGS_DIGITIZER ("Digitizer"); 12 13 // Environment group 14 const QString SETTINGS_GROUP_ENVIRONMENT ("Environment"); // capitalize E since this is a group string 15 const QString SETTINGS_CURRENT_DIRECTORY ("currentDirectory"); 16 17 // MainWindow group 18 const QString SETTINGS_BACKGROUND_IMAGE ("backgroundImage"); 19 const QString SETTINGS_CHECKLIST_GUIDE_DOCK_AREA ("checklistGuideDockArea"); 20 const QString SETTINGS_CHECKLIST_GUIDE_DOCK_GEOMETRY ("checklistGuideDockGeometry"); 21 const QString SETTINGS_CHECKLIST_GUIDE_WIZARD ("checklistGuideWizard"); 22 const QString SETTINGS_DRAG_DROP_EXPORT ("dragDropExport"); 23 const QString SETTINGS_FITTING_WINDOW_DOCK_AREA ("fittingWindowDockArea"); 24 const QString SETTINGS_FITTING_WINDOW_DOCK_GEOMETRY ("fittingWindowDockGeometry"); 25 const QString SETTINGS_GEOMETRY_WINDOW_DOCK_AREA ("geometryWIndowDockArea"); 26 const QString SETTINGS_GEOMETRY_WINDOW_DOCK_GEOMETRY ("geometryWindowGeometry"); 27 const QString SETTINGS_GROUP_MAIN_WINDOW ("MainWindow"); // Capitalize both M and W since this is a group string 28 const QString SETTINGS_HELP_POS ("helpPos"); 29 const QString SETTINGS_HELP_SIZE ("helpSize"); 30 const QString SETTINGS_HIGHLIGHT_OPACITY ("highlightOpacity"); 31 const QString SETTINGS_IMAGE_REPLACE_RENAMES_DOCUMENT ("imageReplaceRenamesDocument"); 32 const QString SETTINGS_LOCALE_COUNTRY ("country"); 33 const QString SETTINGS_LOCALE_LANGUAGE ("language"); 34 const QString SETTINGS_MAIN_DIRECTORY_EXPORT_SAVE ("exportSave"); 35 const QString SETTINGS_MAIN_DIRECTORY_IMPORT_LOAD ("importLoad"); 36 const QString SETTINGS_MAIN_TITLE_BAR_FORMAT ("titleBarFormat"); 37 const QString SETTINGS_MAXIMUM_EXPORTED_POINTS_PER_CURVE ("maximumExportedPointsPerCurve"); 38 const QString SETTINGS_MAXIMUM_GRID_LINES ("maximumGridLines"); 39 const QString SETTINGS_POS ("pos"); 40 const QString SETTINGS_RECENT_FILE_LIST ("recentFileList"); 41 const QString SETTINGS_SIGNIFICANT_DIGITS ("significantDigits"); 42 const QString SETTINGS_SIZE ("size"); 43 const QString SETTINGS_SMALL_DIALOGS ("smallDialogs"); 44 const QString SETTINGS_VIEW_BACKGROUND_TOOLBAR ("viewBackgroundToolBar"); 45 const QString SETTINGS_VIEW_COORD_SYSTEM_TOOLBAR ("viewCoordSystemToolBar"); 46 const QString SETTINGS_VIEW_DIGITIZE_TOOLBAR ("viewDigitizeToolBar"); 47 const QString SETTINGS_VIEW_SETTINGS_VIEWS_TOOLBAR ("viewSettingsViewsToolBar"); 48 const QString SETTINGS_VIEW_STATUS_BAR ("viewStatusBar"); 49 const QString SETTINGS_VIEW_TOOL_TIPS ("viewToolTips"); 50 const QString SETTINGS_ZOOM_CONTROL ("zoomControl"); 51 const QString SETTINGS_ZOOM_FACTOR ("zoomFactor"); 52 const QString SETTINGS_ZOOM_FACTOR_INITIAL ("zoomFactorInitial"); 53 54 // Curve styles and names group. Note that point shape is ignored for graph curves since it is, usually, unique for each curve 55 const QString SETTINGS_CURVE_LINE_COLOR ("lineColor"); 56 const QString SETTINGS_CURVE_LINE_CONNECT_AS ("lineConnectAs"); 57 const QString SETTINGS_CURVE_LINE_WIDTH ("lineWidth"); 58 const QString SETTINGS_CURVE_NAME ("name"); 59 const QString SETTINGS_CURVE_POINT_COLOR ("pointColor"); 60 const QString SETTINGS_CURVE_POINT_LINE_WIDTH ("pointLineWidth"); 61 const QString SETTINGS_CURVE_POINT_RADIUS ("pointRadius"); 62 const QString SETTINGS_CURVE_POINT_SHAPE ("pointShape"); 63 const QString SETTINGS_GROUP_CURVE_AXES ("CurveAxes"); 64 const QString SETTINGS_GROUP_CURVE_GRAPH ("CurveGraph#"); 65 const QString SETTINGS_GROUP_CURVE_GRAPH_PLACEHOLDER ("#"); // Field in SETTINGS_GROUP_CURVE_STYLE_GRAPH 66 67 // General group 68 const QString SETTINGS_GENERAL_CURSOR_SIZE ("cursorSize"); 69 const QString SETTINGS_GENERAL_EXTRA_PRECISION ("extraPrecision"); 70 const QString SETTINGS_GROUP_GENERAL ("GeneralEngauge"); // "General" group name is reserved for ungrouped settings 71 72 // Import group 73 const QString SETTINGS_GROUP_IMPORT ("Import"); 74 const QString SETTINGS_IMPORT_CROPPING ("Cropping"); 75 const QString SETTINGS_IMPORT_PDF_RESOLUTION ("PdfResolution"); 76 77 // Export group. Any new entries here should probably be added to DlgSettingsExportFormat::slotSaveDefault() 78 // and DocumentModelExportFormat::DocumentModelExportFormat() 79 const QString SETTINGS_EXPORT_CURVE_NAMES_NOT_EXPORTED ("curveNamesNotExported"); 80 const QString SETTINGS_EXPORT_DELIMITER ("delimiter"); 81 const QString SETTINGS_EXPORT_DELIMITER_OVERRIDE_CSV_TSV ("overrideCsvTsv"); 82 const QString SETTINGS_EXPORT_EXTRAPOLATE_OUTSIDE_ENDPOINTS ("extrapolateOutsideEndpoints"); 83 const QString SETTINGS_EXPORT_HEADER ("header"); 84 const QString SETTINGS_EXPORT_LAYOUT_FUNCTIONS ("layoutFunctions"); 85 const QString SETTINGS_EXPORT_POINTS_INTERVAL_FUNCTIONS ("pointsIntervalFunctions"); 86 const QString SETTINGS_EXPORT_POINTS_INTERVAL_RELATIONS ("pointsIntervalRelations"); 87 const QString SETTINGS_EXPORT_POINTS_INTERVAL_UNITS_FUNCTIONS ("pointsIntervalUnitsFunctions"); 88 const QString SETTINGS_EXPORT_POINTS_INTERVAL_UNITS_RELATIONS ("pointsIntervalUnitsRelations"); 89 const QString SETTINGS_EXPORT_POINTS_SELECTION_FUNCTIONS ("pointsSelectionFunctions"); 90 const QString SETTINGS_EXPORT_POINTS_SELECTION_RELATIONS ("pointsSelectionRelations"); 91 const QString SETTINGS_EXPORT_X_LABEL ("xLabel"); 92 const QString SETTINGS_GROUP_EXPORT ("Export"); 93 94 // Dialogs for import cropping group 95 const QString SETTINGS_GROUP_IMPORT_CROPPING ("ImportCropping"); 96 const QString SETTINGS_IMPORT_CROPPING_POS ("pos"); 97