- fix: when remove all breakpoints in the debug breakpoint view, debug tags in the opened editors are not correctly updated.
- change: when start debuging, show local view instead of the debug console.
This commit is contained in:
parent
2ceb95e4cc
commit
80b9f2b9e9
2
NEWS.md
2
NEWS.md
|
@ -2,6 +2,8 @@ Version 0.7.4
|
||||||
- fix: when debug a project, and have breakpoints that not in opened editors, dev-cpp will crash
|
- fix: when debug a project, and have breakpoints that not in opened editors, dev-cpp will crash
|
||||||
- fix: when a file is parsing in background, exit dev-cpp will crash
|
- fix: when a file is parsing in background, exit dev-cpp will crash
|
||||||
- fix: "tab to spaces" option in the editor general options widget doesn't work
|
- fix: "tab to spaces" option in the editor general options widget doesn't work
|
||||||
|
- fix: when remove all breakpoints in the debug breakpoint view, debug tags in the opened editors are not correctly updated.
|
||||||
|
- change: when start debuging, show local view instead of the debug console.
|
||||||
|
|
||||||
Version 0.7.3
|
Version 0.7.3
|
||||||
- enhancement: icons in project view
|
- enhancement: icons in project view
|
||||||
|
|
Binary file not shown.
|
@ -2807,11 +2807,11 @@ Are you really want to continue?</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.ui" line="371"/>
|
<location filename="mainwindow.ui" line="371"/>
|
||||||
<location filename="mainwindow.cpp" line="3121"/>
|
<location filename="mainwindow.cpp" line="3149"/>
|
||||||
<location filename="mainwindow.cpp" line="3124"/>
|
<location filename="mainwindow.cpp" line="3152"/>
|
||||||
<location filename="mainwindow.cpp" line="3128"/>
|
<location filename="mainwindow.cpp" line="3156"/>
|
||||||
<location filename="mainwindow.cpp" line="3131"/>
|
<location filename="mainwindow.cpp" line="3159"/>
|
||||||
<location filename="mainwindow.cpp" line="4530"/>
|
<location filename="mainwindow.cpp" line="4559"/>
|
||||||
<source>Issues</source>
|
<source>Issues</source>
|
||||||
<translation>编译器</translation>
|
<translation>编译器</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3015,8 +3015,8 @@ Are you really want to continue?</source>
|
||||||
<location filename="mainwindow.ui" line="1292"/>
|
<location filename="mainwindow.ui" line="1292"/>
|
||||||
<location filename="mainwindow.cpp" line="1276"/>
|
<location filename="mainwindow.cpp" line="1276"/>
|
||||||
<location filename="mainwindow.cpp" line="1287"/>
|
<location filename="mainwindow.cpp" line="1287"/>
|
||||||
<location filename="mainwindow.cpp" line="2788"/>
|
<location filename="mainwindow.cpp" line="2815"/>
|
||||||
<location filename="mainwindow.cpp" line="2799"/>
|
<location filename="mainwindow.cpp" line="2826"/>
|
||||||
<source>Compile</source>
|
<source>Compile</source>
|
||||||
<translation>编译</translation>
|
<translation>编译</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3466,7 +3466,7 @@ Are you really want to continue?</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.ui" line="1783"/>
|
<location filename="mainwindow.ui" line="1783"/>
|
||||||
<location filename="mainwindow.cpp" line="3948"/>
|
<location filename="mainwindow.cpp" line="3976"/>
|
||||||
<source>Clear all breakpoints</source>
|
<source>Clear all breakpoints</source>
|
||||||
<translation>删除所有断点</translation>
|
<translation>删除所有断点</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3567,7 +3567,7 @@ Are you really want to continue?</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.ui" line="1934"/>
|
<location filename="mainwindow.ui" line="1934"/>
|
||||||
<location filename="mainwindow.cpp" line="4487"/>
|
<location filename="mainwindow.cpp" line="4516"/>
|
||||||
<source>Rename Symbol</source>
|
<source>Rename Symbol</source>
|
||||||
<translation>重命名符号</translation>
|
<translation>重命名符号</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3588,13 +3588,13 @@ Are you really want to continue?</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.ui" line="1954"/>
|
<location filename="mainwindow.ui" line="1954"/>
|
||||||
<location filename="mainwindow.cpp" line="4609"/>
|
<location filename="mainwindow.cpp" line="4638"/>
|
||||||
<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="1959"/>
|
<location filename="mainwindow.ui" line="1959"/>
|
||||||
<location filename="mainwindow.cpp" line="4631"/>
|
<location filename="mainwindow.cpp" line="4660"/>
|
||||||
<source>Export As HTML</source>
|
<source>Export As HTML</source>
|
||||||
<translation>导出为HTML</translation>
|
<translation>导出为HTML</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3640,7 +3640,7 @@ Are you really want to continue?</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.ui" line="2018"/>
|
<location filename="mainwindow.ui" line="2018"/>
|
||||||
<location filename="mainwindow.cpp" line="4769"/>
|
<location filename="mainwindow.cpp" line="4798"/>
|
||||||
<source>Open Folder</source>
|
<source>Open Folder</source>
|
||||||
<translation>打开文件夹</translation>
|
<translation>打开文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3650,7 +3650,7 @@ Are you really want to continue?</source>
|
||||||
<translation>运行参数...</translation>
|
<translation>运行参数...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2231"/>
|
<location filename="mainwindow.cpp" line="2255"/>
|
||||||
<source>File Encoding</source>
|
<source>File Encoding</source>
|
||||||
<translation>文件编码</translation>
|
<translation>文件编码</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3891,15 +3891,15 @@ Are you really want to continue?</source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1771"/>
|
<location filename="mainwindow.cpp" line="1771"/>
|
||||||
<location filename="mainwindow.cpp" line="4689"/>
|
<location filename="mainwindow.cpp" line="4718"/>
|
||||||
<location filename="mainwindow.cpp" line="4729"/>
|
<location filename="mainwindow.cpp" line="4758"/>
|
||||||
<source>Bookmark Description</source>
|
<source>Bookmark Description</source>
|
||||||
<translation>书签描述</translation>
|
<translation>书签描述</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1772"/>
|
<location filename="mainwindow.cpp" line="1772"/>
|
||||||
<location filename="mainwindow.cpp" line="4690"/>
|
<location filename="mainwindow.cpp" line="4719"/>
|
||||||
<location filename="mainwindow.cpp" line="4730"/>
|
<location filename="mainwindow.cpp" line="4759"/>
|
||||||
<source>Description:</source>
|
<source>Description:</source>
|
||||||
<translation>描述:</translation>
|
<translation>描述:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -3940,251 +3940,256 @@ Are you really want to continue?</source>
|
||||||
<translation>删除所有断点</translation>
|
<translation>删除所有断点</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1938"/>
|
<location filename="mainwindow.cpp" line="1939"/>
|
||||||
|
<source>Remove Breakpoint</source>
|
||||||
|
<translation type="unfinished">删除当前断点</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="mainwindow.cpp" line="1962"/>
|
||||||
<source>Rename File</source>
|
<source>Rename File</source>
|
||||||
<translation>重命名文件</translation>
|
<translation>重命名文件</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1946"/>
|
<location filename="mainwindow.cpp" line="1970"/>
|
||||||
<location filename="mainwindow.cpp" line="1965"/>
|
<location filename="mainwindow.cpp" line="1989"/>
|
||||||
<source>Add Folder</source>
|
<source>Add Folder</source>
|
||||||
<translation>添加文件夹</translation>
|
<translation>添加文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1962"/>
|
<location filename="mainwindow.cpp" line="1986"/>
|
||||||
<source>New folder</source>
|
<source>New folder</source>
|
||||||
<translation>新文件夹</translation>
|
<translation>新文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1966"/>
|
<location filename="mainwindow.cpp" line="1990"/>
|
||||||
<source>Folder name:</source>
|
<source>Folder name:</source>
|
||||||
<translation>文件夹:</translation>
|
<translation>文件夹:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1980"/>
|
<location filename="mainwindow.cpp" line="2004"/>
|
||||||
<source>Rename Folder</source>
|
<source>Rename Folder</source>
|
||||||
<translation>重命名</translation>
|
<translation>重命名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="1988"/>
|
<location filename="mainwindow.cpp" line="2012"/>
|
||||||
<source>Remove Folder</source>
|
<source>Remove Folder</source>
|
||||||
<translation>删除文件夹</translation>
|
<translation>删除文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2013"/>
|
<location filename="mainwindow.cpp" line="2037"/>
|
||||||
<source>Sort By Type</source>
|
<source>Sort By Type</source>
|
||||||
<translation>按类型排序</translation>
|
<translation>按类型排序</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2018"/>
|
<location filename="mainwindow.cpp" line="2042"/>
|
||||||
<source>Sort alphabetically</source>
|
<source>Sort alphabetically</source>
|
||||||
<translation>按名称排序</translation>
|
<translation>按名称排序</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2023"/>
|
<location filename="mainwindow.cpp" line="2047"/>
|
||||||
<source>Show inherited members</source>
|
<source>Show inherited members</source>
|
||||||
<translation>显示继承的成员</translation>
|
<translation>显示继承的成员</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2028"/>
|
<location filename="mainwindow.cpp" line="2052"/>
|
||||||
<source>Goto declaration</source>
|
<source>Goto declaration</source>
|
||||||
<translation>跳转到声明处</translation>
|
<translation>跳转到声明处</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2031"/>
|
<location filename="mainwindow.cpp" line="2055"/>
|
||||||
<source>Goto definition</source>
|
<source>Goto definition</source>
|
||||||
<translation>跳转到定义处</translation>
|
<translation>跳转到定义处</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2118"/>
|
<location filename="mainwindow.cpp" line="2142"/>
|
||||||
<source>Open in Editor</source>
|
<source>Open in Editor</source>
|
||||||
<translation>在编辑器中打开</translation>
|
<translation>在编辑器中打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2130"/>
|
<location filename="mainwindow.cpp" line="2154"/>
|
||||||
<source>Open in External Program</source>
|
<source>Open in External Program</source>
|
||||||
<translation>使用外部程序打开</translation>
|
<translation>使用外部程序打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2140"/>
|
<location filename="mainwindow.cpp" line="2164"/>
|
||||||
<source>Open in Terminal</source>
|
<source>Open in Terminal</source>
|
||||||
<translation>在终端中打开</translation>
|
<translation>在终端中打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2152"/>
|
<location filename="mainwindow.cpp" line="2176"/>
|
||||||
<source>Open in Windows Explorer</source>
|
<source>Open in Windows Explorer</source>
|
||||||
<translation>在Windows浏览器中打开</translation>
|
<translation>在Windows浏览器中打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2197"/>
|
<location filename="mainwindow.cpp" line="2221"/>
|
||||||
<source>Character sets</source>
|
<source>Character sets</source>
|
||||||
<translation>字符集</translation>
|
<translation>字符集</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2321"/>
|
<location filename="mainwindow.cpp" line="2345"/>
|
||||||
<source>%1 files autosaved</source>
|
<source>%1 files autosaved</source>
|
||||||
<translation>已自动保存%1个文件</translation>
|
<translation>已自动保存%1个文件</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2708"/>
|
<location filename="mainwindow.cpp" line="2735"/>
|
||||||
<source>Save project</source>
|
<source>Save project</source>
|
||||||
<translation>保存项目</translation>
|
<translation>保存项目</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2709"/>
|
<location filename="mainwindow.cpp" line="2736"/>
|
||||||
<source>The project '%1' has modifications.</source>
|
<source>The project '%1' has modifications.</source>
|
||||||
<translation>项目'%1'有改动。</translation>
|
<translation>项目'%1'有改动。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2711"/>
|
<location filename="mainwindow.cpp" line="2738"/>
|
||||||
<source>Do you want to save it?</source>
|
<source>Do you want to save it?</source>
|
||||||
<translation>需要保存吗?</translation>
|
<translation>需要保存吗?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2905"/>
|
<location filename="mainwindow.cpp" line="2932"/>
|
||||||
<location filename="mainwindow.cpp" line="2915"/>
|
<location filename="mainwindow.cpp" line="2942"/>
|
||||||
<location filename="mainwindow.cpp" line="2927"/>
|
<location filename="mainwindow.cpp" line="2954"/>
|
||||||
<source>Save Error</source>
|
<source>Save Error</source>
|
||||||
<translation>保存失败</translation>
|
<translation>保存失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3055"/>
|
<location filename="mainwindow.cpp" line="3082"/>
|
||||||
<source>Change Project Compiler Set</source>
|
<source>Change Project Compiler Set</source>
|
||||||
<translation>改变项目编译器配置集</translation>
|
<translation>改变项目编译器配置集</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3056"/>
|
<location filename="mainwindow.cpp" line="3083"/>
|
||||||
<source>Change the project's compiler set will lose all custom compiler set options.</source>
|
<source>Change the project's compiler set will lose all custom compiler set options.</source>
|
||||||
<translation>改变项目的编译器配置集会导致所有的自定义编译器选项被重置。</translation>
|
<translation>改变项目的编译器配置集会导致所有的自定义编译器选项被重置。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3058"/>
|
<location filename="mainwindow.cpp" line="3085"/>
|
||||||
<source>Do you really want to do that?</source>
|
<source>Do you really want to do that?</source>
|
||||||
<translation>你真的想要做那些吗?</translation>
|
<translation>你真的想要做那些吗?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3949"/>
|
<location filename="mainwindow.cpp" line="3977"/>
|
||||||
<source>Do you really want to clear all breakpoints in this file?</source>
|
<source>Do you really want to clear all breakpoints in this file?</source>
|
||||||
<translation>您真的要清除该文件的所有断点吗?</translation>
|
<translation>您真的要清除该文件的所有断点吗?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4127"/>
|
<location filename="mainwindow.cpp" line="4156"/>
|
||||||
<source>New project</source>
|
<source>New project</source>
|
||||||
<translation>新建项目</translation>
|
<translation>新建项目</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4128"/>
|
<location filename="mainwindow.cpp" line="4157"/>
|
||||||
<source>Close %1 and start new project?</source>
|
<source>Close %1 and start new project?</source>
|
||||||
<translation>关闭'%1'以打开新项目?</translation>
|
<translation>关闭'%1'以打开新项目?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4140"/>
|
<location filename="mainwindow.cpp" line="4169"/>
|
||||||
<source>Folder not exist</source>
|
<source>Folder not exist</source>
|
||||||
<translation>文件夹不存在</translation>
|
<translation>文件夹不存在</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4141"/>
|
<location filename="mainwindow.cpp" line="4170"/>
|
||||||
<source>Folder '%1' doesn't exist. Create it now?</source>
|
<source>Folder '%1' doesn't exist. Create it now?</source>
|
||||||
<translation>文件夹'%1'不存在。是否创建?</translation>
|
<translation>文件夹'%1'不存在。是否创建?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4148"/>
|
<location filename="mainwindow.cpp" line="4177"/>
|
||||||
<source>Can't create folder</source>
|
<source>Can't create folder</source>
|
||||||
<translation>无法创建文件夹</translation>
|
<translation>无法创建文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4149"/>
|
<location filename="mainwindow.cpp" line="4178"/>
|
||||||
<source>Failed to create folder '%1'.</source>
|
<source>Failed to create folder '%1'.</source>
|
||||||
<translation>创建文件夹'%1'失败。</translation>
|
<translation>创建文件夹'%1'失败。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4164"/>
|
<location filename="mainwindow.cpp" line="4193"/>
|
||||||
<source>Save new project as</source>
|
<source>Save new project as</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4166"/>
|
<location filename="mainwindow.cpp" line="4195"/>
|
||||||
<source>Red panda Dev-C++ project file (*.dev)</source>
|
<source>Red panda Dev-C++ project file (*.dev)</source>
|
||||||
<translation>小熊猫Dev-C++项目文件 (*.dev)</translation>
|
<translation>小熊猫Dev-C++项目文件 (*.dev)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4177"/>
|
<location filename="mainwindow.cpp" line="4206"/>
|
||||||
<source>New project fail</source>
|
<source>New project fail</source>
|
||||||
<translation>新建项目失败</translation>
|
<translation>新建项目失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4178"/>
|
<location filename="mainwindow.cpp" line="4207"/>
|
||||||
<source>Can't assign project template</source>
|
<source>Can't assign project template</source>
|
||||||
<translation>无法使用模板创建项目</translation>
|
<translation>无法使用模板创建项目</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4223"/>
|
<location filename="mainwindow.cpp" line="4252"/>
|
||||||
<source>untitled</source>
|
<source>untitled</source>
|
||||||
<translation>无标题</translation>
|
<translation>无标题</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4233"/>
|
<location filename="mainwindow.cpp" line="4262"/>
|
||||||
<source>New Project File Name</source>
|
<source>New Project File Name</source>
|
||||||
<translation>新的项目文件名</translation>
|
<translation>新的项目文件名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4234"/>
|
<location filename="mainwindow.cpp" line="4263"/>
|
||||||
<source>File Name:</source>
|
<source>File Name:</source>
|
||||||
<translation>文件名:</translation>
|
<translation>文件名:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4240"/>
|
<location filename="mainwindow.cpp" line="4269"/>
|
||||||
<source>File Already Exists!</source>
|
<source>File Already Exists!</source>
|
||||||
<translation>文件已存在!</translation>
|
<translation>文件已存在!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4241"/>
|
<location filename="mainwindow.cpp" line="4270"/>
|
||||||
<source>File '%1' already exists!</source>
|
<source>File '%1' already exists!</source>
|
||||||
<translation>文件'%1'已经存在!</translation>
|
<translation>文件'%1'已经存在!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4260"/>
|
<location filename="mainwindow.cpp" line="4289"/>
|
||||||
<source>Add to project</source>
|
<source>Add to project</source>
|
||||||
<translation>添加到项目</translation>
|
<translation>添加到项目</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4473"/>
|
<location filename="mainwindow.cpp" line="4502"/>
|
||||||
<source>Rename Error</source>
|
<source>Rename Error</source>
|
||||||
<translation>重命名出错</translation>
|
<translation>重命名出错</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4474"/>
|
<location filename="mainwindow.cpp" line="4503"/>
|
||||||
<source>Symbol '%1' is defined in system header.</source>
|
<source>Symbol '%1' is defined in system header.</source>
|
||||||
<translation>符号'%1'在系统头文件中定义,无法修改。</translation>
|
<translation>符号'%1'在系统头文件中定义,无法修改。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4488"/>
|
<location filename="mainwindow.cpp" line="4517"/>
|
||||||
<source>New Name</source>
|
<source>New Name</source>
|
||||||
<translation>新名称</translation>
|
<translation>新名称</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4554"/>
|
<location filename="mainwindow.cpp" line="4583"/>
|
||||||
<location filename="mainwindow.cpp" line="4564"/>
|
<location filename="mainwindow.cpp" line="4593"/>
|
||||||
<source>Replace Error</source>
|
<source>Replace Error</source>
|
||||||
<translation>替换出错</translation>
|
<translation>替换出错</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4555"/>
|
<location filename="mainwindow.cpp" line="4584"/>
|
||||||
<source>Can't open file '%1' for replace!</source>
|
<source>Can't open file '%1' for replace!</source>
|
||||||
<translation>无法打开文件'%1'进行替换!</translation>
|
<translation>无法打开文件'%1'进行替换!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4565"/>
|
<location filename="mainwindow.cpp" line="4594"/>
|
||||||
<source>Contents has changed since last search!</source>
|
<source>Contents has changed since last search!</source>
|
||||||
<translation>内容和上次查找时不一致。</translation>
|
<translation>内容和上次查找时不一致。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4611"/>
|
<location filename="mainwindow.cpp" line="4640"/>
|
||||||
<source>Rich Text Format Files (*.rtf)</source>
|
<source>Rich Text Format Files (*.rtf)</source>
|
||||||
<translation>RTF格式文件 (*.rtf)</translation>
|
<translation>RTF格式文件 (*.rtf)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4633"/>
|
<location filename="mainwindow.cpp" line="4662"/>
|
||||||
<source>HTML Files (*.html)</source>
|
<source>HTML Files (*.html)</source>
|
||||||
<translation>HTML文件 (*.html)</translation>
|
<translation>HTML文件 (*.html)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -4197,13 +4202,13 @@ Are you really want to continue?</source>
|
||||||
<location filename="mainwindow.cpp" line="194"/>
|
<location filename="mainwindow.cpp" line="194"/>
|
||||||
<location filename="mainwindow.cpp" line="831"/>
|
<location filename="mainwindow.cpp" line="831"/>
|
||||||
<location filename="mainwindow.cpp" line="1716"/>
|
<location filename="mainwindow.cpp" line="1716"/>
|
||||||
<location filename="mainwindow.cpp" line="2222"/>
|
<location filename="mainwindow.cpp" line="2246"/>
|
||||||
<location filename="mainwindow.cpp" line="2795"/>
|
<location filename="mainwindow.cpp" line="2822"/>
|
||||||
<location filename="mainwindow.cpp" line="2880"/>
|
<location filename="mainwindow.cpp" line="2907"/>
|
||||||
<location filename="mainwindow.cpp" line="3024"/>
|
<location filename="mainwindow.cpp" line="3051"/>
|
||||||
<location filename="mainwindow.cpp" line="3036"/>
|
<location filename="mainwindow.cpp" line="3063"/>
|
||||||
<location filename="mainwindow.cpp" line="3376"/>
|
<location filename="mainwindow.cpp" line="3404"/>
|
||||||
<location filename="mainwindow.cpp" line="3388"/>
|
<location filename="mainwindow.cpp" line="3416"/>
|
||||||
<source>Error</source>
|
<source>Error</source>
|
||||||
<translation>错误</translation>
|
<translation>错误</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -4213,75 +4218,75 @@ Are you really want to continue?</source>
|
||||||
<translation>项目历史</translation>
|
<translation>项目历史</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2789"/>
|
<location filename="mainwindow.cpp" line="2816"/>
|
||||||
<source>File '%1' was changed.</source>
|
<source>File '%1' was changed.</source>
|
||||||
<translation>磁盘文件'%1'已被修改。</translation>
|
<translation>磁盘文件'%1'已被修改。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2789"/>
|
<location filename="mainwindow.cpp" line="2816"/>
|
||||||
<source>Reload its content from disk?</source>
|
<source>Reload its content from disk?</source>
|
||||||
<translation>是否重新读取它的内容?</translation>
|
<translation>是否重新读取它的内容?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2800"/>
|
<location filename="mainwindow.cpp" line="2827"/>
|
||||||
<source>File '%1' was removed.</source>
|
<source>File '%1' was removed.</source>
|
||||||
<translation>磁盘文件'%1'已被删除。</translation>
|
<translation>磁盘文件'%1'已被删除。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2800"/>
|
<location filename="mainwindow.cpp" line="2827"/>
|
||||||
<source>Keep it open?</source>
|
<source>Keep it open?</source>
|
||||||
<translation>是否保持它在小熊猫C++中打开的编辑窗口?</translation>
|
<translation>是否保持它在小熊猫C++中打开的编辑窗口?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="2876"/>
|
<location filename="mainwindow.cpp" line="2903"/>
|
||||||
<source>Open</source>
|
<source>Open</source>
|
||||||
<translation>打开</translation>
|
<translation>打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3208"/>
|
<location filename="mainwindow.cpp" line="3236"/>
|
||||||
<source>Compile Failed</source>
|
<source>Compile Failed</source>
|
||||||
<translation>编译失败</translation>
|
<translation>编译失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3213"/>
|
<location filename="mainwindow.cpp" line="3241"/>
|
||||||
<source>Run Failed</source>
|
<source>Run Failed</source>
|
||||||
<translation>运行失败</translation>
|
<translation>运行失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3405"/>
|
<location filename="mainwindow.cpp" line="3433"/>
|
||||||
<location filename="mainwindow.cpp" line="3419"/>
|
<location filename="mainwindow.cpp" line="3447"/>
|
||||||
<source>Confirm Convertion</source>
|
<source>Confirm Convertion</source>
|
||||||
<translation>确认转换</translation>
|
<translation>确认转换</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3406"/>
|
<location filename="mainwindow.cpp" line="3434"/>
|
||||||
<location filename="mainwindow.cpp" line="3420"/>
|
<location filename="mainwindow.cpp" line="3448"/>
|
||||||
<source>The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue?</source>
|
<source>The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue?</source>
|
||||||
<translation>当前编辑器中的文件将会使用%1编码保存。<br />这项操作无法被撤回。<br />你确定要继续吗?</translation>
|
<translation>当前编辑器中的文件将会使用%1编码保存。<br />这项操作无法被撤回。<br />你确定要继续吗?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3586"/>
|
<location filename="mainwindow.cpp" line="3614"/>
|
||||||
<source>New Watch Expression</source>
|
<source>New Watch Expression</source>
|
||||||
<translation>新监视表达式</translation>
|
<translation>新监视表达式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3587"/>
|
<location filename="mainwindow.cpp" line="3615"/>
|
||||||
<source>Enter Watch Expression (it is recommended to use 'this->' for class members):</source>
|
<source>Enter Watch Expression (it is recommended to use 'this->' for class members):</source>
|
||||||
<translation>输入监视表达式</translation>
|
<translation>输入监视表达式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3643"/>
|
<location filename="mainwindow.cpp" line="3671"/>
|
||||||
<source>Parsing file %1 of %2: "%3"</source>
|
<source>Parsing file %1 of %2: "%3"</source>
|
||||||
<translation>(%1/%2)正在解析文件"%3"</translation>
|
<translation>(%1/%2)正在解析文件"%3"</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3665"/>
|
<location filename="mainwindow.cpp" line="3693"/>
|
||||||
<location filename="mainwindow.cpp" line="3671"/>
|
<location filename="mainwindow.cpp" line="3699"/>
|
||||||
<source>Done parsing %1 files in %2 seconds</source>
|
<source>Done parsing %1 files in %2 seconds</source>
|
||||||
<translation>完成%1个文件的解析,用时%2秒</translation>
|
<translation>完成%1个文件的解析,用时%2秒</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="3668"/>
|
<location filename="mainwindow.cpp" line="3696"/>
|
||||||
<source>(%1 files per second)</source>
|
<source>(%1 files per second)</source>
|
||||||
<translation>(每秒%1个文件)</translation>
|
<translation>(每秒%1个文件)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -4363,67 +4368,67 @@ Are you really want to continue?</source>
|
||||||
<translation>无法保存文件'%1'.</translation>
|
<translation>无法保存文件'%1'.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="677"/>
|
<location filename="project.cpp" line="675"/>
|
||||||
<source>Error Load File</source>
|
<source>Error Load File</source>
|
||||||
<translation>载入文件错误</translation>
|
<translation>载入文件错误</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="786"/>
|
<location filename="project.cpp" line="784"/>
|
||||||
<source>File Exists</source>
|
<source>File Exists</source>
|
||||||
<translation>文件已存在</translation>
|
<translation>文件已存在</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="787"/>
|
<location filename="project.cpp" line="785"/>
|
||||||
<source>File '%1' is already in the project</source>
|
<source>File '%1' is already in the project</source>
|
||||||
<translation>文件'%1'已在项目中</translation>
|
<translation>文件'%1'已在项目中</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1152"/>
|
<location filename="project.cpp" line="1150"/>
|
||||||
<source>Project Updated</source>
|
<source>Project Updated</source>
|
||||||
<translation>项目已升级</translation>
|
<translation>项目已升级</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1153"/>
|
<location filename="project.cpp" line="1151"/>
|
||||||
<source>Your project was succesfully updated to a newer file format!</source>
|
<source>Your project was succesfully updated to a newer file format!</source>
|
||||||
<translation>已成功将项目升级到新的格式</translation>
|
<translation>已成功将项目升级到新的格式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1155"/>
|
<location filename="project.cpp" line="1153"/>
|
||||||
<source>If something has gone wrong, we kept a backup-file: '%1'...</source>
|
<source>If something has gone wrong, we kept a backup-file: '%1'...</source>
|
||||||
<translation>旧项目文件备份在'%1'。</translation>
|
<translation>旧项目文件备份在'%1'。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1331"/>
|
<location filename="project.cpp" line="1329"/>
|
||||||
<source>Settings need update</source>
|
<source>Settings need update</source>
|
||||||
<translation>设置需要更新</translation>
|
<translation>设置需要更新</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1332"/>
|
<location filename="project.cpp" line="1330"/>
|
||||||
<source>The compiler settings format of Dev-C++ has changed.</source>
|
<source>The compiler settings format of Dev-C++ has changed.</source>
|
||||||
<translation>Dev-C++的编译器设置格式已发生改变。</translation>
|
<translation>Dev-C++的编译器设置格式已发生改变。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1334"/>
|
<location filename="project.cpp" line="1332"/>
|
||||||
<source>Please update your settings at Project >> Project Options >> Compiler and save your project.</source>
|
<source>Please update your settings at Project >> Project Options >> Compiler and save your project.</source>
|
||||||
<translation>请在项目 >> 项目属性 >> 编译器设置中修改您的设置并保存您的项目</translation>
|
<translation>请在项目 >> 项目属性 >> 编译器设置中修改您的设置并保存您的项目</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1370"/>
|
<location filename="project.cpp" line="1368"/>
|
||||||
<source>Compiler not found</source>
|
<source>Compiler not found</source>
|
||||||
<translation>未找到编译器</translation>
|
<translation>未找到编译器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1371"/>
|
<location filename="project.cpp" line="1369"/>
|
||||||
<source>The compiler set you have selected for this project, no longer exists.</source>
|
<source>The compiler set you have selected for this project, no longer exists.</source>
|
||||||
<translation>您为该项目设置的编译器不存在。</translation>
|
<translation>您为该项目设置的编译器不存在。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1373"/>
|
<location filename="project.cpp" line="1371"/>
|
||||||
<source>It will be substituted by the global compiler set.</source>
|
<source>It will be substituted by the global compiler set.</source>
|
||||||
<translation>它将会被全局编译器设置代替。</translation>
|
<translation>它将会被全局编译器设置代替。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1403"/>
|
<location filename="project.cpp" line="1410"/>
|
||||||
<source>Developed using the Red Panda Dev-C++ IDE</source>
|
<source>Developed using the Red Panda Dev-C++ IDE</source>
|
||||||
<translation>使用小熊猫Dev-C++编辑器开发</translation>
|
<translation>使用小熊猫Dev-C++编辑器开发</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -4814,24 +4819,24 @@ Are you really want to continue?</source>
|
||||||
<context>
|
<context>
|
||||||
<name>ProjectModel</name>
|
<name>ProjectModel</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1903"/>
|
<location filename="project.cpp" line="1910"/>
|
||||||
<source>File exists</source>
|
<source>File exists</source>
|
||||||
<translation>文件已存在</translation>
|
<translation>文件已存在</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1904"/>
|
<location filename="project.cpp" line="1911"/>
|
||||||
<source>File '%1' already exists. Delete it now?</source>
|
<source>File '%1' already exists. Delete it now?</source>
|
||||||
<translation>文件'%1'已存在。是否删除?</translation>
|
<translation>文件'%1'已存在。是否删除?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1922"/>
|
<location filename="project.cpp" line="1929"/>
|
||||||
<location filename="project.cpp" line="1942"/>
|
<location filename="project.cpp" line="1949"/>
|
||||||
<source>Remove failed</source>
|
<source>Remove failed</source>
|
||||||
<translation>删除失败</translation>
|
<translation>删除失败</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="project.cpp" line="1923"/>
|
<location filename="project.cpp" line="1930"/>
|
||||||
<location filename="project.cpp" line="1943"/>
|
<location filename="project.cpp" line="1950"/>
|
||||||
<source>Failed to remove file '%1'</source>
|
<source>Failed to remove file '%1'</source>
|
||||||
<translation>无法删除文件'%1'</translation>
|
<translation>无法删除文件'%1'</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -5672,12 +5677,12 @@ Are you really want to continue?</source>
|
||||||
<translation>无标题</translation>
|
<translation>无标题</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="parser/cppparser.cpp" line="887"/>
|
<location filename="parser/cppparser.cpp" line="888"/>
|
||||||
<source>constructor</source>
|
<source>constructor</source>
|
||||||
<translation>构造函数</translation>
|
<translation>构造函数</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="parser/cppparser.cpp" line="894"/>
|
<location filename="parser/cppparser.cpp" line="895"/>
|
||||||
<source>destructor</source>
|
<source>destructor</source>
|
||||||
<translation>析构函数</translation>
|
<translation>析构函数</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -6090,7 +6095,7 @@ Are you really want to continue?</source>
|
||||||
<translation>自动链接</translation>
|
<translation>自动链接</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4780"/>
|
<location filename="mainwindow.cpp" line="4809"/>
|
||||||
<location filename="settingsdialog/settingsdialog.cpp" line="130"/>
|
<location filename="settingsdialog/settingsdialog.cpp" line="130"/>
|
||||||
<location filename="settingsdialog/settingsdialog.cpp" line="174"/>
|
<location filename="settingsdialog/settingsdialog.cpp" line="174"/>
|
||||||
<location filename="settingsdialog/settingsdialog.cpp" line="178"/>
|
<location filename="settingsdialog/settingsdialog.cpp" line="178"/>
|
||||||
|
@ -6166,7 +6171,7 @@ Are you really want to continue?</source>
|
||||||
<translation>杂项</translation>
|
<translation>杂项</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="mainwindow.cpp" line="4781"/>
|
<location filename="mainwindow.cpp" line="4810"/>
|
||||||
<location filename="settingsdialog/settingsdialog.cpp" line="174"/>
|
<location filename="settingsdialog/settingsdialog.cpp" line="174"/>
|
||||||
<source>Program Runner</source>
|
<source>Program Runner</source>
|
||||||
<translation>程序运行</translation>
|
<translation>程序运行</translation>
|
||||||
|
|
|
@ -166,6 +166,7 @@ public:
|
||||||
void print();
|
void print();
|
||||||
void exportAsRTF(const QString& rtfFilename);
|
void exportAsRTF(const QString& rtfFilename);
|
||||||
void exportAsHTML(const QString& htmlFilename);
|
void exportAsHTML(const QString& htmlFilename);
|
||||||
|
void resetBreakpoints();
|
||||||
|
|
||||||
const PCppParser &parser();
|
const PCppParser &parser();
|
||||||
|
|
||||||
|
@ -182,7 +183,6 @@ private slots:
|
||||||
private:
|
private:
|
||||||
bool isBraceChar(QChar ch);
|
bool isBraceChar(QChar ch);
|
||||||
void resetBookmarks();
|
void resetBookmarks();
|
||||||
void resetBreakpoints();
|
|
||||||
QChar getCurrentChar();
|
QChar getCurrentChar();
|
||||||
bool handleSymbolCompletion(QChar key);
|
bool handleSymbolCompletion(QChar key);
|
||||||
bool handleParentheseCompletion();
|
bool handleParentheseCompletion();
|
||||||
|
|
|
@ -1479,7 +1479,7 @@ void MainWindow::prepareDebugger()
|
||||||
// Focus on the debugging buttons
|
// Focus on the debugging buttons
|
||||||
ui->tabInfos->setCurrentWidget(ui->tabWatch);
|
ui->tabInfos->setCurrentWidget(ui->tabWatch);
|
||||||
ui->tabMessages->setCurrentWidget(ui->tabDebug);
|
ui->tabMessages->setCurrentWidget(ui->tabDebug);
|
||||||
ui->debugViews->setCurrentWidget(ui->tabDebugConsole);
|
ui->debugViews->setCurrentWidget(ui->tabLocals);
|
||||||
openCloseBottomPanel(true);
|
openCloseBottomPanel(true);
|
||||||
openCloseLeftPanel(true);
|
openCloseLeftPanel(true);
|
||||||
|
|
||||||
|
@ -1926,8 +1926,32 @@ void MainWindow::buildContextMenus()
|
||||||
tr("Remove All Breakpoints"),
|
tr("Remove All Breakpoints"),
|
||||||
ui->tblBreakpoints);
|
ui->tblBreakpoints);
|
||||||
connect(mBreakpointViewRemoveAllAction,&QAction::triggered,
|
connect(mBreakpointViewRemoveAllAction,&QAction::triggered,
|
||||||
[](){
|
[this](){
|
||||||
pMainWindow->debugger()->deleteBreakpoints();
|
pMainWindow->debugger()->deleteBreakpoints();
|
||||||
|
for (int i=0;i<mEditorList->pageCount();i++) {
|
||||||
|
Editor * e = (*(mEditorList))[i];
|
||||||
|
if (e) {
|
||||||
|
e->resetBreakpoints();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
mBreakpointViewRemoveAction = createActionFor(
|
||||||
|
tr("Remove Breakpoint"),
|
||||||
|
ui->tblBreakpoints);
|
||||||
|
connect(mBreakpointViewRemoveAction,&QAction::triggered,
|
||||||
|
[this](){
|
||||||
|
int index =ui->tblBreakpoints->selectionModel()->currentIndex().row();
|
||||||
|
|
||||||
|
PBreakpoint breakpoint = debugger()->breakpointModel()->breakpoint(index);
|
||||||
|
if (breakpoint) {
|
||||||
|
Editor * e = mEditorList->getOpenedEditorByFilename(breakpoint->filename);
|
||||||
|
if (e) {
|
||||||
|
if (e->hasBreakpoint(breakpoint->line))
|
||||||
|
e->toggleBreakpoint(breakpoint->line);
|
||||||
|
} else {
|
||||||
|
debugger()->breakpointModel()->removeBreakpoint(index);
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//context menu signal for project view
|
//context menu signal for project view
|
||||||
|
@ -2354,6 +2378,9 @@ void MainWindow::onBreakpointsViewContextMenu(const QPoint &pos)
|
||||||
QMenu menu(this);
|
QMenu menu(this);
|
||||||
menu.addAction(mBreakpointViewPropertyAction);
|
menu.addAction(mBreakpointViewPropertyAction);
|
||||||
menu.addAction(mBreakpointViewRemoveAllAction);
|
menu.addAction(mBreakpointViewRemoveAllAction);
|
||||||
|
menu.addAction(mBreakpointViewRemoveAction);
|
||||||
|
mBreakpointViewPropertyAction->setEnabled(ui->tblBreakpoints->currentIndex().isValid());
|
||||||
|
mBreakpointViewRemoveAction->setEnabled(ui->tblBreakpoints->currentIndex().isValid());
|
||||||
menu.exec(ui->tblBreakpoints->mapToGlobal(pos));
|
menu.exec(ui->tblBreakpoints->mapToGlobal(pos));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -504,6 +504,7 @@ private:
|
||||||
//actions for breakpoint view
|
//actions for breakpoint view
|
||||||
QAction * mBreakpointViewPropertyAction;
|
QAction * mBreakpointViewPropertyAction;
|
||||||
QAction * mBreakpointViewRemoveAllAction;
|
QAction * mBreakpointViewRemoveAllAction;
|
||||||
|
QAction * mBreakpointViewRemoveAction;
|
||||||
|
|
||||||
//actions for project view
|
//actions for project view
|
||||||
QAction * mProject_Add_Folder;
|
QAction * mProject_Add_Folder;
|
||||||
|
|
|
@ -549,7 +549,7 @@
|
||||||
<enum>QTabWidget::North</enum>
|
<enum>QTabWidget::North</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>2</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tabDebugConsole">
|
<widget class="QWidget" name="tabDebugConsole">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -955,7 +955,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>946</width>
|
<width>946</width>
|
||||||
<height>22</height>
|
<height>25</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
|
|
Loading…
Reference in New Issue