Commit Graph

166 Commits

Author SHA1 Message Date
Kimmo Varis d1eb7e6558 GUI: clarify compiling instructions a bit. 2009-07-18 13:34:00 +03:00
Daniel Marjamäki 7df3670128 doc: updated doxygen comments. three groups where created - 'GUI', 'Core' and 'Checks' 2009-07-17 10:49:01 +02:00
Vesa Pikki 962757c257 Added support for checking files via commandline arguments. 2009-07-16 08:20:29 +03:00
Kimmo Varis 2dca9d438d GUI: Place intermediate resource files to temp folder. 2009-07-14 16:18:34 +03:00
Kimmo Varis 635acfa2ab GUI: Remove security-category.
The security-category was removed from core in commits 03f3ee62a0 and 11bc5195b8.
2009-07-13 16:47:38 +03:00
Daniel Marjamäki 11bc5195b8 cleanup: continued with the removing of the security. Some more work is needed but now everything compiles and runs at least. 2009-07-12 22:21:49 +02:00
Kimmo Varis dfdbf85730 GUI: Improve About-dialog layout.
Add vertical spacer above texts to that icon box becomes narrow and text box wide.
2009-07-12 14:22:56 +03:00
Kimmo Varis 17a27bd5e6 GUI: Wordwrap texts in the About-dialog.
Fixes ticket #454 (About-dialog size/text problems).
2009-07-12 11:09:50 +03:00
Daniel Marjamäki 1a97090526 Translation: Updated the translation file for swedish 2009-07-06 17:04:17 +02:00
Kimmo Varis c8493e31ef GUI: Add icons for error messages of failed report saving. 2009-07-06 12:37:54 +03:00
Kimmo Varis 3884b4f997 GUI: Make report class destructors virtual. 2009-07-06 12:33:10 +03:00
Kimmo Varis 58c21dde1c GUI: Add new CSV report type.
CSV files are handy (and commonly used) to export/import data to other programs. CSV reports allow easy import of cppcheck error data to other programs for further processing.
2009-07-06 12:30:49 +03:00
Reijo Tomperi 8b0e481d46 Refactoring: Rename member functions to follow naming guidelines. 2009-07-05 23:16:43 +03:00
Kimmo Varis 81ab6a75c3 Fix ticket #456 (GUI:: save only the results selected in view settings)
http://sourceforge.net/apps/trac/cppcheck/ticket/456
2009-07-04 22:29:48 +03:00
Reijo Tomperi 6e378615cf astyle fix 2009-07-04 15:54:28 +03:00
Vesa Pikki a7c1d99d01 I reverted back the translation file checking.
Allthough I put it after QTranslator had failed to load the translation.
This still allows QTranslator to try and open the file with several
variations of the file. To user we'll tell that the default file is missing.
2009-07-04 12:06:31 +03:00
Vesa Pikki f603dfde82 Removed an unnecessary translation file check.
It was missing the file extension and QTranslator returns false
if it was unable to find the translation file which is just as good.
QTranslator can also check for several variations of the given filename.
2009-07-04 11:13:04 +03:00
Vesa Pikki d5762b8003 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-07-04 11:07:23 +03:00
Vesa Pikki e656c951e5 Settings are now saved before window has closed.
This enables us to check if toolbar is visible or not. Earlier
we saved settings after the window was closed and checking for
toolbar visibility was not feasible anymore.
2009-07-04 11:06:29 +03:00
Kimmo Varis 462117485d GUI: Read include directories from project file. 2009-07-04 01:38:47 +03:00
Kimmo Varis 3b1c9098b8 GUI: Show instructions instead of error when viewer application is not configured. 2009-07-03 17:46:39 +03:00
Kimmo Varis f1847e736d GUI: Further improve error message for lang file not found.
Not being able to switch language is critical error, not just warning. Also show full file name (with extension) of the file not found.
2009-07-03 17:20:54 +03:00
Kimmo Varis 8c2f5b42df GUI: Check translation file exists before loading it.
This allows more accurate error message for the user.
2009-07-03 14:18:35 +03:00
Kimmo Varis e2248c35f9 Fix EOL style for gui/resultsview.ui that got converted to Windows style.
Apparently QT Creator blindly converts file EOL style without any warning to user.
2009-07-03 13:44:45 +03:00
Kimmo Varis a155d895fd GUI: Remove doubled margin from main window.
The main window sets default margin for central widget. And layout was setting another margin so margin was doubled.
2009-07-03 12:57:25 +03:00
Kimmo Varis 71eaf8f58f Remove unused variable. 2009-07-03 10:56:08 +03:00
Vesa Pikki 7a4115236a TranslationHandler now suggests a language based on sysytem locale.
Also made sure toolbar visibility is updated before saving settings.
2009-07-02 23:41:37 +03:00
Vesa Pikki a415ab1e5c Added missing license texts. 2009-07-02 21:28:05 +03:00
Vesa Pikki 27d630f58d Disabling progressbar if stop button is pressed.
This actually had no visible effect on KDE.
2009-07-02 20:23:44 +03:00
Vesa Pikki 8f516a5638 Checks if toolbar is closed when opening view menu.
Basically just reverted back Kimmo's code that was lost in merge.
2009-07-02 20:13:22 +03:00
Vesa Pikki e1701d5b27 Removed unused statusbar. 2009-07-02 19:55:25 +03:00
Vesa Pikki 7e043b182d Fileview dialogs now use Qt Designer ui files.
Translation also updated.
2009-07-02 19:46:26 +03:00
Vesa Pikki 8694f6e982 About dialog now uses Qt Designer ui file.
Updated translations again.
2009-07-02 19:36:45 +03:00
Vesa Pikki 7d2c26bd25 Merge branch 'master' of git@github.com:danmar/cppcheck
Conflicts:
	gui/mainwindow.cpp
2009-07-02 19:16:50 +03:00
Vesa Pikki 32725c872e Updated the translation files. 2009-07-02 19:15:34 +03:00
Vesa Pikki e973f9653b Settings dialog and application dialog now use Qt Designer ui files. 2009-07-02 19:14:12 +03:00
Kimmo Varis df7ca21a31 Astyle fixes. 2009-07-02 18:57:09 +03:00
Kimmo Varis 85d89c29c0 GUI: Add homepage URL to About-dialog. 2009-07-02 18:56:18 +03:00
Vesa Pikki 97508ade3f Added ui files for Settings and Application dialogs.
The code doesn't use those at the moment though.
Updated the translation files aswell.
2009-07-02 14:12:22 +03:00
Vesa Pikki 1daba9e913 Error types are now translated aswell. 2009-07-02 13:48:32 +03:00
Vesa Pikki 4206a9d218 Toolbar can now be hidden.
Treeview's headers will now be translated when language changes.
2009-07-02 11:46:26 +03:00
Vesa Pikki ebfa55b1c3 Began adding translations and using Qt Designer .ui files.
Also added QSetting value names to common.h

Work is halfway on both translations and .ui files.

I added a very quick and rough finnish translation.

The program now requires the translation files to be created before running
that can be done with lrelease gui.pro.

To compile the whole GUI one must do the following
cd gui
qmake
lrelease gui.pro
make
2009-07-02 11:33:28 +03:00
Kimmo Varis b245b7a832 GUI: Do not make settings names translatable.
Having translated settings names is a bad idea. If user changes GUI language one loses settings. Also settings might be exported/imported and translated names might not work between systems/users.
2009-07-02 02:02:34 +03:00
Kimmo Varis c79d50a710 GUI: Remember standard toolbar visibility (add it to settings). 2009-07-02 00:05:09 +03:00
Kimmo Varis 23b816f43b Astyle fixes. 2009-07-01 23:47:38 +03:00
Kimmo Varis 4644f8b841 GUI: Add View-menu item to show/hide standard toolbar. 2009-07-01 23:46:42 +03:00
Kimmo Varis d029a50833 Fix couple of typos in comments. 2009-06-27 10:43:03 +03:00
Kimmo Varis 64f304684f GUI: Remove GUI for showing unused functions.
Implements ticket #443 (Remove checking of unused functions from GUI) https://sourceforge.net/apps/trac/cppcheck/ticket/443
See also ticket #434
https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 10:41:30 +03:00
Kimmo Varis 64f88f147c GUI: Disable checking unused functions.
Implements ticket #443 (Remove checking of unused functions from GUI)
https://sourceforge.net/apps/trac/cppcheck/ticket/443
See also ticket #434
https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 10:30:32 +03:00
Reijo Tomperi f740277ce5 Fixed compile error in Linux
Include guard naming fix (names starting with underscore+capital letter are reserved in C++, so we should not use those)
Codeblocks project file update
2009-06-24 23:49:38 +03:00