From 655bad67150051f42b15be0427fae03b7a181d2b Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Fri, 24 Dec 2021 09:17:28 +0800 Subject: [PATCH] - enhancement: select icon sets in options dialog ( but we have only 1 icon set now...) --- NEWS.md | 5 + RedPandaIDE/RedPandaIDE_zh_CN.qm | Bin 107911 -> 108342 bytes RedPandaIDE/RedPandaIDE_zh_CN.ts | 631 +++++++++--------- RedPandaIDE/icons.qrc | 201 +++--- RedPandaIDE/iconsmanager.cpp | 6 +- RedPandaIDE/mainwindow.cpp | 8 +- RedPandaIDE/settings.cpp | 23 + RedPandaIDE/settings.h | 4 + .../environmentappearencewidget.cpp | 6 +- .../environmentappearencewidget.ui | 113 +++- 10 files changed, 550 insertions(+), 447 deletions(-) diff --git a/NEWS.md b/NEWS.md index 72a3c6e7..e3ac23c6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +Version 0.12.2 For Dev-C++ 7 Beta + - enhancement: auto find compiler sets in the PATH + - change: path for iconsets + - enhancement: select icon sets in options dialog ( but we have only 1 icon set now...) + Version 0.12.1 For Dev-C++ 7 Beta - fix: error when drag&drop in editors diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.qm b/RedPandaIDE/RedPandaIDE_zh_CN.qm index f456f4b90f64c1a0766af6bef981208389545848..ab0dc0f86ca568a416d2f4ca2834d9da35de0524 100644 GIT binary patch delta 10719 zcmZvicT^Nj6Yi^bXEx66s)&dPVn8t=hzUh7f}&zV6p$c6f&>LI!>Z_u0Z~~oV2&8k z7gWT63WyoSoFiaBeGQn?eb~9@JLjHr|N89?J3ZaiRZms*ka|&exJ5En9?SbcvOss+)=#>8#MstOkn zw_`fd>BGbwgLZD6^LU_W9b%80wMOi$GG0CBgxi22tCmte)U-$9!v zBHI^;?0!k4yN^hZLn1xbiX1gvq;Ct60V_lXX+(w;iVS-va{Lrfj|W9g6fZ=56B+Zb z$hamVCt_u_6H35V*K&$VNfOK-M&0 zywLKO$hLDu#_SO}tt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gXc(L=}g z4v!8WpZUn6S>|F7r%cXsX2E^WKvpnw&|EGvc7b`p^dZw^o1*+XW#%j?C|H@XT3Ha8 zZQW`4o+M^j$HFZ(a(u7Rad8RZ14hP1B#w*-9~v1J5k7wTjwIH=P^0?KLnD($#)tKe z92p%K!Qe&21uh7w0U;uSFOlFH85@}}8j?%@`_}~zjR%bh|DPXl9^sS5{~urX9{B&i l-q?5prB{6TgvhwWg#Yz7nJsTMDA-gIA91i>7gjOm{{cT(c_sh= diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.ts b/RedPandaIDE/RedPandaIDE_zh_CN.ts index ce86925a..e1260249 100644 --- a/RedPandaIDE/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/RedPandaIDE_zh_CN.ts @@ -556,13 +556,13 @@ Add - 添加 + 添加 Remove - 删除 + 删除 ... @@ -636,7 +636,7 @@ Remove - 删除 + 删除 Delete @@ -700,31 +700,31 @@ Auto Find Compilers - + 自动搜索编译器 Find Compiler in the Folder - + 在指定文件夹中搜索编译器 Add Blank Compiler Set - + 添加空白编译器设置 Rename - + 改名 Remove - 删除 + 删除 @@ -1823,30 +1823,40 @@ Are you really want to continue? 表单 - + Theme: 主题: - + + Icon Set: + 图标集: + + + Font: 字体: - + Language: 语言: - + *Needs restart *需要重启之后生效 - + Font Size: 大小: + + + English + 英语 + Simplified Chinese @@ -1886,31 +1896,32 @@ Are you really want to continue? + Open in browser 在文件浏览器中打开 - + Remove all custom settings and exit 删除所有的自定义设置并退出程序 - + Confirm 确认 - + Do you really want to delete all custom settings? 你真的要删除所有自定义设置吗? - + Error 错误 - + Failed to delete custom settings. 删除自定义设置失败 @@ -1957,7 +1968,7 @@ Are you really want to continue? ExecutableRunner - + The runner process '%1' failed to start. The runner process failed to start. 无法启动程序运行进程'%1'。 @@ -1967,17 +1978,17 @@ Are you really want to continue? 程序运行进程启动后崩溃。 - + The last waitFor...() function timed out. waitFor()函数等待超时。 - + An error occurred when attempting to write to the runner process. 在向程序运行进程写入内容时出错。 - + An error occurred when attempting to read from the runner process. 在从程序运行进程读取内容时出错。 @@ -2014,17 +2025,23 @@ Are you really want to continue? 将程序的标准输入重定向到下面的文件 - + + + Browse + 浏览 + + + Note: Debugger doesn't support this feature. 注意:由于gdb的bug,调试时不支持该功能 - + Choose input file 选择输入文件 - + All files (*.*) 所有文件 (*.*) @@ -2972,11 +2989,11 @@ Are you really want to continue? - - - - - + + + + + Issues 编译器 @@ -3052,7 +3069,7 @@ Are you really want to continue? - + Debug Console 调试主控台 @@ -3186,8 +3203,8 @@ Are you really want to continue? - - + + Compile 编译 @@ -3233,8 +3250,8 @@ Are you really want to continue? - - + + Copy 复制 @@ -3245,7 +3262,7 @@ Are you really want to continue? - + Paste 粘贴 @@ -3256,7 +3273,7 @@ Are you really want to continue? - + Select All 选择全部 @@ -3383,7 +3400,7 @@ Are you really want to continue? - + New Problem Set 新建试题集 @@ -3402,14 +3419,14 @@ Are you really want to continue? - + Save Problem Set 保存试题集 - + Load Problem Set 载入试题集 @@ -3749,7 +3766,7 @@ Are you really want to continue? - + Clear all breakpoints 删除所有断点 @@ -3850,7 +3867,7 @@ Are you really want to continue? - + Rename Symbol 重命名符号 @@ -3871,13 +3888,13 @@ Are you really want to continue? - + Export As RTF 导出为RTF - + Export As HTML 导出为HTML @@ -3997,7 +4014,7 @@ Are you really want to continue? - + Open Folder 打开文件夹 @@ -4007,7 +4024,7 @@ Are you really want to continue? 运行参数... - + File Encoding 文件编码 @@ -4017,32 +4034,32 @@ Are you really want to continue? 文件历史 - - + - + + Debugging 正在调试 - - + - + + Running 正在运行 - - + - + + Compiling 正在编译 @@ -4051,172 +4068,172 @@ Are you really want to continue? 行:%1 列:%2 已选择:%3 总行数:%4 总长度:%5 - + Line:%1 Col:%2 Selected:%3 Lines:%4 Length:%5 Line: %1 Col: %2 Selected: %3 Lines: %4 Length: %5 行: %1 列: %2 已选择 :%3 总行数: %4 总长度: %5 - + Read Only 只读 - + Insert 插入 - + Overwrite 覆写 - + Close project 关闭项目 - + Are you sure you want to close %1? 你确定要关闭'%1'吗? - - + + Confirm 确认 - - - + + + Source file is not compiled. 源文件尚未编译。 - - + + Compile now? 现在编译? - - + + Source file is more recent than executable. 源文件比可执行程序新。 - + Recompile now? 重新编译? - + No compiler set 无编译器设置 - + No compiler set is configured. 没有配置编译器设置。 - + Can't start debugging. 无法启动调试器 - - + + Enable debugging 启用调试参数 - - + + You have not enabled debugging info (-g3) and/or stripped it from the executable (-s) in Compiler Options.<BR /><BR />Do you want to correct this now? 当前编译设置中未启用调试选项(-g3),或启用了信息剥除选项(-s)<br /><br/>是否纠正这一问题? - + Project not built 项目尚未构建 - + Project hasn't been built. Build it now? 项目尚未构建。是否构建? - + Host applcation missing 宿主程序不存在 - + DLL project needs a host application to run. 动态链接库(DLL)需要一个宿主程序来运行。 - + But it's missing. 但它不存在。 - + Host application not exists 宿主程序不存在 - + Host application file '%1' doesn't exist. 宿主程序'%1'不存在。 - + Recompile? 重新编译? - - + + Save last open info error 保存上次打开信息失败 - + Can't remove old last open information file '%1' 无法删除旧上次打开信息文件'%1' - + Can't save last open info file '%1' 无法保存上次打开信息文件'%1' - + Load last open info error 载入上次打开信息失败 - + Can't load last open info file '%1' 无法载入上次打开信息文件'%1' - + Show detail debug logs 显示详细调试器日志 - + Copy all 全部复制 - - + + Clear 清除 @@ -4232,7 +4249,7 @@ Are you really want to continue? - + Problem Set %1 试题集%1 @@ -4253,73 +4270,73 @@ Are you really want to continue? 或者选择使用其他的网络端口。 - + Red Panda Dev-C++ 小熊猫Dev-C++ - - + + Rebuild Project 重新构建项目 - - + + Project has been modified, do you want to rebuild it? 项目已经被修改过,是否需要重新构建? - + Auto Save Error 自动保存出错 - + Auto save "%1" to "%2" failed:%3 自动保存"%1"到"%2"失败:%3 - + Properties... 试题属性... - + Set Problem Set Name 设置试题集名称 - + Problem Set Name: 试题集名称: - + Remove 删除 - + Remove All Bookmarks 删除全部书签 - + Modify Description 修改描述 - - - + + + Bookmark Description 书签描述 - - - + + + Description: 描述: @@ -4328,363 +4345,363 @@ Are you really want to continue? 在调试主控台中显示调试器输出 - + Remove this search 清除这次搜索 - + Clear all searches 删除所有搜索 - + Breakpoint condition... 断点条件... - + Break point condition 断点条件 - + Enter the condition of the breakpoint: 输入当前断点的生效条件: - + Remove All Breakpoints Remove all breakpoints 删除所有断点 - + Remove Breakpoint 删除当前断点 - + Rename File 重命名文件 - - + + Add Folder 添加文件夹 - + New folder 新文件夹 - + Folder name: 文件夹: - + Rename Folder 重命名 - + Remove Folder 删除文件夹 - + Sort By Type 按类型排序 - + Sort alphabetically 按名称排序 - + Show inherited members 显示继承的成员 - + Goto declaration 跳转到声明处 - + Goto definition 跳转到定义处 - + Open in Editor 在编辑器中打开 - + Open in External Program 使用外部程序打开 - + Open in Terminal 在终端中打开 - + Open in Windows Explorer 在Windows浏览器中打开 - + Character sets 字符集 - + %1 files autosaved 已自动保存%1个文件 - + Set answer to... 设置答案源代码... - + select other file... 选择其他文件... - + Select Answer Source File 选择答案源代码文件 - + C/C++Source Files (*.c *.cpp *.cc *.cxx) C/C++Source Files (*.c *.cpp *.cc *.cxx C/C++源代码文件 (*.c *.cpp *.cc *.cxx) - + Save project 保存项目 - + The project '%1' has modifications. 项目'%1'有改动。 - - + + Do you want to save it? 需要保存吗? - - + + File Changed 文件已发生变化 - + New Project File? 新建项目文件? - + Do you want to add the new file to the project? 您是否要将新建的文件加入项目? - - - - + + + + Save Error 保存失败 - + Change Project Compiler Set 改变项目编译器配置集 - + Change the project's compiler set will lose all custom compiler set options. 改变项目的编译器配置集会导致所有的自定义编译器选项被重置。 - + Do you really want to do that? 你真的想要做那些吗? - + Do you really want to clear all breakpoints in this file? 您真的要清除该文件的所有断点吗? - + New project 新建项目 - + Close %1 and start new project? 关闭'%1'以打开新项目? - + Folder not exist 文件夹不存在 - + Folder '%1' doesn't exist. Create it now? 文件夹'%1'不存在。是否创建? - + Can't create folder 无法创建文件夹 - + Failed to create folder '%1'. 创建文件夹'%1'失败。 - + Save new project as - + Red panda Dev-C++ project file (*.dev) 小熊猫Dev-C++项目文件 (*.dev) - + New project fail 新建项目失败 - + Can't assign project template 无法使用模板创建项目 - + Remove file 删除文件 - + Remove the file from disk? 同时从硬盘上删除文件? - + untitled 无标题 - + New Project File Name 新的项目文件名 - + File Name: 文件名: - + File Already Exists! 文件已存在! - + File '%1' already exists! 文件'%1'已经存在! - + Add to project 添加到项目 - + Rename Error 重命名出错 - + Symbol '%1' is defined in system header. 符号'%1'在系统头文件中定义,无法修改。 - + New Name 新名称 - - + + Replace Error 替换出错 - + Can't open file '%1' for replace! 无法打开文件'%1'进行替换! - + Contents has changed since last search! 内容和上次查找时不一致。 - + Rich Text Format Files (*.rtf) RTF格式文件 (*.rtf) - + HTML Files (*.html) HTML文件 (*.html) - + The current problem set is not empty. 当前的试题集不是空的。 - + Problem %1 试题%1 - - + + Problem Set Files (*.pbs) 试题集文件 (*.pbs) - + Load Error 载入失败 - - + + Problem Case %1 试题案例%1 @@ -4695,15 +4712,15 @@ Are you really want to continue? - - - - - - - - - + + + + + + + + + Error 错误 @@ -4713,75 +4730,75 @@ Are you really want to continue? 项目历史 - + File '%1' was changed. 磁盘文件'%1'已被修改。 - + Reload its content from disk? 是否重新读取它的内容? - + File '%1' was removed. 磁盘文件'%1'已被删除。 - + Keep it open? 是否保持它在小熊猫C++中打开的编辑窗口? - + Open 打开 - + Compile Failed 编译失败 - + Run Failed 运行失败 - - + + Confirm Convertion 确认转换 - - + + The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue? 当前编辑器中的文件将会使用%1编码保存。<br />这项操作无法被撤回。<br />你确定要继续吗? - + New Watch Expression 新监视表达式 - + Enter Watch Expression (it is recommended to use 'this->' for class members): 输入监视表达式 - + Parsing file %1 of %2: "%3" (%1/%2)正在解析文件"%3" - - + + Done parsing %1 files in %2 seconds 完成%1个文件的解析,用时%2秒 - + (%1 files per second) (每秒%1个文件) @@ -4847,22 +4864,22 @@ Are you really want to continue? OJProblemCasesRunner - + The runner process '%1' failed to start. 无法启动程序运行进程'%1'。 - + The last waitFor...() function timed out. waitFor()函数等待超时。 - + An error occurred when attempting to write to the runner process. 在向程序运行进程写入内容时出错。 - + An error occurred when attempting to read from the runner process. 在从程序运行进程读取内容时出错。 @@ -5125,17 +5142,23 @@ Are you really want to continue? 表单 - + + + Browse + 浏览 + + + Host application for DLL: DLL文件的宿主程序: - + Choose host application 选择宿主程序 - + All files (*.*) 所有文件 (*.*) @@ -5313,27 +5336,27 @@ Are you really want to continue? 输出文件: - + %1 files [ %2 sources, %3 headers, %4 resources, %5 other files ] 共%1个文件[%2个源程序文件,%3个头文件,%4个资源文件,%5个其他文件] - + Can't remove old icon file 无法删除旧图标文件 - + Can't remove old icon file '%1' 无法删除旧图标文件'%1' - + Select icon file 选择图标文件 - + Icon Files (*.ico) 图标文件 (*.ico) @@ -5352,26 +5375,27 @@ Are you really want to continue? + Browse 浏览 - + Information about using a custom make file 关于自定义Makefile - + Include the following files into the makefile: 在Makefile中包含下列文件: - + Custom makefile 自定义Makefile - + All files (*.*) 所有文件 (*.*) @@ -5410,7 +5434,7 @@ Are you really want to continue? - + Executable output directory 可执行文件输出文件夹 @@ -5437,17 +5461,17 @@ Are you really want to continue? 自定义可执行文件名 - + Object files output directory 目标文件输出文件夹 - + Log file 日志文件 - + All files (*.*) 所有文件 (*.*) @@ -5466,21 +5490,22 @@ Are you really want to continue? + Browse 浏览 - + <html><head/><body><p>For more information about gcc precompiled header, see:</p><p><a href="https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html"><span style=" text-decoration: underline; color:#007af4;">https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html</span></a></p></body></html> <html><head/><body><p>请问访问下面网站以了解有关gcc预定义头文件的信息:</p><p><a href="https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html"><span style=" text-decoration: underline; color:#007af4;">https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html</span></a></p></body></html> - + Precompiled header 预定义头文件 - + header files (*.h) header files (*.h 文件夹 (*.h) @@ -5887,33 +5912,33 @@ Are you really want to continue? 只生成汇编代码(-S) - - + + Confirm 确认 - + The following problems were found during validation of compiler set "%1": 在验证编译器设置"%1"时遇到了下列问题: - + Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths? 是否让小熊猫C++删除这些配置,并尝试重新建立配置? - + Leaving those directories will lead to problems during compilation.<br /><br />Unless you know exactly what you're doing, it is recommended that you click Yes. 如果仍然保留这些设置,可能会导致编译错误。<br /><br />请选择“是”,除非您清楚的知道选择“否”的后果, - + Compiler set not configuared. 未配置编译器设置。 - + Would you like Red Panda C++ to search for compilers in the following locations: <BR />'%1'<BR />'%2'? 您需要小熊猫C++在下列位置搜索编译器吗:<br />%1<br />%2 @@ -6633,7 +6658,7 @@ Are you really want to continue? SettingsDialog - + Options 选项 @@ -6659,69 +6684,68 @@ Are you really want to continue? 取消 - + Appearence 外观 - + Environment 环境 - + File Association 文件关联 - + Shortcuts 快捷键 - + Folders 文件夹 - + Performance 性能 - - + + Compiler Set 编译器配置集 - + Compiler 编译器 - + Auto Link 自动链接 - - - - + + + - + + General 通用 - @@ -6732,95 +6756,95 @@ Are you really want to continue? + Editor 编辑器 - + Font 字体 - + Copy & Export 复制/导出 - + Color 配色 - + Code Completion 代码补全 - + Symbol Completion 符号补全 - + Snippet 代码模板 - + Auto Syntax Checking 自动语法检查 - + Tooltips 信息提示 - + Auto save 自动保存 - + Misc 杂项 - - - + + + Program Runner 程序运行 - - + + Problem Set 试题集 - + Debugger 调试器 - + Code Formatter 代码排版 - + Tools 工具 - + Project Options 项目选项 - @@ -6830,56 +6854,57 @@ Are you really want to continue? + Project 项目 - + Files 文件 - + Custom Compile options 自定义编译选项 - + Directories 文件夹 - + Precompiled Header 预编译头文件 - + Makefile Makefile - + Output 输出 - + DLL host DLL宿主 - + Version info 版本信息 - + Save Changes 保存修改 - + There are changes in the settings, do you want to save them before swtich to other page? 本页中有尚未保存的设置修改,是否保存后再切换到其他页? @@ -7137,27 +7162,27 @@ Are you really want to continue? 插入宏指令 - + Save Changes? 保存修改? - + Do you want to save changes to the current tool? 您需要保存对当前工具的修改吗? - + Choose Folder 选择文件夹 - + Select program 选择程序 - + Executable files (*.exe) 可执行文件 (*.exe) diff --git a/RedPandaIDE/icons.qrc b/RedPandaIDE/icons.qrc index 05598c4d..547cd9d3 100644 --- a/RedPandaIDE/icons.qrc +++ b/RedPandaIDE/icons.qrc @@ -107,106 +107,107 @@ images/associations/obj.ico images/associations/rc.ico images/associations/template.ico - images/editor/breakpoint.svg - images/editor/bookmark.svg - images/editor/currentline.svg - images/editor/syntaxerror.svg - images/editor/syntaxwarning.svg - images/classparser/class.svg - images/classparser/define.svg - images/classparser/enum.svg - images/classparser/global.svg - images/classparser/global_method.svg - images/classparser/method_inherited.svg - images/classparser/method_inherited_protected.svg - images/classparser/method_private.svg - images/classparser/method_protected.svg - images/classparser/method_public.svg - images/classparser/namespace.svg - images/classparser/static_method.svg - images/classparser/static_var.svg - images/classparser/type.svg - images/classparser/var_inherited.svg - images/classparser/var_inherited_protected.svg - images/classparser/var_private.svg - images/classparser/var_protected.svg - images/classparser/var_public.svg - images/newlook/01File-01New.svg - images/newlook/01File-02Open.svg - images/newlook/01File-03Save.svg - images/newlook/01File-04SaveAs.svg - images/newlook/01File-05SaveAll.svg - images/newlook/01File-06Close.svg - images/newlook/01File-07CloseAll.svg - images/newlook/01File-08Print.svg - images/newlook/01File-09Open_Folder.svg - images/newlook/02Project_01New.svg - images/newlook/02Project_02Save.svg - images/newlook/02Project_03Close.svg - images/newlook/02Project_04NewFile.svg - images/newlook/02Project_05AddFile.svg - images/newlook/02Project_06RemoveFile.svg - images/newlook/02Project_07Properties.svg - images/newlook/03Edit_01Undo.svg - images/newlook/03Edit_02Redo.svg - images/newlook/03Edit_03Cut.svg - images/newlook/03Edit_04Copy.svg - images/newlook/03Edit_05Paste.svg - images/newlook/03Edit_06Indent.svg - images/newlook/03Edit_07Unindent.svg - images/newlook/03Edit_08Search.svg - images/newlook/03Edit_09Replace.svg - images/newlook/03Edit_10SearchInFiles.svg - images/newlook/04Code-01Back.svg - images/newlook/04Code-02Forward.svg - images/newlook/04Code-03AddBookmark.svg - images/newlook/04Code-04RemoveBookmark.svg - images/newlook/04Code-05Reformat.svg - images/newlook/05Run-01Compile.svg - images/newlook/05Run-02CompileRun.svg - images/newlook/05Run-03Run.svg - images/newlook/05Run-04Rebuild.svg - images/newlook/05Run-05Options.svg - images/newlook/05Run-06Debug.svg - images/newlook/05Run-07StepOver.svg - images/newlook/05Run-08StepInto.svg - images/newlook/05Run-08StepOut.svg - images/newlook/05Run-09RunToCursor.svg - images/newlook/05Run-10Continue.svg - images/newlook/05Run-11Stop.svg - images/newlook/05Run-12AddWatch.svg - images/newlook/05Run-13RemoveWatch.svg - images/newlook/00Misc-01Back.svg - images/newlook/00Misc-02Forward.svg - images/newlook/00Misc-03Add.svg - images/newlook/00Misc-04Remove.svg - images/newlook/00Misc-05Gear.svg - images/newlook/00Misc-06Cross.svg - images/newlook/00Misc-07Folder.svg - images/newlook/00Misc-08Term.svg - images/newlook/00Misc-09Clean.svg - images/newlook/06View-01Maximum.svg - images/newlook/07Help-01About.svg - images/newlook/01File-10FileProperties.svg - images/newlook/01File-11Locate.svg - images/newlook/03Edit-11SortByName.svg - images/newlook/03Edit-12SortByType.svg - images/newlook/03Edit-13ShowInherited.svg - images/newlook/06View-02ClassBrowser.svg - images/newlook/08Problem_01Problem.svg - images/newlook/08Problem_02ProblemSet.svg - images/newlook/08Problem_03Properties.svg - images/newlook/08Problem_04EditSource.svg - images/newlook/08Problem_05RunCases.svg - images/newlook/06View-03Files.svg - images/newlook/06View-04CompileLog.svg - images/newlook/06View-05Bookmark.svg - images/newlook/06View-06Todo.svg - images/newlook/05Run-14StepOverInstruction.svg - images/newlook/05Run-15StepIntoInstruction.svg images/dark-close.svg - images/newlook/00Misc-10Check.svg - images/newlook/00Misc-11Rename.svg - images/newlook/00Misc-12Help.svg + images/newlook/classparser/class.svg + images/newlook/classparser/define.svg + images/newlook/classparser/enum.svg + images/newlook/classparser/global.svg + images/newlook/classparser/global_method.svg + images/newlook/classparser/method_inherited.svg + images/newlook/classparser/method_inherited_protected.svg + images/newlook/classparser/method_private.svg + images/newlook/classparser/method_protected.svg + images/newlook/classparser/method_public.svg + images/newlook/classparser/namespace.svg + images/newlook/classparser/static_method.svg + images/newlook/classparser/static_var.svg + images/newlook/classparser/type.svg + images/newlook/classparser/var_inherited.svg + images/newlook/classparser/var_inherited_protected.svg + images/newlook/classparser/var_private.svg + images/newlook/classparser/var_protected.svg + images/newlook/classparser/var_public.svg + images/newlook/editor/bookmark.svg + images/newlook/editor/breakpoint.svg + images/newlook/editor/currentline.svg + images/newlook/editor/syntaxerror.svg + images/newlook/editor/syntaxwarning.svg + images/newlook/actions/00Misc-01Back.svg + images/newlook/actions/00Misc-02Forward.svg + images/newlook/actions/00Misc-03Add.svg + images/newlook/actions/00Misc-04Remove.svg + images/newlook/actions/00Misc-05Gear.svg + images/newlook/actions/00Misc-06Cross.svg + images/newlook/actions/00Misc-07Folder.svg + images/newlook/actions/00Misc-08Term.svg + images/newlook/actions/00Misc-09Clean.svg + images/newlook/actions/00Misc-10Check.svg + images/newlook/actions/00Misc-11Rename.svg + images/newlook/actions/00Misc-12Help.svg + images/newlook/actions/01File-01New.svg + images/newlook/actions/01File-02Open.svg + images/newlook/actions/01File-03Save.svg + images/newlook/actions/01File-04SaveAs.svg + images/newlook/actions/01File-05SaveAll.svg + images/newlook/actions/01File-06Close.svg + images/newlook/actions/01File-07CloseAll.svg + images/newlook/actions/01File-08Print.svg + images/newlook/actions/01File-09Open_Folder.svg + images/newlook/actions/01File-10FileProperties.svg + images/newlook/actions/01File-11Locate.svg + images/newlook/actions/02Project_01New.svg + images/newlook/actions/02Project_02Save.svg + images/newlook/actions/02Project_03Close.svg + images/newlook/actions/02Project_04NewFile.svg + images/newlook/actions/02Project_05AddFile.svg + images/newlook/actions/02Project_06RemoveFile.svg + images/newlook/actions/02Project_07Properties.svg + images/newlook/actions/03Edit_01Undo.svg + images/newlook/actions/03Edit_02Redo.svg + images/newlook/actions/03Edit_03Cut.svg + images/newlook/actions/03Edit_04Copy.svg + images/newlook/actions/03Edit_05Paste.svg + images/newlook/actions/03Edit_06Indent.svg + images/newlook/actions/03Edit_07Unindent.svg + images/newlook/actions/03Edit_08Search.svg + images/newlook/actions/03Edit_09Replace.svg + images/newlook/actions/03Edit_10SearchInFiles.svg + images/newlook/actions/03Edit-11SortByName.svg + images/newlook/actions/03Edit-12ShowInherited.svg + images/newlook/actions/03Edit-12SortByType.svg + images/newlook/actions/03Edit-13ShowInherited.svg + images/newlook/actions/04Code-01Back.svg + images/newlook/actions/04Code-02Forward.svg + images/newlook/actions/04Code-03AddBookmark.svg + images/newlook/actions/04Code-04RemoveBookmark.svg + images/newlook/actions/04Code-05Reformat.svg + images/newlook/actions/05Run-01Compile.svg + images/newlook/actions/05Run-02CompileRun.svg + images/newlook/actions/05Run-03Run.svg + images/newlook/actions/05Run-04Rebuild.svg + images/newlook/actions/05Run-05Options.svg + images/newlook/actions/05Run-06Debug.svg + images/newlook/actions/05Run-07StepOver.svg + images/newlook/actions/05Run-08StepInto.svg + images/newlook/actions/05Run-08StepOut.svg + images/newlook/actions/05Run-09RunToCursor.svg + images/newlook/actions/05Run-10Continue.svg + images/newlook/actions/05Run-11Stop.svg + images/newlook/actions/05Run-12AddWatch.svg + images/newlook/actions/05Run-13RemoveWatch.svg + images/newlook/actions/05Run-14StepOverInstruction.svg + images/newlook/actions/05Run-15StepIntoInstruction.svg + images/newlook/actions/06View-01Maximum.svg + images/newlook/actions/06View-02ClassBrowser.svg + images/newlook/actions/06View-03Files.svg + images/newlook/actions/06View-04CompileLog.svg + images/newlook/actions/06View-05Bookmark.svg + images/newlook/actions/06View-06Todo.svg + images/newlook/actions/07Help-01About.svg + images/newlook/actions/08Problem_01Problem.svg + images/newlook/actions/08Problem_02ProblemSet.svg + images/newlook/actions/08Problem_03Properties.svg + images/newlook/actions/08Problem_04EditSource.svg + images/newlook/actions/08Problem_05RunCases.svg diff --git a/RedPandaIDE/iconsmanager.cpp b/RedPandaIDE/iconsmanager.cpp index 8442aea9..aa6367ab 100644 --- a/RedPandaIDE/iconsmanager.cpp +++ b/RedPandaIDE/iconsmanager.cpp @@ -16,7 +16,7 @@ IconsManager::IconsManager(QObject *parent) : QObject(parent) void IconsManager::updateEditorGuttorIcons(const QString& iconSet,int size) { - QString iconFolder = QString(":/icons/images/%1/").arg(iconSet); + QString iconFolder = QString(":/icons/images/%1/editor/").arg(iconSet); mIconPixmaps.insert(GUTTER_BREAKPOINT, createSVGIcon(iconFolder+"breakpoint.svg",size,size)); mIconPixmaps.insert(GUTTER_SYNTAX_ERROR, createSVGIcon(iconFolder+"syntaxerror.svg",size,size)); mIconPixmaps.insert(GUTTER_SYNTAX_WARNING,createSVGIcon(iconFolder+"syntaxwarning.svg",size,size)); @@ -26,7 +26,7 @@ void IconsManager::updateEditorGuttorIcons(const QString& iconSet,int size) void IconsManager::updateParserIcons(const QString &iconSet, int size) { - QString iconFolder = QString(":/icons/images/%1/").arg(iconSet); + QString iconFolder = QString(":/icons/images/%1/classparser/").arg(iconSet); mIconPixmaps.insert(PARSER_TYPE, createSVGIcon(iconFolder+"type.svg",size,size)); mIconPixmaps.insert(PARSER_CLASS, createSVGIcon(iconFolder+"class.svg",size,size)); mIconPixmaps.insert(PARSER_NAMESPACE, createSVGIcon(iconFolder+"namespace.svg",size,size)); @@ -49,7 +49,7 @@ void IconsManager::updateParserIcons(const QString &iconSet, int size) void IconsManager::updateActionIcons(const QString iconSet, int size) { - QString iconFolder = QString(":/icons/images/%1/").arg(iconSet); + QString iconFolder = QString(":/icons/images/%1/actions/").arg(iconSet); mActionIconSize = QSize(size,size); mIconPixmaps.insert(ACTION_MISC_BACK, createSVGIcon(iconFolder+"00Misc-01Back.svg",size,size)); mIconPixmaps.insert(ACTION_MISC_FORWARD, createSVGIcon(iconFolder+"00Misc-02Forward.svg",size,size)); diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 078d5ae7..1ee53929 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -325,7 +325,7 @@ void MainWindow::updateForEncodingInfo() { void MainWindow::updateEditorSettings() { - pIconsManager->updateEditorGuttorIcons("editor",pointToPixel(pSettings->editor().fontSize())); + pIconsManager->updateEditorGuttorIcons(pSettings->environment().iconSet(),pointToPixel(pSettings->editor().fontSize())); mEditorList->applySettings(); } @@ -550,7 +550,7 @@ void MainWindow::applySettings() font.setStyleStrategy(QFont::PreferAntialias); qApp->setFont(font); this->setFont(font); - pIconsManager->updateParserIcons("classparser",pointToPixel(pSettings->environment().interfaceFontSize())); + pIconsManager->updateParserIcons(pSettings->environment().iconSet(),pointToPixel(pSettings->environment().interfaceFontSize())); QFont caseEditorFont(pSettings->executor().caseEditorFontName()); caseEditorFont.setPixelSize(pointToPixel(pSettings->executor().caseEditorFontSize())); @@ -586,6 +586,8 @@ void MainWindow::applySettings() if (idxProblemSet>=0) ui->tabInfos->removeTab(idxProblemSet); } + //icon sets for editors + updateEditorSettings(); updateDebuggerSettings(); updateActionIcons(); } @@ -1100,7 +1102,7 @@ void MainWindow::updateDebuggerSettings() void MainWindow::updateActionIcons() { int size = pointToPixel(pSettings->environment().interfaceFontSize()); - pIconsManager->updateActionIcons("newlook", size); + pIconsManager->updateActionIcons(pSettings->environment().iconSet(), size); QSize iconSize(size,size); ui->toolbarMain->setIconSize(iconSize); ui->toolbarCode->setIconSize(iconSize); diff --git a/RedPandaIDE/settings.cpp b/RedPandaIDE/settings.cpp index e541b160..7df42b07 100644 --- a/RedPandaIDE/settings.cpp +++ b/RedPandaIDE/settings.cpp @@ -2446,6 +2446,17 @@ void Settings::CompilerSets::findSets() clearSets(); addSets(includeTrailingPathDelimiter(mSettings->dirs().app())+"MinGW32"); addSets(includeTrailingPathDelimiter(mSettings->dirs().app())+"MinGW64"); + + QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); + QString path = env.value("PATH"); + QStringList pathList = path.split(PATH_SEPARATOR); + foreach (const QString& s, pathList){ + if (s.endsWith(QString(QDir::separator())+"bin")) { + QString temp = s.mid(0,s.length()-4); + qDebug()<cbTheme->addItem(name); // } - ui->cbLanguage->addItem("English","en"); + ui->cbLanguage->addItem(tr("English"),"en"); ui->cbLanguage->addItem(tr("Simplified Chinese"),"zh_CN"); + ui->cbIconSet->addItem("newlook"); } EnvironmentAppearenceWidget::~EnvironmentAppearenceWidget() @@ -34,6 +35,7 @@ void EnvironmentAppearenceWidget::doLoad() ui->cbTheme->setCurrentText(pSettings->environment().theme()); ui->cbFont->setCurrentFont(QFont(pSettings->environment().interfaceFont())); ui->spinFontSize->setValue(pSettings->environment().interfaceFontSize()); + ui->cbIconSet->setCurrentText(pSettings->environment().iconSet()); for (int i=0;icbLanguage->count();i++) { if (ui->cbLanguage->itemData(i) == pSettings->environment().language()) { @@ -57,7 +59,7 @@ void EnvironmentAppearenceWidget::doSave() pSettings->environment().setInterfaceFont(ui->cbFont->currentFont().family()); pSettings->environment().setInterfaceFontSize(ui->spinFontSize->value()); pSettings->environment().setLanguage(ui->cbLanguage->currentData().toString()); - + pSettings->environment().setIconSet(ui->cbIconSet->currentText()); pSettings->editor().save(); pSettings->environment().save(); pMainWindow->applySettings(); diff --git a/RedPandaIDE/settingsdialog/environmentappearencewidget.ui b/RedPandaIDE/settingsdialog/environmentappearencewidget.ui index c6272357..e2ab34bc 100644 --- a/RedPandaIDE/settingsdialog/environmentappearencewidget.ui +++ b/RedPandaIDE/settingsdialog/environmentappearencewidget.ui @@ -14,14 +14,14 @@ Form - - + + - Font Size: + Font: - + Qt::Vertical @@ -34,23 +34,9 @@ - - - - Theme: - - - - - - - Font: - - - - - - + + + 0 @@ -64,10 +50,17 @@ 0 - + - + + + *Needs restart + + + + + Qt::Horizontal @@ -82,6 +75,13 @@ + + + + Theme: + + + @@ -120,6 +120,54 @@ + + + + Language: + + + + + + + Font Size: + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + @@ -155,15 +203,15 @@ - + - Language: + Icon Set: - - + + 0 @@ -177,17 +225,10 @@ 0 - + - - - *Needs restart - - - - - + Qt::Horizontal