Merge pull request #132 from mpusz/hide_all_with_id

"Hide all with id" popup menu item added
This commit is contained in:
Daniel Marjamäki 2013-02-09 22:33:39 -08:00
commit ff89997d89
14 changed files with 251 additions and 141 deletions

View File

@ -981,22 +981,22 @@ Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen?</
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation>Datei</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation>Schweregrad</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation>Zeile</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation>Zusammenfassung</translation>
</message>
@ -1007,7 +1007,7 @@ Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen?</
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation>[unklar]</translation>
</message>
@ -1042,13 +1042,18 @@ Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen?</
<translation>Verstecken</translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1057,7 +1062,7 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
Konfigurieren Sie diese unter Einstellungen/Anwendungen.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
@ -1066,12 +1071,12 @@ Please select the default editor application in preferences/Applications.</sourc
Bitte wählen Sie eine Standardanwendung unter Einstellungen/Anwendungen.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation>Datei konnte nicht gefunden werden!</translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1080,7 +1085,7 @@ Please check the application path and parameters are correct.</source>
Bitte überprüfen Sie ob der Pfad und die Parameter der Anwendung richtig eingestellt sind.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
@ -1089,12 +1094,12 @@ Please select the directory where file is located.</source>
Bitte wählen Sie das Verzeichnis, in dem sich die Datei befindet.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation>Wähle Verzeichnis</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation>Id</translation>
</message>

View File

@ -952,22 +952,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation>Fichero</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation>Importancia</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation>Línea</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation>Resumen</translation>
</message>
@ -978,7 +978,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation type="unfinished"></translation>
</message>
@ -1023,13 +1023,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation>Oculta</translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1037,19 +1042,19 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
<translation type="unfinished">Configura el programa para ver ficheros en Cppcheck preferencias/Aplicaciones.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation>¡No se ha encontrado el fichero!</translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1058,7 +1063,7 @@ Please check the application path and parameters are correct.</source>
Por favor comprueba que la ruta a la aplicación y los parámetros son correctos.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
@ -1067,12 +1072,12 @@ Please select the directory where file is located.</source>
Por favor selecciona la carpeta donde se encuentra.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation>Selecciona carpeta</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation type="unfinished"></translation>
</message>

View File

@ -957,22 +957,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation>Tiedosto</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation>Tyyppi</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation>Rivi</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation type="unfinished"></translation>
</message>
@ -983,7 +983,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation type="unfinished"></translation>
</message>
@ -1018,13 +1018,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1032,19 +1037,19 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
<translation type="unfinished">Voit asetuksista määritellä muita ohjelmia joilla avata tämän virheen sisältävän tiedoston.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1053,19 +1058,19 @@ Please check the application path and parameters are correct.</source>
Tarkista että ohjelman polku ja parametrit ovat oikeat.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation type="unfinished"></translation>
</message>

View File

@ -863,6 +863,10 @@ Please select the default editor application in preferences/Applications.</sourc
<source>Copy message id</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResultsView</name>

View File

@ -982,22 +982,22 @@ Vuoi rimuovere il file dalla lista dei progetti recentemente usati?</translation
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation>File</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation>Severità</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation>Linea</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation>Riassunto</translation>
</message>
@ -1008,7 +1008,7 @@ Vuoi rimuovere il file dalla lista dei progetti recentemente usati?</translation
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation>[Inconcludente]</translation>
</message>
@ -1043,13 +1043,18 @@ Vuoi rimuovere il file dalla lista dei progetti recentemente usati?</translation
<translation>Nascondi</translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1058,7 +1063,7 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
Configura l&apos;applicazione di scrittura per Cppcheck in Preferenze/Applicazioni.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
@ -1067,12 +1072,12 @@ Please select the default editor application in preferences/Applications.</sourc
Per favore seleziona l&apos;applicazione di scrittura predefinito in Preferenze/Applicazioni.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation>Non è stato possibile trovare il file!</translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1081,7 +1086,7 @@ Please check the application path and parameters are correct.</source>
Per favore verifica che il percorso dell&apos;applicazione e i parametri siano corretti.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
@ -1090,12 +1095,12 @@ Please select the directory where file is located.</source>
Per favore selezioa la cartella dove il file è posizionato.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation>Seleziona Cartella</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation>Id</translation>
</message>

View File

@ -954,22 +954,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation></translation>
</message>
@ -980,7 +980,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation>[]</translation>
</message>
@ -1015,13 +1015,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1029,19 +1034,19 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1050,7 +1055,7 @@ Please check the application path and parameters are correct.</source>
</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
@ -1059,12 +1064,12 @@ Please select the directory where file is located.</source>
</translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation type="unfinished"></translation>
</message>

View File

@ -901,6 +901,10 @@ Please select the directory where file is located.</source>
<source>Copy message id</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResultsView</name>

View File

@ -957,22 +957,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation>Bestand</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation>Ernst</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation>Regel</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation type="unfinished"></translation>
</message>
@ -983,7 +983,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation type="unfinished"></translation>
</message>
@ -1018,13 +1018,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1032,19 +1037,19 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
<translation type="unfinished">U dient een applicatie te configureren in de instellingen om deze fout in te openen.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1053,19 +1058,19 @@ Please check the application path and parameters are correct.</source>
Gelieve te controleren of de het pad en de parameters correct zijn.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation type="unfinished"></translation>
</message>

View File

@ -984,22 +984,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation>Файл</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation>Важность</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation>Строка</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation>Кратко</translation>
</message>
@ -1010,7 +1010,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation></translation>
</message>
@ -1045,13 +1045,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation>Скрыть</translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1059,38 +1064,38 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation>Не удается найти файл!</translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation>Выберите директорию</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation type="unfinished">Id</translation>
</message>

View File

@ -951,22 +951,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation type="unfinished">File</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation type="unfinished">Severity</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation type="unfinished">Line</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation type="unfinished"></translation>
</message>
@ -977,7 +977,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation type="unfinished"></translation>
</message>
@ -1012,32 +1012,37 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
<translation type="unfinished">You can open this error by specifying applications in program&apos;s settings.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1046,19 +1051,19 @@ Please check the application path and parameters are correct.</source>
Please check the application path and parameters are correct.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation type="unfinished"></translation>
</message>

View File

@ -980,22 +980,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation>Fil</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation>Typ</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation>Rad</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation>Sammanfattning</translation>
</message>
@ -1006,7 +1006,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation type="unfinished"></translation>
</message>
@ -1041,13 +1041,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation>Dölj</translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1055,19 +1060,19 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
<translation type="unfinished">Konfigurera program i inställningar/program.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation>Kunde inte hitta filen!</translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1076,7 +1081,7 @@ Please check the application path and parameters are correct.</source>
Kontrollera att sökvägen och parametrarna är korrekta.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
@ -1085,12 +1090,12 @@ Please select the directory where file is located.</source>
Välj mappen där filen finns.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation>Välj mapp</translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation type="unfinished"></translation>
</message>

View File

@ -982,22 +982,22 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>File</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Severity</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Line</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Summary</source>
<translation></translation>
</message>
@ -1008,7 +1008,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="resultstree.cpp" line="205"/>
<location filename="resultstree.cpp" line="721"/>
<location filename="resultstree.cpp" line="725"/>
<source>[Inconclusive]</source>
<translation>[]</translation>
</message>
@ -1043,13 +1043,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="582"/>
<location filename="resultstree.cpp" line="596"/>
<location filename="resultstree.cpp" line="537"/>
<source>Hide all with id</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="586"/>
<location filename="resultstree.cpp" line="600"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="583"/>
<location filename="resultstree.cpp" line="587"/>
<source>No editor application configured.
Configure the editor application for Cppcheck in preferences/Applications.</source>
@ -1059,7 +1064,7 @@ Configure the editor application for Cppcheck in preferences/Applications.</sour
/ Cppcheck </translation>
</message>
<message>
<location filename="resultstree.cpp" line="597"/>
<location filename="resultstree.cpp" line="601"/>
<source>No default editor application selected.
Please select the default editor application in preferences/Applications.</source>
@ -1068,12 +1073,12 @@ Please select the default editor application in preferences/Applications.</sourc
/ </translation>
</message>
<message>
<location filename="resultstree.cpp" line="626"/>
<location filename="resultstree.cpp" line="630"/>
<source>Could not find the file!</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="672"/>
<location filename="resultstree.cpp" line="676"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -1082,7 +1087,7 @@ Please check the application path and parameters are correct.</source>
</translation>
</message>
<message>
<location filename="resultstree.cpp" line="686"/>
<location filename="resultstree.cpp" line="690"/>
<source>Could not find file:
%1
Please select the directory where file is located.</source>
@ -1091,12 +1096,12 @@ Please select the directory where file is located.</source>
</translation>
</message>
<message>
<location filename="resultstree.cpp" line="693"/>
<location filename="resultstree.cpp" line="697"/>
<source>Select Directory</source>
<translation></translation>
</message>
<message>
<location filename="resultstree.cpp" line="997"/>
<location filename="resultstree.cpp" line="1043"/>
<source>Id</source>
<translation>Id</translation>
</message>

View File

@ -534,12 +534,14 @@ void ResultsTree::contextMenuEvent(QContextMenuEvent * e)
QAction *copymessage = new QAction(tr("Copy message"), &menu);
QAction *copymessageid = new QAction(tr("Copy message id"), &menu);
QAction *hide = new QAction(tr("Hide"), &menu);
QAction *hideallid = new QAction(tr("Hide all with id"), &menu);
if (multipleSelection) {
copyfilename->setDisabled(true);
copypath->setDisabled(true);
copymessage->setDisabled(true);
copymessageid->setDisabled(true);
hideallid->setDisabled(true);
}
menu.addAction(copyfilename);
@ -547,12 +549,14 @@ void ResultsTree::contextMenuEvent(QContextMenuEvent * e)
menu.addAction(copymessage);
menu.addAction(copymessageid);
menu.addAction(hide);
menu.addAction(hideallid);
connect(copyfilename, SIGNAL(triggered()), this, SLOT(CopyFilename()));
connect(copypath, SIGNAL(triggered()), this, SLOT(CopyFullPath()));
connect(copymessage, SIGNAL(triggered()), this, SLOT(CopyMessage()));
connect(copymessageid, SIGNAL(triggered()), this, SLOT(CopyMessageId()));
connect(hide, SIGNAL(triggered()), this, SLOT(HideResult()));
connect(hideallid, SIGNAL(triggered()), this, SLOT(HideAllIdResult()));
}
//Start the menu
@ -764,6 +768,48 @@ void ResultsTree::HideResult()
}
}
void ResultsTree::HideAllIdResult()
{
if (mContextItem) {
// Make sure we are working with the first column
if (mContextItem->column() != 0)
mContextItem = mContextItem->parent()->child(mContextItem->row(), 0);
QVariantMap data = mContextItem->data().toMap();
QString messageId = data["id"].toString();
// hide all errors with that message Id
int filecount = mModel.rowCount();
for (int i = 0; i < filecount; i++) {
//Get file i
QStandardItem *file = mModel.item(i, 0);
if (!file) {
continue;
}
//Get the amount of errors this file contains
int errorcount = file->rowCount();
for (int j = 0; j < errorcount; j++) {
//Get the error itself
QStandardItem *child = file->child(j, 0);
if (!child) {
continue;
}
QVariantMap userdata = child->data().toMap();
if (userdata["id"].toString() == messageId) {
userdata["hide"] = true;
child->setData(QVariant(userdata));
}
}
}
RefreshTree();
emit ResultsHidden(true);
}
}
void ResultsTree::Context(int application)
{
StartApplication(mContextItem, application);

View File

@ -217,6 +217,12 @@ protected slots:
*/
void HideResult();
/**
* @brief Slot for context menu item to hide all messages with the current message Id
*
*/
void HideAllIdResult();
/**
* @brief Slot for selection change in the results tree.
*