28 #define CLANG_ANALYZER "clang-analyzer"
29 #define CLANG_TIDY "clang-tidy"
36 #define SETTINGS_WINDOW_MAXIMIZED "Window maximized"
37 #define SETTINGS_WINDOW_WIDTH "Window width"
38 #define SETTINGS_WINDOW_HEIGHT "Window height"
39 #define SETTINGS_MAINWND_SPLITTER_STATE "Mainwindow/Vertical splitter state"
40 #define SETTINGS_CHECK_DIALOG_WIDTH "Check dialog width"
41 #define SETTINGS_CHECK_DIALOG_HEIGHT "Check dialog height"
42 #define SETTINGS_PROJECT_DIALOG_WIDTH "Project dialog width"
43 #define SETTINGS_PROJECT_DIALOG_HEIGHT "Project dialog height"
46 #define SETTINGS_RESULT_COLUMN_WIDTH "Result column %1 width"
47 #define SETTINGS_TOOLBARS_MAIN_SHOW "Toolbars/ShowStandard"
48 #define SETTINGS_TOOLBARS_VIEW_SHOW "Toolbars/ShowView"
49 #define SETTINGS_TOOLBARS_FILTER_SHOW "Toolbars/ShowFilter"
52 #define SETTINGS_SHOW_STYLE "Show style"
53 #define SETTINGS_SHOW_ERRORS "Show errors"
54 #define SETTINGS_SHOW_WARNINGS "Show warnings"
55 #define SETTINGS_SHOW_PERFORMANCE "Show performance"
56 #define SETTINGS_SHOW_INFORMATION "Show information"
57 #define SETTINGS_SHOW_PORTABILITY "Show portability"
60 #define SETTINGS_STD_CPP "Standard CPP"
61 #define SETTINGS_STD_C "Standard C"
64 #define SETTINGS_ENFORCED_LANGUAGE "Enforced language"
67 #define SETTINGS_CHECK_FORCE "Check force"
68 #define SETTINGS_CHECK_THREADS "Check threads"
69 #define SETTINGS_SHOW_FULL_PATH "Show full path"
70 #define SETTINGS_SHOW_NO_ERRORS "Show no errors message"
71 #define SETTINGS_SHOW_DEBUG_WARNINGS "Show debug warnings"
72 #define SETTINGS_SAVE_ALL_ERRORS "Save all errors"
73 #define SETTINGS_SAVE_FULL_PATH "Save full path"
74 #define SETTINGS_APPLICATION_NAMES "Application names"
75 #define SETTINGS_APPLICATION_PATHS "Application paths"
76 #define SETTINGS_APPLICATION_PARAMS "Application parameters"
77 #define SETTINGS_APPLICATION_DEFAULT "Default Application"
78 #define SETTINGS_LANGUAGE "Application language"
79 #define SETTINGS_GLOBAL_INCLUDE_PATHS "Global include paths"
80 #define SETTINGS_PYTHON_PATH "Python path"
81 #define SETTINGS_MISRA_FILE "MISRA C 2012 file"
82 #define SETTINGS_CLANG_PATH "Clang path"
83 #define SETTINGS_VS_INCLUDE_PATHS "VS include paths"
84 #define SETTINGS_INLINE_SUPPRESSIONS "Inline suppressions"
85 #define SETTINGS_INCONCLUSIVE_ERRORS "Inconclusive errors"
86 #define SETTINGS_MRU_PROJECTS "MRU Projects"
87 #define SETTINGS_SHOW_ERROR_ID "Show error Id"
88 #define SETTINGS_SHOW_STATISTICS "Show statistics"
89 #define SETTINGS_OPEN_PROJECT "Open Project"
90 #define SETTINGS_CHECK_VERSION "Check Version"
91 #define SETTINGS_CHECK_FOR_UPDATES "Check for updates"
94 #define PROGRESS_MAX 1024.0
96 #define SETTINGS_CHECKED_PLATFORM "Checked platform"
98 #define SETTINGS_LAST_CHECK_PATH "Last check path"
99 #define SETTINGS_LAST_PROJECT_PATH "Last project path"
100 #define SETTINGS_LAST_RESULT_PATH "Last result path"
101 #define SETTINGS_LAST_SOURCE_PATH "Last source path"
102 #define SETTINGS_LAST_APP_PATH "Last application path"
104 #define SETTINGS_LAST_ANALYZE_FILES_FILTER "Last analyze files filter"
113 QString
getPath(
const QString &type);
121 void setPath(
const QString &type,
const QString &value);
147 QString
toFilterString(
const QMap<QString,QString>& filters,
bool addAllSupported=
true,
bool addAll=
true);
QString getPath(const QString &type)
Obtains the path of specified type Returns the path of specified type if not empty.
QString getDataDir()
Get configured data dir.
QString toFilterString(const QMap< QString, QString > &filters, bool addAllSupported=true, bool addAll=true)
Creates a string suitable for passing as the filter argument to methods like QFileDialog::getOpenFile...
void setPath(const QString &type, const QString &value)
Stores last used path of specified type Stores provided path as last used path for specified type.