Added ui files for Settings and Application dialogs.
The code doesn't use those at the moment though. Updated the translation files aswell.
This commit is contained in:
parent
1daba9e913
commit
97508ade3f
|
@ -0,0 +1,112 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>ApplicationDialog</class>
|
||||||
|
<widget class="QDialog" name="ApplicationDialog">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>569</width>
|
||||||
|
<height>300</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Add an application</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>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)</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QFormLayout" name="formLayout">
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Application's name</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="text">
|
||||||
|
<string>Application to execute</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QLineEdit" name="mName"/>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QLineEdit" name="mPath"/>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<widget class="QPushButton" name="mButtonBrowse">
|
||||||
|
<property name="text">
|
||||||
|
<string>Browse</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="standardButtons">
|
||||||
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>buttonBox</sender>
|
||||||
|
<signal>accepted()</signal>
|
||||||
|
<receiver>ApplicationDialog</receiver>
|
||||||
|
<slot>accept()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>248</x>
|
||||||
|
<y>254</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>157</x>
|
||||||
|
<y>274</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>buttonBox</sender>
|
||||||
|
<signal>rejected()</signal>
|
||||||
|
<receiver>ApplicationDialog</receiver>
|
||||||
|
<slot>reject()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>316</x>
|
||||||
|
<y>260</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>286</x>
|
||||||
|
<y>274</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
</ui>
|
|
@ -32,6 +32,12 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ApplicationDialog</name>
|
<name>ApplicationDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="14"/>
|
||||||
|
<source>Add an application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="application.ui" line="20"/>
|
||||||
<location filename="applicationdialog.cpp" line="40"/>
|
<location filename="applicationdialog.cpp" line="40"/>
|
||||||
<source>Here you can add applications that can open error files.
|
<source>Here you can add applications that can open error files.
|
||||||
Specify a name for the application and the application to execute.
|
Specify a name for the application and the application to execute.
|
||||||
|
@ -47,16 +53,19 @@ kate -l(line) (file)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="39"/>
|
||||||
<location filename="applicationdialog.cpp" line="53"/>
|
<location filename="applicationdialog.cpp" line="53"/>
|
||||||
<source>Application's name</source>
|
<source>Application's name</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="46"/>
|
||||||
<location filename="applicationdialog.cpp" line="55"/>
|
<location filename="applicationdialog.cpp" line="55"/>
|
||||||
<source>Application to execute</source>
|
<source>Application to execute</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="59"/>
|
||||||
<location filename="applicationdialog.cpp" line="57"/>
|
<location filename="applicationdialog.cpp" line="57"/>
|
||||||
<source>Browse</source>
|
<source>Browse</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -479,6 +488,79 @@ To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>Settings</name>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="14"/>
|
||||||
|
<source>Settings</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="24"/>
|
||||||
|
<source>General</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="34"/>
|
||||||
|
<source>Number of threads: </source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="46"/>
|
||||||
|
<source>Check all #ifdef configurations</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="53"/>
|
||||||
|
<source>Show full path of files</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="60"/>
|
||||||
|
<source>Show "No errors found" message when no errors found</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="83"/>
|
||||||
|
<source>Applications</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="92"/>
|
||||||
|
<source>Add application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="99"/>
|
||||||
|
<source>Delete application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="106"/>
|
||||||
|
<source>Modify application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="113"/>
|
||||||
|
<source>Set as default application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="121"/>
|
||||||
|
<source>Reports</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="127"/>
|
||||||
|
<source>Save all errors when creating report</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="134"/>
|
||||||
|
<source>Save full path to files in reports</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsDialog</name>
|
<name>SettingsDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -32,6 +32,12 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ApplicationDialog</name>
|
<name>ApplicationDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="14"/>
|
||||||
|
<source>Add an application</source>
|
||||||
|
<translation>Add a new application</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="application.ui" line="20"/>
|
||||||
<location filename="applicationdialog.cpp" line="40"/>
|
<location filename="applicationdialog.cpp" line="40"/>
|
||||||
<source>Here you can add applications that can open error files.
|
<source>Here you can add applications that can open error files.
|
||||||
Specify a name for the application and the application to execute.
|
Specify a name for the application and the application to execute.
|
||||||
|
@ -57,16 +63,19 @@ Example opening a file with Kate and make Kate scroll to the correct line:
|
||||||
kate -l(line) (file)</translation>
|
kate -l(line) (file)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="39"/>
|
||||||
<location filename="applicationdialog.cpp" line="53"/>
|
<location filename="applicationdialog.cpp" line="53"/>
|
||||||
<source>Application's name</source>
|
<source>Application's name</source>
|
||||||
<translation>Application's name</translation>
|
<translation>Application's name</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="46"/>
|
||||||
<location filename="applicationdialog.cpp" line="55"/>
|
<location filename="applicationdialog.cpp" line="55"/>
|
||||||
<source>Application to execute</source>
|
<source>Application to execute</source>
|
||||||
<translation>Application to execute</translation>
|
<translation>Application to execute</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="59"/>
|
||||||
<location filename="applicationdialog.cpp" line="57"/>
|
<location filename="applicationdialog.cpp" line="57"/>
|
||||||
<source>Browse</source>
|
<source>Browse</source>
|
||||||
<translation>Browse</translation>
|
<translation>Browse</translation>
|
||||||
|
@ -498,6 +507,79 @@ To toggle what kind of errors are shown, open view menu.</translation>
|
||||||
<translation>Results</translation>
|
<translation>Results</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>Settings</name>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="14"/>
|
||||||
|
<source>Settings</source>
|
||||||
|
<translation>Settings</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="24"/>
|
||||||
|
<source>General</source>
|
||||||
|
<translation>General</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="34"/>
|
||||||
|
<source>Number of threads: </source>
|
||||||
|
<translation>Number of threads: </translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="46"/>
|
||||||
|
<source>Check all #ifdef configurations</source>
|
||||||
|
<translation>Check all #ifdef configurations</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="53"/>
|
||||||
|
<source>Show full path of files</source>
|
||||||
|
<translation>Show full path of files</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="60"/>
|
||||||
|
<source>Show "No errors found" message when no errors found</source>
|
||||||
|
<translation>Show "No errors found" message when no errors found</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="83"/>
|
||||||
|
<source>Applications</source>
|
||||||
|
<translation>Applications</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="92"/>
|
||||||
|
<source>Add application</source>
|
||||||
|
<translation>Add application</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="99"/>
|
||||||
|
<source>Delete application</source>
|
||||||
|
<translation>Delete application</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="106"/>
|
||||||
|
<source>Modify application</source>
|
||||||
|
<translation>Modify application</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="113"/>
|
||||||
|
<source>Set as default application</source>
|
||||||
|
<translation>Set as default application</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="121"/>
|
||||||
|
<source>Reports</source>
|
||||||
|
<translation>Reports</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="127"/>
|
||||||
|
<source>Save all errors when creating report</source>
|
||||||
|
<translation>Save all errors when creating report</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="134"/>
|
||||||
|
<source>Save full path to files in reports</source>
|
||||||
|
<translation>Save full path to files in reports</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsDialog</name>
|
<name>SettingsDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -32,6 +32,12 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ApplicationDialog</name>
|
<name>ApplicationDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="14"/>
|
||||||
|
<source>Add an application</source>
|
||||||
|
<translation>Lisää uusi ohjelma</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="application.ui" line="20"/>
|
||||||
<location filename="applicationdialog.cpp" line="40"/>
|
<location filename="applicationdialog.cpp" line="40"/>
|
||||||
<source>Here you can add applications that can open error files.
|
<source>Here you can add applications that can open error files.
|
||||||
Specify a name for the application and the application to execute.
|
Specify a name for the application and the application to execute.
|
||||||
|
@ -59,16 +65,19 @@ kate -l(line) (file)
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="39"/>
|
||||||
<location filename="applicationdialog.cpp" line="53"/>
|
<location filename="applicationdialog.cpp" line="53"/>
|
||||||
<source>Application's name</source>
|
<source>Application's name</source>
|
||||||
<translation>Ohjelman nimi</translation>
|
<translation>Ohjelman nimi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="46"/>
|
||||||
<location filename="applicationdialog.cpp" line="55"/>
|
<location filename="applicationdialog.cpp" line="55"/>
|
||||||
<source>Application to execute</source>
|
<source>Application to execute</source>
|
||||||
<translation>Suoritettava ohjelma</translation>
|
<translation>Suoritettava ohjelma</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="59"/>
|
||||||
<location filename="applicationdialog.cpp" line="57"/>
|
<location filename="applicationdialog.cpp" line="57"/>
|
||||||
<source>Browse</source>
|
<source>Browse</source>
|
||||||
<translation>Selaa</translation>
|
<translation>Selaa</translation>
|
||||||
|
@ -498,6 +507,79 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
|
||||||
<translation>Tulokset</translation>
|
<translation>Tulokset</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>Settings</name>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="14"/>
|
||||||
|
<source>Settings</source>
|
||||||
|
<translation>Asetukset</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="24"/>
|
||||||
|
<source>General</source>
|
||||||
|
<translation>Yleiset</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="34"/>
|
||||||
|
<source>Number of threads: </source>
|
||||||
|
<translation>Säikeiden lukumäärä: </translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="46"/>
|
||||||
|
<source>Check all #ifdef configurations</source>
|
||||||
|
<translation>Tarkista kaikki #ifdef kombinaatiot</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="53"/>
|
||||||
|
<source>Show full path of files</source>
|
||||||
|
<translation>Näytä tiedostojen täysi polku</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="60"/>
|
||||||
|
<source>Show "No errors found" message when no errors found</source>
|
||||||
|
<translation>Näytä "virheitä ei löytynyt"-viesti jos virheitä ei löydy</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="83"/>
|
||||||
|
<source>Applications</source>
|
||||||
|
<translation>Ohjelmat</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="92"/>
|
||||||
|
<source>Add application</source>
|
||||||
|
<translation>Lisää ohjelma</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="99"/>
|
||||||
|
<source>Delete application</source>
|
||||||
|
<translation>Poista ohjelma</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="106"/>
|
||||||
|
<source>Modify application</source>
|
||||||
|
<translation>Muokkaa ohjelmaa</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="113"/>
|
||||||
|
<source>Set as default application</source>
|
||||||
|
<translation>Aseta oletusohjelmaksi</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="121"/>
|
||||||
|
<source>Reports</source>
|
||||||
|
<translation>Raportit</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="127"/>
|
||||||
|
<source>Save all errors when creating report</source>
|
||||||
|
<translation>Tallenna kaikki virheet raporttia luodessa</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="134"/>
|
||||||
|
<source>Save full path to files in reports</source>
|
||||||
|
<translation>Tallenna tiedostojen koko polku raportteihin</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsDialog</name>
|
<name>SettingsDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -32,6 +32,12 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ApplicationDialog</name>
|
<name>ApplicationDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="14"/>
|
||||||
|
<source>Add an application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="application.ui" line="20"/>
|
||||||
<location filename="applicationdialog.cpp" line="40"/>
|
<location filename="applicationdialog.cpp" line="40"/>
|
||||||
<source>Here you can add applications that can open error files.
|
<source>Here you can add applications that can open error files.
|
||||||
Specify a name for the application and the application to execute.
|
Specify a name for the application and the application to execute.
|
||||||
|
@ -47,16 +53,19 @@ kate -l(line) (file)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="39"/>
|
||||||
<location filename="applicationdialog.cpp" line="53"/>
|
<location filename="applicationdialog.cpp" line="53"/>
|
||||||
<source>Application's name</source>
|
<source>Application's name</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="46"/>
|
||||||
<location filename="applicationdialog.cpp" line="55"/>
|
<location filename="applicationdialog.cpp" line="55"/>
|
||||||
<source>Application to execute</source>
|
<source>Application to execute</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="59"/>
|
||||||
<location filename="applicationdialog.cpp" line="57"/>
|
<location filename="applicationdialog.cpp" line="57"/>
|
||||||
<source>Browse</source>
|
<source>Browse</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -481,6 +490,79 @@ To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>Settings</name>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="14"/>
|
||||||
|
<source>Settings</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="24"/>
|
||||||
|
<source>General</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="34"/>
|
||||||
|
<source>Number of threads: </source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="46"/>
|
||||||
|
<source>Check all #ifdef configurations</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="53"/>
|
||||||
|
<source>Show full path of files</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="60"/>
|
||||||
|
<source>Show "No errors found" message when no errors found</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="83"/>
|
||||||
|
<source>Applications</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="92"/>
|
||||||
|
<source>Add application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="99"/>
|
||||||
|
<source>Delete application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="106"/>
|
||||||
|
<source>Modify application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="113"/>
|
||||||
|
<source>Set as default application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="121"/>
|
||||||
|
<source>Reports</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="127"/>
|
||||||
|
<source>Save all errors when creating report</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="134"/>
|
||||||
|
<source>Save full path to files in reports</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsDialog</name>
|
<name>SettingsDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -32,6 +32,12 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ApplicationDialog</name>
|
<name>ApplicationDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="14"/>
|
||||||
|
<source>Add an application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="application.ui" line="20"/>
|
||||||
<location filename="applicationdialog.cpp" line="40"/>
|
<location filename="applicationdialog.cpp" line="40"/>
|
||||||
<source>Here you can add applications that can open error files.
|
<source>Here you can add applications that can open error files.
|
||||||
Specify a name for the application and the application to execute.
|
Specify a name for the application and the application to execute.
|
||||||
|
@ -47,16 +53,19 @@ kate -l(line) (file)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="39"/>
|
||||||
<location filename="applicationdialog.cpp" line="53"/>
|
<location filename="applicationdialog.cpp" line="53"/>
|
||||||
<source>Application's name</source>
|
<source>Application's name</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="46"/>
|
||||||
<location filename="applicationdialog.cpp" line="55"/>
|
<location filename="applicationdialog.cpp" line="55"/>
|
||||||
<source>Application to execute</source>
|
<source>Application to execute</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="application.ui" line="59"/>
|
||||||
<location filename="applicationdialog.cpp" line="57"/>
|
<location filename="applicationdialog.cpp" line="57"/>
|
||||||
<source>Browse</source>
|
<source>Browse</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -481,6 +490,79 @@ To toggle what kind of errors are shown, open view menu.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>Settings</name>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="14"/>
|
||||||
|
<source>Settings</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="24"/>
|
||||||
|
<source>General</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="34"/>
|
||||||
|
<source>Number of threads: </source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="46"/>
|
||||||
|
<source>Check all #ifdef configurations</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="53"/>
|
||||||
|
<source>Show full path of files</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="60"/>
|
||||||
|
<source>Show "No errors found" message when no errors found</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="83"/>
|
||||||
|
<source>Applications</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="92"/>
|
||||||
|
<source>Add application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="99"/>
|
||||||
|
<source>Delete application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="106"/>
|
||||||
|
<source>Modify application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="113"/>
|
||||||
|
<source>Set as default application</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="121"/>
|
||||||
|
<source>Reports</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="127"/>
|
||||||
|
<source>Save all errors when creating report</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="settings.ui" line="134"/>
|
||||||
|
<source>Save full path to files in reports</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsDialog</name>
|
<name>SettingsDialog</name>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -12,7 +12,9 @@ OBJECTS_DIR = temp
|
||||||
CONFIG += warn_on debug
|
CONFIG += warn_on debug
|
||||||
RESOURCES = gui.qrc
|
RESOURCES = gui.qrc
|
||||||
FORMS = main.ui \
|
FORMS = main.ui \
|
||||||
resultsview.ui
|
resultsview.ui \
|
||||||
|
application.ui \
|
||||||
|
settings.ui
|
||||||
|
|
||||||
TRANSLATIONS = cppcheck_fi.ts \
|
TRANSLATIONS = cppcheck_fi.ts \
|
||||||
cppcheck_en.ts \
|
cppcheck_en.ts \
|
||||||
|
|
|
@ -0,0 +1,202 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Settings</class>
|
||||||
|
<widget class="QDialog" name="Settings">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>589</width>
|
||||||
|
<height>274</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Settings</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="tab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>General</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>Number of threads: </string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLineEdit" name="lineEdit"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="checkBox">
|
||||||
|
<property name="text">
|
||||||
|
<string>Check all #ifdef configurations</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="checkBox_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Show full path of files</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="checkBox_3">
|
||||||
|
<property name="text">
|
||||||
|
<string>Show "No errors found" message when no errors found</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer_2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tab_2">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Applications</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<item>
|
||||||
|
<widget class="QListWidget" name="mListWidget"/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="mButtonAdd">
|
||||||
|
<property name="text">
|
||||||
|
<string>Add application</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="mButtonDelete">
|
||||||
|
<property name="text">
|
||||||
|
<string>Delete application</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="mButtonModify">
|
||||||
|
<property name="text">
|
||||||
|
<string>Modify application</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="mButtonDefault">
|
||||||
|
<property name="text">
|
||||||
|
<string>Set as default application</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tab_3">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Reports</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="checkBox_4">
|
||||||
|
<property name="text">
|
||||||
|
<string>Save all errors when creating report</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="checkBox_5">
|
||||||
|
<property name="text">
|
||||||
|
<string>Save full path to files in reports</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="standardButtons">
|
||||||
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>buttonBox</sender>
|
||||||
|
<signal>accepted()</signal>
|
||||||
|
<receiver>Settings</receiver>
|
||||||
|
<slot>accept()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>248</x>
|
||||||
|
<y>254</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>157</x>
|
||||||
|
<y>274</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>buttonBox</sender>
|
||||||
|
<signal>rejected()</signal>
|
||||||
|
<receiver>Settings</receiver>
|
||||||
|
<slot>reject()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>316</x>
|
||||||
|
<y>260</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>286</x>
|
||||||
|
<y>274</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
</ui>
|
Loading…
Reference in New Issue