From e0c49e4eae64eaaad96b1b312f2f68ae41719694 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sat, 3 Jul 2010 14:19:02 +0300 Subject: [PATCH] GUI: Add new toolbar for error/warning categories. This commit adds new toolbar to the GUI for fast and easy switching of different warning//error categories. The icons are currently just placeholders until more descriptive icons are created. --- gui/cppcheck_de.ts | 55 +++++++++++++++++-------------- gui/cppcheck_en.ts | 55 +++++++++++++++++-------------- gui/cppcheck_fi.ts | 55 +++++++++++++++++-------------- gui/cppcheck_nl.ts | 55 +++++++++++++++++-------------- gui/cppcheck_pl.ts | 55 +++++++++++++++++-------------- gui/cppcheck_ru.ts | 55 +++++++++++++++++-------------- gui/cppcheck_se.ts | 55 +++++++++++++++++-------------- gui/gui.qrc | 2 ++ gui/images/showerrors.png | Bin 0 -> 925 bytes gui/images/showstylewarnings.png | Bin 0 -> 1204 bytes gui/main.ui | 21 ++++++++++++ 11 files changed, 233 insertions(+), 175 deletions(-) create mode 100644 gui/images/showerrors.png create mode 100644 gui/images/showstylewarnings.png diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts index 99b91d85c..6a3f1a260 100644 --- a/gui/cppcheck_de.ts +++ b/gui/cppcheck_de.ts @@ -162,132 +162,137 @@ kate -l(line) (file) + toolBar + + + + &License... - + A&uthors... - + &About... - + &Files... - + Ctrl+F - + &Directory... - + Ctrl+D - + &Recheck files - + Ctrl+R - + &Stop - + Esc - + &Save results to file... - + Ctrl+S - + &Quit - + &Clear results - + &Preferences - + Show style errors Show security errors - + Show common errors - + &Check all - + &Uncheck all - + Collapse &all - + &Expand all - + &Toolbar - + &Contents - + Open the help contents - + F1 diff --git a/gui/cppcheck_en.ts b/gui/cppcheck_en.ts index 227900352..4d0c140f9 100644 --- a/gui/cppcheck_en.ts +++ b/gui/cppcheck_en.ts @@ -175,132 +175,137 @@ kate -l(line) (file) + toolBar + + + + &License... &License... - + A&uthors... A&uthors... - + &About... &About... - + &Files... &Files... - + Ctrl+F Ctrl+F - + &Directory... &Directory... - + Ctrl+D Ctrl+D - + &Recheck files &Recheck files - + Ctrl+R Ctrl+R - + &Stop &Stop - + Esc Esc - + &Save results to file... &Save results to file... - + Ctrl+S Ctrl+S - + &Quit &Quit - + &Clear results &Clear results - + &Preferences &Preferences - + Show style errors Show security errors Show security errors - + Show common errors Show common errors - + &Check all &Check all - + &Uncheck all &Uncheck all - + Collapse &all Collapse &all - + &Expand all &Expand all - + &Toolbar &Toolbar - + &Contents - + Open the help contents - + F1 diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts index 0be8271d1..ce4aa4142 100644 --- a/gui/cppcheck_fi.ts +++ b/gui/cppcheck_fi.ts @@ -177,132 +177,137 @@ kate -l(line) (file) + toolBar + + + + &License... &Lisenssi... - + A&uthors... &Tekijät... - + &About... &Tietoa ohjelmasta Cppcheck... - + &Files... &Tiedostot... - + Ctrl+F Ctrl+F - + &Directory... &Hakemisto... - + Ctrl+D Ctrl+D - + &Recheck files Tarkista tiedostot &uudelleen - + Ctrl+R Ctrl+R - + &Stop &Pysäytä - + Esc Esc - + &Save results to file... &Tallenna tulokset tiedostoon... - + Ctrl+S Ctrl+S - + &Quit &Lopeta - + &Clear results &Tyhjennä tulokset - + &Preferences &Asetukset - + Show style errors Show security errors Näytä tietoturvavirheet - + Show common errors Näytä yleiset virheet - + &Check all &Valitse kaikki - + &Uncheck all &Poista kaikista valinta - + Collapse &all &Pienennä kaikki - + &Expand all &Laajenna kaikki - + &Toolbar &Työkalupalkki - + &Contents - + Open the help contents - + F1 diff --git a/gui/cppcheck_nl.ts b/gui/cppcheck_nl.ts index 576a5149e..18a9cb64a 100644 --- a/gui/cppcheck_nl.ts +++ b/gui/cppcheck_nl.ts @@ -175,132 +175,137 @@ kate -l(line) (file) + toolBar + + + + &License... &Licentie... - + A&uthors... A&uteurs... - + &About... &Over... - + &Files... &Bestanden... - + Ctrl+F Ctrl+F - + &Directory... &Mappen... - + Ctrl+D Ctrl+D - + &Recheck files &Opnieuw controleren - + Ctrl+R Ctrl+R - + &Stop &Stop - + Esc Esc - + &Save results to file... &Resultaten opslaan... - + Ctrl+S Ctrl+S - + &Quit &Afsluiten - + &Clear results &Resultaten wissen - + &Preferences &Voorkeuren - + Show style errors Show security errors Toon beveiligingsfouten - + Show common errors Toon gewone fouten - + &Check all &Selecteer alles - + &Uncheck all Selecteer &niets - + Collapse &all Alles Inkl&appen - + &Expand all Alles &Uitklappen - + &Toolbar Wer&kbalk - + &Contents - + Open the help contents - + F1 diff --git a/gui/cppcheck_pl.ts b/gui/cppcheck_pl.ts index 453df034c..bebd953f0 100644 --- a/gui/cppcheck_pl.ts +++ b/gui/cppcheck_pl.ts @@ -172,132 +172,137 @@ kate -l(line) (file) + toolBar + + + + &License... - + A&uthors... - + &About... - + &Files... - + Ctrl+F - + &Directory... - + Ctrl+D - + &Recheck files - + Ctrl+R - + &Stop - + Esc - + &Save results to file... - + Ctrl+S - + &Quit - + &Clear results - + &Preferences - + Show style errors Show security errors - + Show common errors - + &Check all - + &Uncheck all - + Collapse &all - + &Expand all - + &Toolbar - + &Contents - + Open the help contents - + F1 diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts index 72ff9d9ae..521a6bd02 100644 --- a/gui/cppcheck_ru.ts +++ b/gui/cppcheck_ru.ts @@ -165,132 +165,137 @@ kate -l(line) (file) + toolBar + + + + &License... Лицензия... - + A&uthors... Авторы... - + &About... О программе... - + &Files... Файлы... - + Ctrl+F Ctrl+F - + &Directory... Каталог... - + Ctrl+D Ctrl+D - + &Recheck files - + Ctrl+R Ctrl+R - + &Stop Остановить - + Esc Esc - + &Save results to file... Сохранить отчёт в файл... - + Ctrl+S Ctrl+S - + &Quit Выход - + &Clear results Очистить отчёт - + &Preferences Параметры - + Show style errors Show security errors Показывать ошибки безопасности - + Show common errors Показывать общие ошибки - + &Check all Отметить все - + &Uncheck all Сбросить все - + Collapse &all Свернуть все - + &Expand all Развернуть все - + &Toolbar Панель инструментов - + &Contents - + Open the help contents - + F1 diff --git a/gui/cppcheck_se.ts b/gui/cppcheck_se.ts index 4eddf42b4..4f48ab688 100644 --- a/gui/cppcheck_se.ts +++ b/gui/cppcheck_se.ts @@ -175,133 +175,138 @@ kate -l(line) (file) + toolBar + + + + &License... &Licens... - + A&uthors... &Utvecklat av... - + &About... &Om... - + &Files... &Filer... - + Ctrl+F Ctrl+F - + &Directory... &Katalog... - + Ctrl+D Ctrl+D - + &Recheck files Starta &om check - + Ctrl+R Ctrl+R - + &Stop &Stoppa - + Esc Esc - + &Save results to file... &Spara resultat till fil... - + Ctrl+S Ctrl+S - + &Quit &Avsluta - + &Clear results &Töm resultat - + &Preferences &Inställningar - + Show style errors Show security errors Säkerhetsvarningar - + Show common errors Vanliga fel - + &Check all &Kryssa alla - + &Uncheck all Kryssa &ur alla - + Collapse &all Ingen bra översättning! &Fäll ihop alla - + &Expand all &Expandera alla - + &Toolbar &Verktyg - + &Contents - + Open the help contents - + F1 diff --git a/gui/gui.qrc b/gui/gui.qrc index 9140ddbdd..f3f79cc9e 100644 --- a/gui/gui.qrc +++ b/gui/gui.qrc @@ -12,6 +12,8 @@ images/process-stop.png images/text-x-generic.png images/view-refresh.png + images/showerrors.png + images/showstylewarnings.png ../COPYING ../AUTHORS diff --git a/gui/images/showerrors.png b/gui/images/showerrors.png new file mode 100644 index 0000000000000000000000000000000000000000..7d6aaf6f257bee75a76325181f7a39b4b903034a GIT binary patch literal 925 zcmV;O17iG%P)G zK~y-))s#PI8)q2Cf2X_CKPM!%goULNnKWr=!H7($hn7Nz(0b2g(y2>^j)6c5g#Ot=1S|m4z#i}dcmUj4hVFj?UV(3cTW2bjT=CpFj^*<>uEVg`!)v}} zt5##<)vFe8Z5e(#67UM#m?;#lpTBsKtmhHFd4u-4s3@w6xGsrOiSE=C&mTX=+ugmn z4BsEdu@5tyDHLumUb=+y>={yTpu+*Gii#pCXb>Q~Eo{%DxVXq}z5e-ByirxO_) zP5=1v^5tB5eH}SCKt&(|R5OZ#Dyo8}GxW>z{QBr&3pf?mJP`|WzdgZMsM>hHZ~T-aZ<@rkyN>iTPz{@96iUSzOzHMRy+7D z2=4s=_kjQynlXspiimNV(R)zpF3thvQlUO zhCmt>3HULp_KkE;{Eg7`E`n$)}e800000NkvXXu0mjf5jCqS literal 0 HcmV?d00001 diff --git a/gui/images/showstylewarnings.png b/gui/images/showstylewarnings.png new file mode 100644 index 0000000000000000000000000000000000000000..07cf0102d3f31149f1eaf2abea4d9859fbb270c6 GIT binary patch literal 1204 zcmV;l1WWsgP)`rIfZuf&ys#RNoP>@O?X+RM~YSd~{Bjo{oAmKqx3?b@+ zB>Lc!F_P6_)P$9dLSoP~MieDJpok$9L!o8C0CA;2yZzYjot>SXnLF19*95A&5dX=^ z&B@9Aoqx{Fy_cYdw(r;_0^~(P<)=C4%i-E#2+}MeB+i-jExo;y%*tMiv(KHo`EI}`sNM-W)^U6hY^z_LY*QvY^i$+e|5qSHKU5^CAt>14R*s9vp zgZM-anipW4xfR=ST$k{r?S8SnNv6Yx4wjRXH=c+^BggB4x9`}s5P}$gY3J)Lmy;H* z&SkKw%kOF)k#TT`bGWHO#f(p6t$@#?ZCbui+xz~WoN1K0W6?oK6?Y`h^>Lx1mF?^LlB5T2{8#FR!*;^HLs+*98STogpj{6%$c*aE*OHC%od8BjjC)o zF3->8%4VxywIxan#(7RR?4;$eqR%VK4&y`s36#oaMWA%5?kE6$B9orw3!1%_N1~-w zoxzq+lSjvsJu_v@X`goT^cj*gJl1p*MjbveqG%_i;+Y12LTgdf|x_e0lp?2qSz>CMTx(Ni<`FYO6a z@RfbN%f+l-nFus0>R2MP$8p>ri>7^`QI%HfrgL1CJOigkPFZJ0M-T7cx96kVi~@k` zyf*sV$d$~@q?ftGF)D0I^NIunQ_ZSu1Bio*ZP`@PI&$Q@X_q;#{MXI<7dRG;*qk{- z-wY2+L7%sE{P#Z+h0I(F6^L_fA`ytkFZ@i2u=e1AgDoy&TVv6Pc}L(XJYkf}$*HO9 z4HU+sXGVT_S4p za81XjkG?aq?!gLtN}R7-H-HTrp2D(aD-dX==*s4@U=b(N~YssOv{)|?OgM}GmY + + + toolBar + + + TopToolBarArea + + + false + + + + &License... @@ -248,6 +261,10 @@ true + + + :/images/showstylewarnings.png:/images/showstylewarnings.png + Show style errors @@ -256,6 +273,10 @@ true + + + :/images/showerrors.png:/images/showerrors.png + Show common errors