Commit Graph

974 Commits

Author SHA1 Message Date
Blubbz0r 2ffffdfdd8 Refactoring
Removed PrintReport and PrintPreview slots from mainwindow. Print
actions will instead be directly connected to reultsview.
2015-04-18 17:37:13 +02:00
Blubbz0r 2eb0832ac2 Refactoring
Adjusted documentation of PrintableReport
PrintableReport no longer provides the formatted report as QTextDocument
but as plain QString (so that the caller can decide how to deal with the
text)
2015-04-17 16:46:58 +02:00
Blubbz0r ecf04c90e4 Added print and print preview functionality
Added Print... and Print Preview... actions to main window
Added PrintableReport responsible for formatting of ErrorItems and
exposing of a QTextDocument that can be used for printing
2015-04-17 16:33:52 +02:00
Jakub Melka b7d92a4fc7 Fixed warnings of CppCheck's own code (caused by new check #695) 2015-03-08 18:18:09 +01:00
XhmikosR 143c5d4875 GUI: Remove bogus period.
[ci skip]
2015-03-07 09:49:07 +02:00
Luis Díaz Más 22424ba54a Add CMake files 2015-02-13 19:00:14 +01:00
PKEuS fb58718ad1 GUI: fixed handling of language in settings dialog (#6435) 2015-01-21 18:35:00 +01:00
Matthias Krüger bd7765e008 gui: cppcheck_es.ts: revert from filemode 755 (exectuable) back to 644. 2015-01-21 13:09:24 +01:00
ngosang f82dcc0523 Updated spanish translations 2015-01-21 06:12:03 +01:00
Samir Aguiar 141a071792 * Added Clang-related flag to gui.pro
* Updated external lib location with PWD variable
2015-01-20 19:20:00 +01:00
PKEuS 70ace39a80 Implemented changes from 787cbcb02e in GUI 2015-01-10 22:51:45 +01:00
Alexander Mai d72fbdda27 Fix compiler warnings about incomplete handling of library error codes 2015-01-06 18:10:19 +01:00
Thomas Jarosch 1ef1143609 Make local functions static 2015-01-05 01:25:49 +01:00
PKEuS e4c7b0f831 Ran lupdate gui.pro 2015-01-03 12:46:28 +01:00
Daniel Marjamäki ff11ba9847 Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
Matthias Krüger 1c8c8e45d0 gui: icon.svg: manually fix offset and apply inkscapes "Vacuum Defs" functionality to reduce file size from 113675 b to 3906 b. 2014-12-21 12:24:57 +01:00
Daniel Marjamäki 051d42ae6b astyle formatting 2014-11-20 14:20:09 +01:00
orbitcowboy f5d804f71a running astyle 2014-11-20 10:13:03 +01:00
Robert Reif e2f72b4cb1 Fixed #6215 (Move Windows platform types into library) 2014-10-19 07:34:40 +02:00
PKEuS c395512ea6 Ran lupdate gui.pro, updated german translation 2014-10-18 11:03:12 +02:00
orbitcowboy c3c8132bbd Fixed gcc warning: mainwindow.cpp: In member function ‘Settings MainWindow::GetCppcheckSettings()’:
mainwindow.cpp:575:24: warning: enumeration value ‘UNSUPPORTED_FORMAT’ not handled in switch [-Wswitch]
                 switch (error.errorcode) {
                        ^
2014-09-30 08:07:50 +02:00
Lauri Nurmi 1cc872f5b2 Change "obsolete" in all filenames into "obsolescent", and also update all references to such files.
Neither the C standard, the C++ standard, or POSIX talks about "obsolete". All of them use the word "obsolescent", which is a different word with a different meaning.
2014-09-23 16:18:04 +02:00
PKEuS 495709376e lupdate gui.pro; updated german translation 2014-08-02 11:10:45 +02:00
Daniel Marjamäki 6f6642dcc5 GUI: In win32, use Win32W instead of Win32A as default platform 2014-06-16 06:30:42 +02:00
Daniel Marjamäki e3c45334d9 Fixed #5585 (GUI: Project file -dialog lists all .cfg files as config libraries) 2014-06-14 21:17:04 +02:00
Daniel Marjamäki 5471185781 GUI: save platform setting 2014-06-14 18:47:19 +02:00
XhmikosR 610f099487 GUI: Minor image compression improvements.
Before: 24.321 bytes
After:  24.272 bytes

[ci skip]
2014-05-28 08:17:47 +03:00
Daniel Marjamäki ae6c97eb39 GUI: Show validation errors when loading library fails. Ticket #5847 2014-05-26 20:16:19 +02:00
Daniel Marjamäki ed78d3e148 Library: Better error reporting when loading fails 2014-05-26 17:00:41 +02:00
Daniel Marjamäki d3dbfad131 GUI, manual: some clarifications how custom user .cfg files are used (Ticket: #5847) 2014-05-25 13:24:07 +02:00
PKEuS 8b180bc950 Ran lupdate gui.pro 2014-05-10 12:07:04 +02:00
Daniel Marjamäki 9a92a4d950 Cleanup. Remove unused argument. 2014-05-03 17:30:56 +02:00
Daniel Marjamäki 935b37da0e Fixed #5515 (Crash on Preferences/Applications) 2014-05-02 07:16:10 +02:00
Daniel Marjamäki 45ac1db175 GUI: set data dir before translations are loaded, before data dir is set they will not be found. 2014-05-01 14:21:17 +02:00
PKEuS 4ad7ef69c6 Updated german translation
ran lupdate gui.pro
Reverted accidential change in checkio.cpp
2014-03-28 19:06:48 +01:00
Daniel Marjamäki f3622f729c GUI: Added DATADIR setting. Related with #5513 2014-03-19 19:34:20 +01:00
Daniel Marjamäki 2ac2dcf392 GUI: fixed compilation, changed gcc flags 2014-03-08 14:10:12 +01:00
Daniel Marjamäki f991c8fd02 GUI: only show a library once in the projectfiledialog 2014-03-08 14:04:58 +01:00
Daniel Marjamäki 33e6c1bf53 GUI: use -std=c++0x with gcc compiler no matter if os is unix or windows 2014-03-08 13:45:40 +01:00
Matthias Krüger a9df4a3288 man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
Daniel Marjamäki fd3a8a2a18 Update copyright 2014-02-15 07:45:39 +01:00
Daniel Marjamäki 85b6495cce value flow: fixed comments 2014-01-23 19:40:47 +01:00
Xuecheng Zhang 50d0aa1870 GUI: fix SuggestLanguage for zh_CN 2014-01-23 06:32:41 +01:00
Daniel Marjamäki cda9b409ef GUI: List embedded cfg files in project dialog 2014-01-18 09:21:06 +01:00
Daniel Marjamäki 2ef95fc794 GUI: use debug mode 2014-01-18 08:50:22 +01:00
Mika Attila d642faf1d8 gui: Only load embedded translation if it doesn't exist in lang/
This makes it easier to test/override translations
2014-01-16 13:04:59 +01:00
Mika Attila 6a97da9871 gui: Embed the language files into the executable
This allows for:
- Out-of-source builds
- Easy installation
2014-01-15 14:35:26 +01:00
Daniel Marjamäki 037a0ba986 GUI: change -std=c++11 to -std=c++0x as it's more backwards compatible 2014-01-12 15:46:22 +01:00
Daniel Marjamäki 9c088c2dd6 gui.pro: add -std=c++11 to linux builds 2014-01-12 13:51:08 +01:00
Daniel Marjamäki f0743d3bc4 GUI: add the cfg files in the resources. use these as fallback when normal loading fails. 2014-01-11 08:38:26 +01:00
PKEuS e133bdded6 Updated (german) translation 2014-01-04 10:20:45 +01:00
Alexander Mai 12df5300ba Fixed #5290 (Doxygen fixes (32be409)) 2014-01-01 20:46:00 +01:00
Daniel Marjamäki 93b8a261a2 GUI: Add some sorting in the suppressions handling 2013-12-31 11:00:01 +01:00
Daniel Marjamäki 14d65f212f GUI: Refactoring the loading of libraries in mainwindow 2013-12-31 10:46:44 +01:00
Daniel Marjamäki 803182bf45 Reverted 'GUI: Added CFGDIR qmake flag' there are various installation problems and this only fixes one of them. 2013-12-31 10:35:34 +01:00
Daniel Marjamäki 24a9da3771 GUI: Add suppressions to project file 2013-12-30 22:32:50 +01:00
Daniel Marjamäki c143b02e67 GUI: Added CFGDIR qmake flag 2013-12-30 09:01:44 +01:00
Daniel Marjamäki ac91aa4fdf GUI: Load user-selected library properly 2013-12-30 00:23:42 +01:00
Daniel Marjamäki bf8bb29938 GUI: Allow user to choose any available library file 2013-12-30 00:05:03 +01:00
Daniel Marjamäki 9698387d3a GUI: Add libraries setting to project 2013-12-29 18:06:31 +01:00
Daniel Marjamäki 562387e3ff library: use extensions when loading std.cfg and posix.cfg 2013-12-26 13:18:54 +01:00
Daniel Marjamäki 6785f07458 GUI: Use tr() to make visible strings translatable. 2013-12-26 11:24:05 +01:00
Daniel Marjamäki 4131c621c9 Fixed #5254 (Warn about missing library files (.cfg)) 2013-12-26 11:15:28 +01:00
Lucas Manuel Rodriguez a15561d7eb Update Spanish GUI translation file with Qt Linguist 2013-12-25 17:38:55 -03:00
Daniel Marjamäki 76b907fe65 Fixed #5252 (Improve check: use Library to validate function arguments in invalidFunctionUsage) 2013-12-23 10:06:45 +01:00
XhmikosR 38471babf9 Reduce variable scope. 2013-11-05 08:10:44 +02:00
XhmikosR 549e464dcf Run lupdate. 2013-10-23 09:05:39 +03:00
Elbert Pol c6a628249a GUI: Improved translation 2013-10-19 18:12:10 +02:00
PKEuS 7d39a2d8bd Ran lupdate gui.pro 2013-10-12 12:33:03 +02:00
Daniel Marjamäki 2b3e1a28d8 Reverted 4f76f8f558 (GUI: wrong multiselection behaviour) 2013-09-07 19:38:40 +02:00
Daniel Marjamäki 6e536b9e35 astyle formatting 2013-08-21 22:53:46 +02:00
Daniel Marjamäki 4f76f8f558 Fixed #4606 (GUI: Allows selection of multiple directories then does nothing) 2013-08-21 22:51:33 +02:00
PKEuS 2413655d3d Moved GUI translations into subdirectory /lang 2013-08-03 20:21:13 +02:00
PKEuS 5a92af2556 lupdate gui.pro 2013-08-03 19:05:15 +02:00
Daniel Marjamäki 0c5e39a813 Library: Added configuration file std.cfg that clients should load. 2013-07-20 17:12:56 +02:00
Daniel Marjamäki 941da42cfd GUI: updated swedish translation 2013-07-20 16:01:02 +02:00
Kimmo Varis d1ec81771c Fixed 3191 (GUI: Does not compile against Qt 5) 2013-07-13 09:16:15 +02:00
XhmikosR 849292f821 Run lupdate. 2013-07-06 17:19:36 +02:00
Daniel Marjamäki bafdb80110 Revert "GUI: Added --std setting for GTK"
This reverts commit 5f5fdab650.

The --std setting for GTK has been removed
2013-07-05 21:53:19 +02:00
vBm 8340d32460 Update Serbian localization 2013-06-30 16:45:05 +02:00
XhmikosR d517e12043 Run lupdate. 2013-06-30 12:41:59 +02:00
XhmikosR 850cfe2be2 Compress gui/images/go-home.png a little more. 2013-06-30 12:41:59 +02:00
Daniel Marjamki 5f5fdab650 GUI: Added --std setting for GTK 2013-06-29 19:40:22 +02:00
Zachary Blair a381170886 Fixed #4874 (Minor spelling corrections) 2013-06-26 00:47:02 -07:00
Daniel Marjamäki 02fbf15557 Fixed #4855 (GUI: The checking of the file will be interrupted because there are too many #ifdef configurations.) 2013-06-18 14:14:33 +02:00
Дмитрий Старцев c5d33e163c GUI: Updated russian translation 2013-06-17 19:48:29 +02:00
XhmikosR 17b4a906ea gui: losslessly compress images with https://github.com/subzey/zopfli-png 2013-05-08 18:36:35 +02:00
PKEuS a94598e447 Fixed some gcc and cppcheck messages 2013-03-05 07:07:59 -08:00
PKEuS f1ad74da80 Ran lupdate gui.pro 2013-03-02 09:09:04 -08:00
PKEuS 30bdab5d8d Added support for new code standard options to GUI (#4132) 2013-03-02 04:01:21 -08:00
PKEuS b1b2b9b66b Use standard Qt buttons in LogView. Recreate LogView when changing language (#3647) 2013-03-01 12:07:34 -08:00
PKEuS a1926a8f89 Partial Fix for #3647: Provide translations for standard Qt buttons 2013-03-01 11:07:28 -08:00
PKEuS c4b711c0a7 Improved GUI translation:
- Allow translating texts before before Window is created
-> Translate help text
- Use AboutDialog instead of message box on Windows when starting GUI with -v
2013-03-01 10:11:27 -08:00
Alexander Mai dc88f20201 Implement -v and --version for GUI 2013-03-01 17:43:53 +01:00
PKEuS 4c23f0101a Updated translations:
- ran lupdate gui.pro
- Updated german translation
- Removed obsolete translations for file dialog
2013-03-01 07:10:44 -08:00
PKEuS d9f982443d Ran astyle 2013-02-19 12:39:50 -08:00
Mateusz Pusz 2f47b82090 Storing last path implemented according to received feedback 2013-02-17 19:59:57 +01:00
Mateusz Pusz c6520ffafe doxygen comments added 2013-02-17 19:59:56 +01:00
Mateusz Pusz 7301a3e64d QFileDialog last used paths storage improved 2013-02-17 19:59:56 +01:00
PKEuS 107dd31e50 Fixed calculation of statistics in GUI (#4578) 2013-02-15 07:49:36 -08:00