diff --git a/gui/application.ui b/gui/application.ui
new file mode 100644
index 000000000..c89b325bf
--- /dev/null
+++ b/gui/application.ui
@@ -0,0 +1,112 @@
+
+
+ ApplicationDialog
+
+
+
+ 0
+ 0
+ 569
+ 300
+
+
+
+ Add an application
+
+
+ -
+
+
+ Here you can add applications that can open error files.
+Specify a name for the application and the application to execute.
+
+The following texts are replaced with appriproate values when application is executed:
+(file) - Filename containing the error
+(line) - Line number containing the error
+(message) - Error message
+(severity) - Error severity
+
+Example opening a file with Kate and make Kate scroll to the correct line:
+kate -l(line) (file)
+
+
+
+ -
+
+
-
+
+
+ Application's name
+
+
+
+ -
+
+
+ Application to execute
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ Browse
+
+
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+ QDialogButtonBox::Cancel|QDialogButtonBox::Ok
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ ApplicationDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ ApplicationDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+
diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts
index 542c4b16a..c58851fdd 100644
--- a/gui/cppcheck_de.ts
+++ b/gui/cppcheck_de.ts
@@ -32,6 +32,12 @@
ApplicationDialog
+
+
+
+
+
+
+
+
+
@@ -479,6 +488,79 @@ To toggle what kind of errors are shown, open view menu.
+
+ Settings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SettingsDialog
diff --git a/gui/cppcheck_en.ts b/gui/cppcheck_en.ts
index 997c23900..f81d86107 100644
--- a/gui/cppcheck_en.ts
+++ b/gui/cppcheck_en.ts
@@ -32,6 +32,12 @@
ApplicationDialog
+
+
+ Add a new application
+
+
+
+
Application's name
+
Application to execute
+
Browse
@@ -498,6 +507,79 @@ To toggle what kind of errors are shown, open view menu.
Results
+
+ Settings
+
+
+
+ Settings
+
+
+
+
+ General
+
+
+
+
+ Number of threads:
+
+
+
+
+ Check all #ifdef configurations
+
+
+
+
+ Show full path of files
+
+
+
+
+ Show "No errors found" message when no errors found
+
+
+
+
+ Applications
+
+
+
+
+ Add application
+
+
+
+
+ Delete application
+
+
+
+
+ Modify application
+
+
+
+
+ Set as default application
+
+
+
+
+ Reports
+
+
+
+
+ Save all errors when creating report
+
+
+
+
+ Save full path to files in reports
+
+
SettingsDialog
diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts
index 20fd73f49..83f7e051a 100644
--- a/gui/cppcheck_fi.ts
+++ b/gui/cppcheck_fi.ts
@@ -32,6 +32,12 @@
ApplicationDialog
+
+
+ Lisää uusi ohjelma
+
+
+
+
Ohjelman nimi
+
Suoritettava ohjelma
+
Selaa
@@ -498,6 +507,79 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
Tulokset
+
+ Settings
+
+
+
+ Asetukset
+
+
+
+
+ Yleiset
+
+
+
+
+ Säikeiden lukumäärä:
+
+
+
+
+ Tarkista kaikki #ifdef kombinaatiot
+
+
+
+
+ Näytä tiedostojen täysi polku
+
+
+
+
+ Näytä "virheitä ei löytynyt"-viesti jos virheitä ei löydy
+
+
+
+
+ Ohjelmat
+
+
+
+
+ Lisää ohjelma
+
+
+
+
+ Poista ohjelma
+
+
+
+
+ Muokkaa ohjelmaa
+
+
+
+
+ Aseta oletusohjelmaksi
+
+
+
+
+ Raportit
+
+
+
+
+ Tallenna kaikki virheet raporttia luodessa
+
+
+
+
+ Tallenna tiedostojen koko polku raportteihin
+
+
SettingsDialog
diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts
index 9221dc167..cbca18d0b 100644
--- a/gui/cppcheck_ru.ts
+++ b/gui/cppcheck_ru.ts
@@ -32,6 +32,12 @@
ApplicationDialog
+
+
+
+
+
+
+
+
+
@@ -481,6 +490,79 @@ To toggle what kind of errors are shown, open view menu.
+
+ Settings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SettingsDialog
diff --git a/gui/cppcheck_se.ts b/gui/cppcheck_se.ts
index 9221dc167..cbca18d0b 100644
--- a/gui/cppcheck_se.ts
+++ b/gui/cppcheck_se.ts
@@ -32,6 +32,12 @@
ApplicationDialog
+
+
+
+
+
+
+
+
+
@@ -481,6 +490,79 @@ To toggle what kind of errors are shown, open view menu.
+
+ Settings
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SettingsDialog
diff --git a/gui/gui.pro b/gui/gui.pro
index 6ca450488..5b8d2ea91 100644
--- a/gui/gui.pro
+++ b/gui/gui.pro
@@ -12,7 +12,9 @@ OBJECTS_DIR = temp
CONFIG += warn_on debug
RESOURCES = gui.qrc
FORMS = main.ui \
- resultsview.ui
+ resultsview.ui \
+ application.ui \
+ settings.ui
TRANSLATIONS = cppcheck_fi.ts \
cppcheck_en.ts \
diff --git a/gui/settings.ui b/gui/settings.ui
new file mode 100644
index 000000000..573e025a9
--- /dev/null
+++ b/gui/settings.ui
@@ -0,0 +1,202 @@
+
+
+ Settings
+
+
+
+ 0
+ 0
+ 589
+ 274
+
+
+
+ Settings
+
+
+ -
+
+
+ 0
+
+
+
+ General
+
+
+
-
+
+
-
+
+
-
+
+
+ Number of threads:
+
+
+
+ -
+
+
+
+
+ -
+
+
+ Check all #ifdef configurations
+
+
+
+ -
+
+
+ Show full path of files
+
+
+
+ -
+
+
+ Show "No errors found" message when no errors found
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+
+
+ Applications
+
+
+ -
+
+
+ -
+
+
+ Add application
+
+
+
+ -
+
+
+ Delete application
+
+
+
+ -
+
+
+ Modify application
+
+
+
+ -
+
+
+ Set as default application
+
+
+
+
+
+
+
+ Reports
+
+
+ -
+
+
+ Save all errors when creating report
+
+
+
+ -
+
+
+ Save full path to files in reports
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+ QDialogButtonBox::Cancel|QDialogButtonBox::Ok
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ Settings
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ Settings
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+