|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>635</width> |
10 | | - <height>368</height> |
| 9 | + <width>642</width> |
| 10 | + <height>434</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="windowTitle"> |
|
23 | 23 | <attribute name="title"> |
24 | 24 | <string>Project</string> |
25 | 25 | </attribute> |
26 | | - <layout class="QVBoxLayout" name="verticalLayout_12"> |
| 26 | + <layout class="QVBoxLayout" name="verticalLayout_7"> |
27 | 27 | <item> |
28 | | - <layout class="QHBoxLayout" name="mLayoutProjectRoot"> |
| 28 | + <layout class="QVBoxLayout" name="verticalLayout_4"> |
29 | 29 | <item> |
30 | 30 | <widget class="QLabel" name="mLabelProjectRoot"> |
31 | 31 | <property name="text"> |
32 | | - <string>Root:</string> |
| 32 | + <string>&Root:</string> |
33 | 33 | </property> |
34 | 34 | <property name="buddy"> |
35 | 35 | <cstring>mEditProjectRoot</cstring> |
|
42 | 42 | </layout> |
43 | 43 | </item> |
44 | 44 | <item> |
45 | | - <layout class="QHBoxLayout" name="mLayoutBuildDir"> |
| 45 | + <layout class="QVBoxLayout" name="verticalLayout_2"> |
46 | 46 | <item> |
47 | 47 | <widget class="QLabel" name="mLabelBuildDir"> |
48 | 48 | <property name="toolTip"> |
49 | | - <string><html><head/><body><p>In the build dir, cppcheck stores data about each translation unit.</p><p><br/></p><p>With a build dir you get whole program analysis and faster analysis.</p></body></html></string> |
| 49 | + <string><html><head/><body><p>In the build dir, cppcheck stores data about each translation unit.</p><p>With a build dir you get whole program analysis.</p><p>Unchanged files will be analyzed much faster; Cppcheck skip the analysis of these files and reuse their old data.</p></body></html></string> |
50 | 50 | </property> |
51 | 51 | <property name="text"> |
52 | | - <string>Cppcheck build dir (optional)</string> |
| 52 | + <string>Cppcheck build dir (whole program analysis, faster analysis for unchanged files)</string> |
53 | 53 | </property> |
54 | 54 | </widget> |
55 | 55 | </item> |
56 | 56 | <item> |
57 | | - <widget class="QLineEdit" name="mEditBuildDir"/> |
| 57 | + <layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 58 | + <item> |
| 59 | + <widget class="QLineEdit" name="mEditBuildDir"/> |
| 60 | + </item> |
| 61 | + <item> |
| 62 | + <widget class="QPushButton" name="mBtnBrowseBuildDir"> |
| 63 | + <property name="text"> |
| 64 | + <string>...</string> |
| 65 | + </property> |
| 66 | + </widget> |
| 67 | + </item> |
| 68 | + </layout> |
58 | 69 | </item> |
| 70 | + </layout> |
| 71 | + </item> |
| 72 | + <item> |
| 73 | + <layout class="QVBoxLayout" name="verticalLayout_3"> |
59 | 74 | <item> |
60 | | - <widget class="QPushButton" name="mBtnBrowseBuildDir"> |
| 75 | + <widget class="QLabel" name="mLabelImport"> |
| 76 | + <property name="toolTip"> |
| 77 | + <string><html><head/><body><p>Cppcheck can import Visual studio solutions (*.sln), Visual studio projects (*.vcxproj) or compile databases.</p><p>Files to check, include paths, configurations, defines, platform settings are imported.\n\nLibrary settings are not imported.\n\n</p><p>A compile database can be generated from a cmake project using cmake, or from a Makefile project using bear (build ear).</p></body></html></string> |
| 78 | + </property> |
61 | 79 | <property name="text"> |
62 | | - <string>...</string> |
| 80 | + <string>Import Project (Visual studio / compile database)</string> |
63 | 81 | </property> |
64 | 82 | </widget> |
65 | 83 | </item> |
| 84 | + <item> |
| 85 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 86 | + <item> |
| 87 | + <widget class="QLineEdit" name="mEditImportProject"/> |
| 88 | + </item> |
| 89 | + <item> |
| 90 | + <widget class="QPushButton" name="mBtnBrowseImportProject"> |
| 91 | + <property name="text"> |
| 92 | + <string>...</string> |
| 93 | + </property> |
| 94 | + </widget> |
| 95 | + </item> |
| 96 | + </layout> |
| 97 | + </item> |
66 | 98 | </layout> |
67 | 99 | </item> |
68 | | - <item> |
69 | | - <spacer name="verticalSpacer_10"> |
70 | | - <property name="orientation"> |
71 | | - <enum>Qt::Vertical</enum> |
72 | | - </property> |
73 | | - <property name="sizeHint" stdset="0"> |
74 | | - <size> |
75 | | - <width>20</width> |
76 | | - <height>97</height> |
77 | | - </size> |
78 | | - </property> |
79 | | - </spacer> |
80 | | - </item> |
81 | 100 | <item> |
82 | 101 | <layout class="QHBoxLayout" name="mLayoutLibraries"> |
83 | 102 | <item> |
|
114 | 133 | </item> |
115 | 134 | </layout> |
116 | 135 | </widget> |
117 | | - <widget class="QWidget" name="mTabVisualStudio"> |
118 | | - <attribute name="title"> |
119 | | - <string>Visual Studio</string> |
120 | | - </attribute> |
121 | | - <layout class="QVBoxLayout" name="verticalLayout_4"> |
122 | | - <item> |
123 | | - <widget class="QLabel" name="mLabelVisualStudio"> |
124 | | - <property name="text"> |
125 | | - <string>Visual Studio |
126 | | - |
127 | | -Cppcheck can import visual studio solutions and projects. |
128 | | - |
129 | | -Files to check, include paths, configurations, defines, platform settings are imported. |
130 | | - |
131 | | -Library settings are not imported.</string> |
132 | | - </property> |
133 | | - </widget> |
134 | | - </item> |
135 | | - <item> |
136 | | - <layout class="QHBoxLayout" name="mLayoutVisualStudio"> |
137 | | - <item> |
138 | | - <widget class="QLineEdit" name="mEditVisualStudio"/> |
139 | | - </item> |
140 | | - <item> |
141 | | - <widget class="QPushButton" name="mBtnBrowseVisualStudio"> |
142 | | - <property name="text"> |
143 | | - <string>...</string> |
144 | | - </property> |
145 | | - </widget> |
146 | | - </item> |
147 | | - </layout> |
148 | | - </item> |
149 | | - <item> |
150 | | - <spacer name="verticalSpacer_5"> |
151 | | - <property name="orientation"> |
152 | | - <enum>Qt::Vertical</enum> |
153 | | - </property> |
154 | | - <property name="sizeHint" stdset="0"> |
155 | | - <size> |
156 | | - <width>20</width> |
157 | | - <height>149</height> |
158 | | - </size> |
159 | | - </property> |
160 | | - </spacer> |
161 | | - </item> |
162 | | - </layout> |
163 | | - </widget> |
164 | | - <widget class="QWidget" name="mTabCMake"> |
165 | | - <attribute name="title"> |
166 | | - <string>CMake</string> |
167 | | - </attribute> |
168 | | - <layout class="QVBoxLayout" name="verticalLayout_7"> |
169 | | - <item> |
170 | | - <widget class="QLabel" name="mLabelCMake"> |
171 | | - <property name="text"> |
172 | | - <string>Compile database |
173 | | - |
174 | | -Cppcheck can import files to analyse, include paths, defines from the compile database. |
175 | | - |
176 | | -Platform settings are not provided in compile database and must be configured. |
177 | | - |
178 | | -Library settings are not provided in compile database, be careful about this configuration also.</string> |
179 | | - </property> |
180 | | - </widget> |
181 | | - </item> |
182 | | - <item> |
183 | | - <layout class="QHBoxLayout" name="mLayoutCMake"> |
184 | | - <item> |
185 | | - <widget class="QLineEdit" name="mEditCompileDatabase"/> |
186 | | - </item> |
187 | | - <item> |
188 | | - <widget class="QPushButton" name="mBtnBrowseCompileDatabase"> |
189 | | - <property name="text"> |
190 | | - <string>...</string> |
191 | | - </property> |
192 | | - </widget> |
193 | | - </item> |
194 | | - </layout> |
195 | | - </item> |
196 | | - <item> |
197 | | - <spacer name="verticalSpacer_7"> |
198 | | - <property name="orientation"> |
199 | | - <enum>Qt::Vertical</enum> |
200 | | - </property> |
201 | | - <property name="sizeHint" stdset="0"> |
202 | | - <size> |
203 | | - <width>20</width> |
204 | | - <height>149</height> |
205 | | - </size> |
206 | | - </property> |
207 | | - </spacer> |
208 | | - </item> |
209 | | - </layout> |
210 | | - </widget> |
211 | 136 | <widget class="QWidget" name="mTabOther"> |
212 | 137 | <attribute name="title"> |
213 | 138 | <string>Other</string> |
|
0 commit comments