Commit Graph

33 Commits

Author SHA1 Message Date
Kimmo Varis f6d2445e16 Add 'possible style error' severity for the GUI.
Fixes ticket #436 (GUI: All style -severity). The possible style errors can be now selected visible / hidden so all severities have their own menu item.
2009-08-02 15:00:22 +03:00
Kimmo Varis 2fb3b187f0 GUI: Fix GUI to recognize and use "possible error" type (was "all" earlier). 2009-07-31 22:12:05 +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 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
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 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 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 e3271115f2 GUI: Add checked directory path to main window caption. 2009-06-22 18:45:48 +03:00
Kimmo Varis 1aafeebe7b GUI: Add support for project files.
GUI reads per-project settings (automatically deallocated classes) from XML project file. The project file format is described in projectfile.txt. Example project file is added for gui.

See also forum discussion at:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=46
2009-06-22 11:57:17 +03:00
Kimmo Varis 2eff269e60 GUI: Make ThreadHandler class part of object tree. 2009-06-20 19:55:23 +03:00
Kimmo Varis 071c79c5cb GUI: Use native dialogs in Windows for check file/directory selection. 2009-06-17 22:35:24 +03:00
Kimmo Varis 195880807e GUI: Refactor menu and toolbar creation to own methods. 2009-06-15 00:48:16 +03:00
Kimmo Varis 801a241e0b GUI: Show authors list and license in simple text file view dialog.
Add "Authors" and "License" items to the Help-menu. When selected, these items open simple text file viewer dialog. The AUTHORS and COPYING files are embedded to the executable and shown in the dialog.
2009-06-14 12:57:43 +03:00
Kimmo Varis c9ceccfd3d GUI: Prevent exiting the application while checking. 2009-06-04 17:02:35 +03:00
Vesa Pikki a330e9c35f Added the initial version of saving results to a file. 2009-06-03 21:18:22 +03:00
Kimmo Varis 0178fed611 GUI: Add Collapse/Expand all -items to View-menu. 2009-06-02 01:26:44 +03:00
Kimmo Varis acedcebf25 Fix mixed EOL style. 2009-06-02 00:54:21 +03:00
Reijo Tomperi 58eda6e978 Fix ticket #325 (Replace developer names in source files with AUTHORS file)
http://apps.sourceforge.net/trac/cppcheck/ticket/325
2009-05-30 08:48:12 +03:00
Vesa Pikki 76c7290e12 Added 22x22 icons from http://tango.freedesktop.org.
Also added icon source to AUTHORS file.
Also added toolbar with the default actions.
Added icons to result files and errors.
2009-05-26 18:21:39 +03:00
Vesa Pikki de0dd0a2bb Fixed issues pointed out by Reijo.
The number of threads is now atleast 1.
Added a very simple about dialog with version number and license.
Replaced all CppCheck's with Cppcheck.
Renamed "show more errors" to "show possible false positives" in the menu.
User created application now has to have a name and a path.
2009-05-24 11:53:29 +03:00
Vesa Pikki 2d8b08d4ab Added more comments to class members and methods. 2009-05-23 19:29:24 +03:00
Vesa Pikki 2b7bf671d7 Now starts the default application by double clicking the error. 2009-05-23 18:45:05 +03:00
Vesa Pikki 78d4318c5e Added the ability to add/remove/modify applications to open errors with.
Only the list of applications added, errors cant be opened yet.
2009-05-23 13:37:30 +03:00
Vesa Pikki f0a26b3ffe Results tree now uses only QStandardItemModel for data storage.
Items are now hidden from the tree and the tree is not recreated everytime it is refreshed.
Also added test.cpp as a sample data for GUI testing.
Added Check all and uncheck all buttons to menu to show/hide all errors more easily.
2009-05-23 11:17:27 +03:00
Vesa Pikki 0953995ee3 Merged gui branch to master. 2009-03-22 19:39:44 +02:00
Vesa Pikki c6e8d61db3 Added recheck and clear results buttons. 2009-03-22 17:42:48 +02:00
Vesa Pikki 5e1994068a Added settings dialog to select what kind of errors are visible. 2009-03-22 14:32:07 +02:00
Vesa Pikki cc6cec091a Began implementing ThreadExecutor with Qt threads. Still a work in progress.
Added tr to all strings.
2009-03-01 20:44:42 +00:00
Vesa Pikki b39c15410b Began implementing a simple Qt based GUI.
Also modified astyle scripts to format gui code aswell.
2009-03-01 07:38:21 +00:00