- enhancement: add link to cppreference in the help menu

This commit is contained in:
royqh1979@gmail.com 2021-10-15 12:17:14 +08:00
parent b5523aaeda
commit 62a081d830
7 changed files with 196 additions and 159 deletions

View File

@ -1,3 +1,6 @@
Version 0.6.8
- enhancement: add link to cppreference in the help menu
Version 0.6.7 Version 0.6.7
- fix: messages send to the gdb process's standard error are not received - fix: messages send to the gdb process's standard error are not received
- adjust: the max value of the debug console's vertical scrollbar. - adjust: the max value of the debug console's vertical scrollbar.

Binary file not shown.

View File

@ -2696,29 +2696,29 @@ Are you really want to continue?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="845"/> <location filename="mainwindow.ui" line="851"/>
<source>File</source> <source>File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="863"/> <location filename="mainwindow.ui" line="869"/>
<source>Tools</source> <source>Tools</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1178"/> <location filename="mainwindow.ui" line="1185"/>
<location filename="mainwindow.ui" line="1181"/> <location filename="mainwindow.ui" line="1188"/>
<source>Run</source> <source>Run</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="888"/> <location filename="mainwindow.ui" line="894"/>
<source>Edit</source> <source>Edit</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="95"/> <location filename="mainwindow.ui" line="95"/>
<location filename="mainwindow.ui" line="940"/> <location filename="mainwindow.ui" line="946"/>
<source>Project</source> <source>Project</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2742,81 +2742,81 @@ Are you really want to continue?</source>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="387"/> <location filename="mainwindow.ui" line="387"/>
<location filename="mainwindow.ui" line="1038"/> <location filename="mainwindow.ui" line="1045"/>
<location filename="mainwindow.ui" line="1383"/> <location filename="mainwindow.ui" line="1390"/>
<location filename="mainwindow.ui" line="1386"/> <location filename="mainwindow.ui" line="1393"/>
<source>Debug</source> <source>Debug</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="430"/> <location filename="mainwindow.ui" line="436"/>
<source>Evaluate:</source> <source>Evaluate:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="471"/> <location filename="mainwindow.ui" line="477"/>
<source>Debug Console</source> <source>Debug Console</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="500"/> <location filename="mainwindow.ui" line="506"/>
<source>Call Stack</source> <source>Call Stack</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="535"/> <location filename="mainwindow.ui" line="541"/>
<source>Breakpoints</source> <source>Breakpoints</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="570"/> <location filename="mainwindow.ui" line="576"/>
<source>Locals</source> <source>Locals</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="649"/> <location filename="mainwindow.ui" line="655"/>
<location filename="mainwindow.ui" line="908"/> <location filename="mainwindow.ui" line="914"/>
<source>Search</source> <source>Search</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="676"/> <location filename="mainwindow.ui" line="682"/>
<source>History:</source> <source>History:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="711"/> <location filename="mainwindow.ui" line="717"/>
<source>Search Again</source> <source>Search Again</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="749"/> <location filename="mainwindow.ui" line="755"/>
<source>Replace with:</source> <source>Replace with:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="775"/> <location filename="mainwindow.ui" line="781"/>
<source>Replace</source> <source>Replace</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1583"/> <location filename="mainwindow.ui" line="1590"/>
<source>Close</source> <source>Close</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="869"/> <location filename="mainwindow.ui" line="875"/>
<source>Execute</source> <source>Execute</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="919"/> <location filename="mainwindow.ui" line="925"/>
<location filename="mainwindow.ui" line="1002"/> <location filename="mainwindow.ui" line="1009"/>
<source>Code</source> <source>Code</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="930"/> <location filename="mainwindow.ui" line="936"/>
<source>Window</source> <source>Window</source>
<translation></translation> <translation></translation>
</message> </message>
@ -2834,59 +2834,59 @@ Are you really want to continue?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1091"/> <location filename="mainwindow.ui" line="1098"/>
<source>Ctrl+N</source> <source>Ctrl+N</source>
<translation>Ctrl+N</translation> <translation>Ctrl+N</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1101"/> <location filename="mainwindow.ui" line="1108"/>
<source>Open...</source> <source>Open...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1104"/> <location filename="mainwindow.ui" line="1111"/>
<source>Ctrl+O</source> <source>Ctrl+O</source>
<translation>Ctrl+O</translation> <translation>Ctrl+O</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1114"/> <location filename="mainwindow.ui" line="1121"/>
<source>Save</source> <source>Save</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1117"/> <location filename="mainwindow.ui" line="1124"/>
<source>Ctrl+S</source> <source>Ctrl+S</source>
<translation>Ctrl+S</translation> <translation>Ctrl+S</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1127"/> <location filename="mainwindow.ui" line="1134"/>
<source>Save As...</source> <source>Save As...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1130"/> <location filename="mainwindow.ui" line="1137"/>
<source>Save As</source> <source>Save As</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1140"/> <location filename="mainwindow.ui" line="1147"/>
<source>Save All</source> <source>Save All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1143"/> <location filename="mainwindow.ui" line="1150"/>
<source>Ctrl+Shift+S</source> <source>Ctrl+Shift+S</source>
<translation>Ctrl+Shift+S</translation> <translation>Ctrl+Shift+S</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1152"/> <location filename="mainwindow.ui" line="1159"/>
<source>Options</source> <source>Options</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1017"/> <location filename="mainwindow.ui" line="1024"/>
<location filename="mainwindow.ui" line="1162"/> <location filename="mainwindow.ui" line="1169"/>
<location filename="mainwindow.ui" line="1165"/> <location filename="mainwindow.ui" line="1172"/>
<location filename="mainwindow.cpp" line="1174"/> <location filename="mainwindow.cpp" line="1174"/>
<location filename="mainwindow.cpp" line="1185"/> <location filename="mainwindow.cpp" line="1185"/>
<location filename="mainwindow.cpp" line="2483"/> <location filename="mainwindow.cpp" line="2483"/>
@ -2895,587 +2895,592 @@ Are you really want to continue?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1168"/> <location filename="mainwindow.ui" line="1175"/>
<source>F9</source> <source>F9</source>
<translation>F9</translation> <translation>F9</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1184"/> <location filename="mainwindow.ui" line="1191"/>
<source>F10</source> <source>F10</source>
<translation>F10</translation> <translation>F10</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1194"/> <location filename="mainwindow.ui" line="1201"/>
<source>Undo</source> <source>Undo</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1197"/> <location filename="mainwindow.ui" line="1204"/>
<source>Ctrl+Z</source> <source>Ctrl+Z</source>
<translation>Ctrl+Z</translation> <translation>Ctrl+Z</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1207"/> <location filename="mainwindow.ui" line="1214"/>
<source>Redo</source> <source>Redo</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1210"/> <location filename="mainwindow.ui" line="1217"/>
<source>Ctrl+Y</source> <source>Ctrl+Y</source>
<translation>Ctrl+Y</translation> <translation>Ctrl+Y</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1220"/> <location filename="mainwindow.ui" line="1227"/>
<source>Cut</source> <source>Cut</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1223"/> <location filename="mainwindow.ui" line="1230"/>
<source>Ctrl+X</source> <source>Ctrl+X</source>
<translation>Ctrl+X</translation> <translation>Ctrl+X</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1233"/> <location filename="mainwindow.ui" line="1240"/>
<location filename="mainwindow.cpp" line="1622"/> <location filename="mainwindow.cpp" line="1622"/>
<location filename="mainwindow.cpp" line="1672"/> <location filename="mainwindow.cpp" line="1672"/>
<source>Copy</source> <source>Copy</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1236"/> <location filename="mainwindow.ui" line="1243"/>
<source>Ctrl+C</source> <source>Ctrl+C</source>
<translation>Ctrl+C</translation> <translation>Ctrl+C</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1246"/> <location filename="mainwindow.ui" line="1253"/>
<location filename="mainwindow.cpp" line="1630"/> <location filename="mainwindow.cpp" line="1630"/>
<source>Paste</source> <source>Paste</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1249"/> <location filename="mainwindow.ui" line="1256"/>
<source>Ctrl+V</source> <source>Ctrl+V</source>
<translation>Ctrl+V</translation> <translation>Ctrl+V</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1254"/> <location filename="mainwindow.ui" line="1261"/>
<location filename="mainwindow.cpp" line="1638"/> <location filename="mainwindow.cpp" line="1638"/>
<source>Select All</source> <source>Select All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1257"/> <location filename="mainwindow.ui" line="1264"/>
<source>Ctrl+A</source> <source>Ctrl+A</source>
<translation>Ctrl+A</translation> <translation>Ctrl+A</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1267"/> <location filename="mainwindow.ui" line="1274"/>
<source>Indent</source> <source>Indent</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1280"/> <location filename="mainwindow.ui" line="1287"/>
<source>UnIndent</source> <source>UnIndent</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1288"/> <location filename="mainwindow.ui" line="1295"/>
<source>Toggle Comment</source> <source>Toggle Comment</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1291"/> <location filename="mainwindow.ui" line="1298"/>
<source>Ctrl+/</source> <source>Ctrl+/</source>
<translation>Ctrl+/</translation> <translation>Ctrl+/</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1299"/> <location filename="mainwindow.ui" line="1306"/>
<source>Collapse All</source> <source>Collapse All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1304"/> <location filename="mainwindow.ui" line="1311"/>
<source>Uncollapse All</source> <source>Uncollapse All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1309"/> <location filename="mainwindow.ui" line="1316"/>
<source>Encode in ANSI</source> <source>Encode in ANSI</source>
<translation>使ANSI编码</translation> <translation>使ANSI编码</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1314"/> <location filename="mainwindow.ui" line="1321"/>
<source>Encode in UTF-8</source> <source>Encode in UTF-8</source>
<translation>使UTF-8</translation> <translation>使UTF-8</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1319"/> <location filename="mainwindow.ui" line="1326"/>
<source>Auto Detect</source> <source>Auto Detect</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1324"/> <location filename="mainwindow.ui" line="1331"/>
<source>Convert to ANSI</source> <source>Convert to ANSI</source>
<translation>ANSI编码</translation> <translation>ANSI编码</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1329"/> <location filename="mainwindow.ui" line="1336"/>
<source>Convert to UTF-8</source> <source>Convert to UTF-8</source>
<translation>UTF-8</translation> <translation>UTF-8</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1339"/> <location filename="mainwindow.ui" line="1346"/>
<location filename="mainwindow.ui" line="1342"/> <location filename="mainwindow.ui" line="1349"/>
<source>Compile &amp; Run</source> <source>Compile &amp; Run</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1345"/> <location filename="mainwindow.ui" line="1352"/>
<source>F11</source> <source>F11</source>
<translation>F11</translation> <translation>F11</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1355"/> <location filename="mainwindow.ui" line="1362"/>
<location filename="mainwindow.ui" line="1358"/> <location filename="mainwindow.ui" line="1365"/>
<source>Rebuild All</source> <source>Rebuild All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1361"/> <location filename="mainwindow.ui" line="1368"/>
<source>F12</source> <source>F12</source>
<translation>F12</translation> <translation>F12</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1371"/> <location filename="mainwindow.ui" line="1378"/>
<source>Stop Execution</source> <source>Stop Execution</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1374"/> <location filename="mainwindow.ui" line="1381"/>
<source>F6</source> <source>F6</source>
<translation>F6</translation> <translation>F6</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1389"/> <location filename="mainwindow.ui" line="1396"/>
<source>F5</source> <source>F5</source>
<translation>F5</translation> <translation>F5</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1399"/> <location filename="mainwindow.ui" line="1406"/>
<source>Step Over</source> <source>Step Over</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1415"/> <location filename="mainwindow.ui" line="1422"/>
<source>F7</source> <source>F7</source>
<translation>F7</translation> <translation>F7</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1412"/> <location filename="mainwindow.ui" line="1419"/>
<source>Step Into</source> <source>Step Into</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="599"/> <location filename="mainwindow.ui" line="605"/>
<source>Memory</source> <source>Memory</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="605"/> <location filename="mainwindow.ui" line="611"/>
<source>Address Expression:</source> <source>Address Expression:</source>
<oldsource>Address:</oldsource> <oldsource>Address:</oldsource>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="782"/> <location filename="mainwindow.ui" line="788"/>
<source>Cancel</source> <source>Cancel</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="817"/> <location filename="mainwindow.ui" line="823"/>
<source>TODO</source> <source>TODO</source>
<translation>TODO</translation> <translation>TODO</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="957"/> <location filename="mainwindow.ui" line="963"/>
<source>Help</source> <source>Help</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="963"/> <location filename="mainwindow.ui" line="970"/>
<source>Refactor</source> <source>Refactor</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="981"/> <location filename="mainwindow.ui" line="988"/>
<source>Main</source> <source>Main</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1063"/> <location filename="mainwindow.ui" line="1070"/>
<source>Compiler Set</source> <source>Compiler Set</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1085"/> <location filename="mainwindow.ui" line="1092"/>
<location filename="mainwindow.ui" line="1088"/> <location filename="mainwindow.ui" line="1095"/>
<source>New Source File</source> <source>New Source File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1270"/> <location filename="mainwindow.ui" line="1277"/>
<source>Tab</source> <source>Tab</source>
<translation>Tab</translation> <translation>Tab</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1283"/> <location filename="mainwindow.ui" line="1290"/>
<source>Shift+Tab</source> <source>Shift+Tab</source>
<translation>Shift+Tab</translation> <translation>Shift+Tab</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1402"/> <location filename="mainwindow.ui" line="1409"/>
<source>F8</source> <source>F8</source>
<translation>F8</translation> <translation>F8</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1425"/> <location filename="mainwindow.ui" line="1432"/>
<source>Step Out</source> <source>Step Out</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1428"/> <location filename="mainwindow.ui" line="1435"/>
<source>Ctrl+F8</source> <source>Ctrl+F8</source>
<translation>Ctrl+F8</translation> <translation>Ctrl+F8</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1433"/> <location filename="mainwindow.ui" line="1440"/>
<source>Run To Cursor</source> <source>Run To Cursor</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1436"/> <location filename="mainwindow.ui" line="1443"/>
<source>Ctrl+F5</source> <source>Ctrl+F5</source>
<translation>Ctrl+F5</translation> <translation>Ctrl+F5</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1446"/> <location filename="mainwindow.ui" line="1453"/>
<source>Continue</source> <source>Continue</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1449"/> <location filename="mainwindow.ui" line="1456"/>
<source>F4</source> <source>F4</source>
<translation>F4</translation> <translation>F4</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1459"/> <location filename="mainwindow.ui" line="1466"/>
<source>Add Watch...</source> <source>Add Watch...</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1464"/> <location filename="mainwindow.ui" line="1471"/>
<source>View CPU Window...</source> <source>View CPU Window...</source>
<translation>CPU信息窗口...</translation> <translation>CPU信息窗口...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1469"/> <location filename="mainwindow.ui" line="1476"/>
<source>Exit</source> <source>Exit</source>
<translation>退</translation> <translation>退</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1479"/> <location filename="mainwindow.ui" line="1486"/>
<source>Find...</source> <source>Find...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1482"/> <location filename="mainwindow.ui" line="1489"/>
<source>Ctrl+F</source> <source>Ctrl+F</source>
<translation>Ctrl+F</translation> <translation>Ctrl+F</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1487"/> <location filename="mainwindow.ui" line="1494"/>
<source>Find in Files...</source> <source>Find in Files...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1490"/> <location filename="mainwindow.ui" line="1497"/>
<source>Ctrl+Shift+F</source> <source>Ctrl+Shift+F</source>
<translation>Ctrl+Shift+F</translation> <translation>Ctrl+Shift+F</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1500"/> <location filename="mainwindow.ui" line="1507"/>
<source>Replace...</source> <source>Replace...</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1503"/> <location filename="mainwindow.ui" line="1510"/>
<source>Ctrl+R</source> <source>Ctrl+R</source>
<translation>Ctrl+R</translation> <translation>Ctrl+R</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1508"/> <location filename="mainwindow.ui" line="1515"/>
<source>Find Next</source> <source>Find Next</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1511"/> <location filename="mainwindow.ui" line="1518"/>
<source>F3</source> <source>F3</source>
<translation>F3</translation> <translation>F3</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1516"/> <location filename="mainwindow.ui" line="1523"/>
<source>Find Previous</source> <source>Find Previous</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1519"/> <location filename="mainwindow.ui" line="1526"/>
<source>Shift+F3</source> <source>Shift+F3</source>
<translation>Shift+F3</translation> <translation>Shift+F3</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1524"/> <location filename="mainwindow.ui" line="1531"/>
<source>Remove Watch</source> <source>Remove Watch</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1529"/> <location filename="mainwindow.ui" line="1536"/>
<source>Remove All</source> <source>Remove All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1534"/> <location filename="mainwindow.ui" line="1541"/>
<source>Modify Watch...</source> <source>Modify Watch...</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1544"/> <location filename="mainwindow.ui" line="1551"/>
<source>Reformat Code</source> <source>Reformat Code</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1547"/> <location filename="mainwindow.ui" line="1554"/>
<source>Ctrl+Shift+A</source> <source>Ctrl+Shift+A</source>
<translation>Ctrl+Shift+A</translation> <translation>Ctrl+Shift+A</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1557"/> <location filename="mainwindow.ui" line="1564"/>
<source>Go back</source> <source>Go back</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1560"/> <location filename="mainwindow.ui" line="1567"/>
<source>Ctrl+Alt+Left</source> <source>Ctrl+Alt+Left</source>
<translation>Ctrl+Alt+Left</translation> <translation>Ctrl+Alt+Left</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1570"/> <location filename="mainwindow.ui" line="1577"/>
<source>Forward</source> <source>Forward</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1573"/> <location filename="mainwindow.ui" line="1580"/>
<source>Ctrl+Alt+Right</source> <source>Ctrl+Alt+Right</source>
<translation>Ctrl+Alt+Right</translation> <translation>Ctrl+Alt+Right</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1586"/> <location filename="mainwindow.ui" line="1593"/>
<source>Ctrl+W</source> <source>Ctrl+W</source>
<translation>Ctrl+W</translation> <translation>Ctrl+W</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1596"/> <location filename="mainwindow.ui" line="1603"/>
<source>Close All</source> <source>Close All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1599"/> <location filename="mainwindow.ui" line="1606"/>
<source>Ctrl+Shift+W</source> <source>Ctrl+Shift+W</source>
<translation>Ctrl+Shift+W</translation> <translation>Ctrl+Shift+W</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1609"/> <location filename="mainwindow.ui" line="1616"/>
<source>Maximize Editor</source> <source>Maximize Editor</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1612"/> <location filename="mainwindow.ui" line="1619"/>
<source>Ctrl+F11</source> <source>Ctrl+F11</source>
<translation>Ctrl+F11</translation> <translation>Ctrl+F11</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1622"/> <location filename="mainwindow.ui" line="1629"/>
<source>Next</source> <source>Next</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1625"/> <location filename="mainwindow.ui" line="1632"/>
<source>Ctrl+Tab</source> <source>Ctrl+Tab</source>
<translation>Ctrl+Tab</translation> <translation>Ctrl+Tab</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1635"/> <location filename="mainwindow.ui" line="1642"/>
<source>Previous</source> <source>Previous</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1638"/> <location filename="mainwindow.ui" line="1645"/>
<source>Ctrl+Shift+Tab</source> <source>Ctrl+Shift+Tab</source>
<translation>Ctrl+Shift+Tab</translation> <translation>Ctrl+Shift+Tab</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1648"/> <location filename="mainwindow.ui" line="1655"/>
<source>Toggle breakpoint</source> <source>Toggle breakpoint</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1651"/> <location filename="mainwindow.ui" line="1658"/>
<source>Ctrl+F4</source> <source>Ctrl+F4</source>
<translation>Ctrl+F4</translation> <translation>Ctrl+F4</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1656"/> <location filename="mainwindow.ui" line="1663"/>
<location filename="mainwindow.cpp" line="3601"/> <location filename="mainwindow.cpp" line="3601"/>
<source>Clear all breakpoints</source> <source>Clear all breakpoints</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1661"/> <location filename="mainwindow.ui" line="1668"/>
<source>Breakpoint property...</source> <source>Breakpoint property...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1666"/> <location filename="mainwindow.ui" line="1673"/>
<source>Goto Declaration</source> <source>Goto Declaration</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1671"/> <location filename="mainwindow.ui" line="1678"/>
<source>Goto Definition</source> <source>Goto Definition</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1676"/> <location filename="mainwindow.ui" line="1683"/>
<source>Find references</source> <source>Find references</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1686"/> <location filename="mainwindow.ui" line="1693"/>
<source>Open containing folder</source> <source>Open containing folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1689"/> <location filename="mainwindow.ui" line="1696"/>
<source>Ctrl+B</source> <source>Ctrl+B</source>
<translation>Ctrl+B</translation> <translation>Ctrl+B</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1699"/> <location filename="mainwindow.ui" line="1706"/>
<source>Open a terminal here</source> <source>Open a terminal here</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1704"/> <location filename="mainwindow.ui" line="1711"/>
<source>File Properties...</source> <source>File Properties...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1714"/> <location filename="mainwindow.ui" line="1721"/>
<source>Close Project</source> <source>Close Project</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1724"/> <location filename="mainwindow.ui" line="1731"/>
<source>Project options</source> <source>Project options</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1734"/> <location filename="mainwindow.ui" line="1741"/>
<source>New Project...</source> <source>New Project...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1743"/> <location filename="mainwindow.ui" line="1750"/>
<source>New File</source> <source>New File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1752"/> <location filename="mainwindow.ui" line="1759"/>
<source>Add to project...</source> <source>Add to project...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1761"/> <location filename="mainwindow.ui" line="1768"/>
<source>Remove from project</source> <source>Remove from project</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1766"/> <location filename="mainwindow.ui" line="1773"/>
<source>View Makefile</source> <source>View Makefile</source>
<translation>Makefile</translation> <translation>Makefile</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1775"/> <location filename="mainwindow.ui" line="1782"/>
<source>Clean</source> <source>Clean</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1784"/> <location filename="mainwindow.ui" line="1791"/>
<source>Open Folder in Explorer</source> <source>Open Folder in Explorer</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1793"/> <location filename="mainwindow.ui" line="1800"/>
<source>Open In Terminal</source> <source>Open In Terminal</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1802"/> <location filename="mainwindow.ui" line="1809"/>
<source>About</source> <source>About</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1807"/> <location filename="mainwindow.ui" line="1814"/>
<location filename="mainwindow.cpp" line="4115"/> <location filename="mainwindow.cpp" line="4115"/>
<source>Rename Symbol</source> <source>Rename Symbol</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1810"/> <location filename="mainwindow.ui" line="1817"/>
<source>Shift+F6</source> <source>Shift+F6</source>
<translation>Shift+F6</translation> <translation>Shift+F6</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1819"/> <location filename="mainwindow.ui" line="1826"/>
<source>Print...</source> <source>Print...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1822"/> <location filename="mainwindow.ui" line="1829"/>
<source>Ctrl+P</source> <source>Ctrl+P</source>
<translation>Ctrl+P</translation> <translation>Ctrl+P</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1827"/> <location filename="mainwindow.ui" line="1834"/>
<location filename="mainwindow.cpp" line="4219"/> <location filename="mainwindow.cpp" line="4219"/>
<source>Export As RTF</source> <source>Export As RTF</source>
<translation>RTF</translation> <translation>RTF</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1832"/> <location filename="mainwindow.ui" line="1839"/>
<location filename="mainwindow.cpp" line="4241"/> <location filename="mainwindow.cpp" line="4241"/>
<source>Export As HTML</source> <source>Export As HTML</source>
<translation>HTML</translation> <translation>HTML</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1837"/> <location filename="mainwindow.ui" line="1844"/>
<source>Move To Other View</source> <source>Move To Other View</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.ui" line="1840"/> <location filename="mainwindow.ui" line="1847"/>
<source>Ctrl+M</source> <source>Ctrl+M</source>
<translation>Ctrl+M</translation> <translation>Ctrl+M</translation>
</message> </message>
<message>
<location filename="mainwindow.ui" line="1852"/>
<source>C/C++ Reference</source>
<translation type="unfinished">C/C++</translation>
</message>
<message> <message>
<location filename="mainwindow.cpp" line="1977"/> <location filename="mainwindow.cpp" line="1977"/>
<source>File Encoding</source> <source>File Encoding</source>
@ -3522,8 +3527,8 @@ Are you really want to continue?</source>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="688"/> <location filename="mainwindow.cpp" line="688"/>
<source>Line: %1 Col: %2 Selected: %3 Lines: %4 Length: %5</source> <source>Line:%1 Col:%2 Selected:%3 Lines:%4 Length:%5</source>
<oldsource>Line:%1 Col:%2 Selected:%3 Lines:%4 Length:%5</oldsource> <oldsource>Line: %1 Col: %2 Selected: %3 Lines: %4 Length: %5</oldsource>
<translation type="unfinished">: %1 : %2 :%3 : %4 : %5</translation> <translation type="unfinished">: %1 : %2 :%3 : %4 : %5</translation>
</message> </message>
<message> <message>

View File

@ -4262,3 +4262,18 @@ void MainWindow::on_actionMove_To_Other_View_triggered()
} }
} }
void MainWindow::on_actionC_C_Reference_triggered()
{
if (pSettings->environment().language()=="zh_CN") {
QFileInfo fileInfo(includeTrailingPathDelimiter(pSettings->dirs().app())+"cppreference-zh.chm");
if (fileInfo.exists()) {
QDesktopServices::openUrl(QUrl::fromLocalFile(fileInfo.absoluteFilePath()));
} else {
QDesktopServices::openUrl(QUrl("https://zh.cppreference.com/w/cpp"));
}
} else {
QDesktopServices::openUrl(QUrl("https://en.cppreference.com/w/cpp"));
}
}

View File

@ -403,6 +403,8 @@ private slots:
void on_actionMove_To_Other_View_triggered(); void on_actionMove_To_Other_View_triggered();
void on_actionC_C_Reference_triggered();
private: private:
Ui::MainWindow *ui; Ui::MainWindow *ui;
EditorList *mEditorList; EditorList *mEditorList;

View File

@ -85,7 +85,7 @@
<enum>QTabWidget::West</enum> <enum>QTabWidget::West</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<property name="usesScrollButtons"> <property name="usesScrollButtons">
<bool>true</bool> <bool>true</bool>
@ -387,6 +387,9 @@
<string>Debug</string> <string>Debug</string>
</attribute> </attribute>
<layout class="QHBoxLayout" name="horizontalLayout_4"> <layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>7</number>
</property>
<property name="leftMargin"> <property name="leftMargin">
<number>0</number> <number>0</number>
</property> </property>
@ -404,6 +407,9 @@
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="handleWidth">
<number>3</number>
</property>
<widget class="QFrame" name="frmEvaluate"> <widget class="QFrame" name="frmEvaluate">
<property name="frameShape"> <property name="frameShape">
<enum>QFrame::StyledPanel</enum> <enum>QFrame::StyledPanel</enum>
@ -956,6 +962,7 @@
<property name="title"> <property name="title">
<string>Help</string> <string>Help</string>
</property> </property>
<addaction name="actionC_C_Reference"/>
<addaction name="actionAbout"/> <addaction name="actionAbout"/>
</widget> </widget>
<widget class="QMenu" name="menuRefactor"> <widget class="QMenu" name="menuRefactor">
@ -1840,6 +1847,11 @@
<string>Ctrl+M</string> <string>Ctrl+M</string>
</property> </property>
</action> </action>
<action name="actionC_C_Reference">
<property name="text">
<string>C/C++ Reference</string>
</property>
</action>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget> <customwidget>

View File

@ -3,7 +3,7 @@
#include <QStringList> #include <QStringList>
#define DEVCPP_VERSION "0.6.7" #define DEVCPP_VERSION "0.6.8"
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#define APP_SETTSINGS_FILENAME "redpandacpp.ini" #define APP_SETTSINGS_FILENAME "redpandacpp.ini"