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

View File

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

View File

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