Commit Graph

72 Commits

Author SHA1 Message Date
Kimmo Varis 3142a73fd9 GUI: Limit application name's max length. Limit the application name in Applications-dialog to 100 chars. Nobody should need longer names especially when the application name is shown as a menuitem. 2009-06-06 13:07:53 +03:00
Kimmo Varis db17236000 GUI: Make Settings-dialog a parent of Add Application-dialog. 2009-06-06 12:57:16 +03:00
Kimmo Varis 13eb74173c GUI: Make mainwindow parent of Settings-dialog. 2009-06-06 12:51:14 +03:00
Kimmo Varis 3e0f1a5e56 GUI: Astyle fix. 2009-06-06 12:49:59 +03:00
Kimmo Varis 3b080e5b0b GUI: Convert native path to internal presentation.
If application path is edited by hand there can be native Windows path separators. Unify path separators to internal presentation before storing the path.
2009-06-06 11:38:48 +03:00
Kimmo Varis d0757c5797 GUI: Fix handling UTF-8 strings in sources.
Our source files are UTF-8 and as such contain some chars outside 7-bit ASCII. To handle UTF-8 correctly we must set text codec for QT to UTF-8.
2009-06-06 10:51:50 +03:00
Reijo Tomperi 51349d126b UTF-8 fixes to GUI files
aboutdialog.* added to codeblocks projectfile
2009-06-05 23:52:05 +03:00
Kimmo Varis 8470cdafc0 GUI: Fix warning from About-dialog layout. 2009-06-05 12:29:02 +03:00
Kimmo Varis 9b5350e369 GUI: Enable sorting in results view. 2009-06-04 17:46:19 +03:00
Kimmo Varis 0fe601a1c9 GUI: Improve Settings-dialog layout. 2009-06-04 17:20:01 +03:00
Kimmo Varis c9ceccfd3d GUI: Prevent exiting the application while checking. 2009-06-04 17:02:35 +03:00
Kimmo Varis 6d37cd0371 GUI: Add program icon to the About-dialog. 2009-06-04 16:03:36 +03:00
Kimmo Varis d5a5df7fe6 GUI: Add About-dialog.
Replace messagebox containing about-text with dialog. About-dialog must contain copyright information.
2009-06-04 15:35:41 +03:00
Kimmo Varis 62741bfd4a Remove some empty lines. 2009-06-04 13:07:21 +03:00
Vesa Pikki 95c9fe5d20 Added a missing include. 2009-06-03 21:42:43 +03:00
Vesa Pikki a330e9c35f Added the initial version of saving results to a file. 2009-06-03 21:18:22 +03:00
Reijo Tomperi 2a7470e986 Changed EOL character to LF in a few files. 2009-06-02 23:32:58 +03:00
Reijo Tomperi 5ca3ba59d5 astyle fix 2009-06-02 23:13:29 +03:00
Kimmo Varis 027c31f39c GUI: Implement stopping the compare.
Threads must be exited from check cleanly even though it takes small amount of time. Just terminating thread can have unpredictable side-effects (even weird crashes).
2009-06-02 02:01:53 +03:00
Kimmo Varis e791d1c960 Fix mixed EOL style. 2009-06-02 01:39:52 +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
Kimmo Varis 88c16ab226 Fix mixed EOL style. 2009-06-02 00:52:14 +03:00
Kimmo Varis fb53806172 Fix mixed EOL style. 2009-06-02 00:49:15 +03:00
Kimmo Varis a89380e93d GUI: Include result tree icons to resource (and executable). 2009-06-02 00:06:44 +03:00
Kimmo Varis fba1102689 GUI: Add manifest for Windows build. 2009-05-30 20:49:17 +03:00
Kimmo Varis 997872f624 GUI: Fix building with MinGW.
Add shlwapi library to qmake project file. Use WCHAR instead of wchar_t.
2009-05-30 20:45:51 +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
Kimmo Varis 31c68ffb5a Fix EOL style (had Unix/DOS) mixed style. 2009-05-28 18:30:20 +03:00
Kimmo Varis f5730d3d75 GUI: Fix typo in Add New Application -dialog. 2009-05-28 18:14:16 +03:00
Kimmo Varis 44e5985fe5 GUI: Add separator in View-menu before check/uncheck all. 2009-05-28 18:10:09 +03:00
Kimmo Varis 0792b52c6e GUI: Add application icon for Windows. 2009-05-28 17:54:07 +03:00
Kimmo Varis 04226295a0 GUI: Use PNG icon instead of SVG icon for Check directory -action. 2009-05-28 16:30:44 +03:00
Kimmo Varis d73ab89c93 Add icon files to resource file.
Having resource files compiled in the executable makes installing the application easier (especially on Windows).
2009-05-28 11:32:32 +03:00
Vesa Pikki 4f41adf45e Astyle formatting. 2009-05-26 18:23:06 +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
Daniel Marjamäki c7c9966fa3 renamed the logo files to icon instead 2009-05-25 18:54:15 +02:00
Daniel Marjamäki d21f309d61 logo: modified the logo so it looks better when used as mainicon for the gui program 2009-05-25 18:07:24 +02:00
Vesa Pikki 1173854c6f GUI now uses Cppcheck's logo. 2009-05-25 16:00:42 +03:00
Vesa Pikki d9c36eada2 Astyle formatting. 2009-05-24 12:09:37 +03:00
Vesa Pikki 04b23b582c User can now undo changes to application list by clicking cancel. 2009-05-24 12:09:31 +03:00
Vesa Pikki 9bb0cff511 Astyle formatting. 2009-05-24 11:55:54 +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 70c32c10e4 Added the initial version of opening a error with user specified application. 2009-05-23 14:26:04 +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 ae7fc7fe3e When adding a new error, only hides it and doesn't check all errors. 2009-05-23 11:33:38 +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 63000e57d1 Updated new cppcheck files to project file. 2009-05-23 07:56:50 +03:00