125 Commits

Author SHA1 Message Date
Daniel Marjamäki
8f9912d245 gui.pro: added -Wno-deprecated-declarations 2019-07-23 10:35:20 +02:00
Daniel Marjamäki
0ab3d07f75 Revert "GUI: Show information label if Cppcheck is outdated"
I plan to add something like this again after the release.
2019-06-28 22:36:19 +02:00
Daniel Marjamäki
5f759e89b3 GUI: Show information label if Cppcheck is outdated 2019-06-28 20:13:59 +02:00
Scott Furry
0d76d078e2 Implement User Selectable Code Editor Style in cppcheck-gui (#1913)
Building on #1874, commit adds user controls to choose
or edit style in cppcheck-gui ONLY. Commit does not
address CodeEditor style usage in triage app at this time.

Code Editor style can be altered from the added "Code Editor"
tab in the user preferences. The user has the option to select
default light, default dark, or to customize.

If user leaves the style set to light or dark defaults, this
will be reflected in the choices shown in the preferences
dialog.

User choice for Code Editor Style is saved in the cppcheck-gui
preferences under the heading "EditorStyle".
2019-06-23 19:04:53 +02:00
Scott Furry
32f45490e2 CodeEditor Widget Styling (#1874)
* CodeEditor Widget Styling

With profileration of Qt5 styling methods, problems with presentation
can occur when using cppcheck-gui and user choosen themes. With a dark
theme, a highlighted line in the CodeEditor appears with white text on
a light background or dark colors on a dark background.

Commit makes changes to enforce a default style on the Code Editor widget.
Mechanism is provided, if desired, where a user defined styling can
be provided to CodeEditor widget.

* CodeEditor Widget Styling

With profileration of Qt5 styling methods, problems with presentation
can occur when using cppcheck-gui and user choosen themes. With a dark
theme, a highlighted line in the CodeEditor appears with white text on
a light background or dark colors on a dark background.

Commit makes changes to enforce a default style on the Code Editor widget.
Mechanism is provided, if desired, where a user defined styling can
be provided to CodeEditor widget.

2nd commit - remove declarations in gui/codeeditorstyle.h to possibly
resolve appveyor window builds.
2019-06-08 07:23:48 +02:00
Daniel Marjamäki
a0906140a6 Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
Daniel Marjamäki
66c275e337 GUI: Added code editor for quick inspection of bugs 2018-02-17 22:24:41 +01:00
Daniel Marjamäki
f6184bba0d Fixed #8169 (GUI: Show checking log in mainwindow) 2017-08-19 22:55:13 +02:00
Rudolf Grauberger
4bde6f77ed GUI: Remove support for Qt4 in gui.pro 2017-08-13 13:38:47 +02:00
Daniel Marjamäki
c1b0a07ab3 GUI: Add a simple graph in the statistics dialog 2017-08-09 16:31:04 +02:00
Matthias Krüger
ef80aba58f gui: fix compiler selection if CXX is empty 2017-08-03 21:23:02 +02:00
Matthias Krüger
25a19b5ca7 gui: get QMAKE_CXX from CXX env var of system. 2017-08-03 18:16:39 +02:00
Daniel Marjamäki
037fc6e3a4 GUI: Remove Project class 2017-07-31 12:02:51 +02:00
PKEuS
2aa1523a2d GUI: Removed XML format version 1 2017-07-29 19:36:19 +02:00
Daniel Marjamäki
93fc489cbc GUI: rename main.ui to mainwindow.ui 2016-11-19 23:07:48 +01:00
Daniel Marjamäki
ad1b3361db GUI: Renamed projectfile.ui to projectfiledialog.ui. moved some code from project.cpp to projectfiledialog.cpp 2016-11-19 22:54:32 +01:00
PKEuS
c31f7c7a48 Improved flags in gui.pro:
- shlwapi.lib is not necessary if dynamic linking is used
- Do not define _CRT_SECURE_NO_WARNINGS explicitly, it gets defined anyway.
2016-01-31 10:10:48 +01:00
Aleksandr Pikalev
e92bbf6481 Fixed #7275 - Make GUI tests buildable
* Use -std=c++11 flag for gcc and clang
 * Use $$PWD variable in qmake files to have correct paths
 * Change tokenizer.simplifyTokenList() to tokenizer.simplifyTokenList2()
 * Add build-generated files to .gitignore
 * Link libpcre only if rules are enabled
2016-01-08 15:21:36 +01:00
Akhilesh Nema
ca3c19c63d GUI: Fixed compiler warnings 2015-12-07 11:24:54 +01:00
Daniel Marjamäki
40bd3de9b3 GUI: rewrote library dialog xml input/output 2015-09-05 11:37:55 +02:00
Daniel Marjamäki
f5c6561e18 GUI: Readd library editor 2015-09-04 20:46:26 +02:00
Daniel Marjamäki
b7bac8c920 GUI: Disable and hide library editor for now. It will be readded after the release. 2015-09-04 14:20:49 +02:00
Daniel Marjamäki
3bae4ae429 GUI: Renamed LibraryData to CppcheckLibraryData to try to avoid a name clash 2015-08-30 13:41:57 +02:00
Daniel Marjamäki
dd7c0b353d GUI: Added a dedicated dialog for LibraryDialog for configuration of function arguments 2015-08-30 13:33:43 +02:00
Daniel Marjamäki
ab4adf2836 GUI: Added a dedicated 'Add function' dialog to the LibraryDialog 2015-08-30 10:24:44 +02:00
Daniel Marjamäki
cc8939cef9 GUI: Refactoring library editor, splitting out data to separate file 2015-08-23 16:03:24 +02:00
Daniel Marjamäki
4946f772ef GUI: Add libraryeditor 2015-08-16 17:36:10 +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
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
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
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
Daniel Marjamäki
2ef95fc794 GUI: use debug mode 2014-01-18 08:50:22 +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
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
c143b02e67 GUI: Added CFGDIR qmake flag 2013-12-30 09:01:44 +01:00
Kimmo Varis
d1ec81771c Fixed 3191 (GUI: Does not compile against Qt 5) 2013-07-13 09:16:15 +02:00
Mateusz Pusz
7301a3e64d QFileDialog last used paths storage improved 2013-02-17 19:59:56 +01:00
Daniel Marjamäki
d5dfd5a006 GUI: removed my clumpsy selectfiles dialog. use the standard file selection dialog instead. 2013-01-04 10:23:16 +01:00
He Yuqi
df2523f956 Update the chinese translation. 2012-12-19 00:23:41 +08:00
PKEuS
70ad457992 New Feature "Scratchpad" added to GUI. (#4166) 2012-10-20 20:14:52 +02:00
PKEuS
b0f5b7dce0 Fixed freeze when canceling projectfile dialog when creating a new Project.
Updated gui.pro (forgot it in last commit)
2012-10-14 14:13:54 +02:00
XhmikosR
8d08c3b58b pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
PKEuS
fa5c8fb90b Added support to link cppcheck-core dynamically into GUI (use LINKCORE=yes when calling qmake) 2012-10-06 21:23:52 +02:00
Edoardo Prezioso
2bf8195a22 New language file: Italian. 2012-09-16 13:21:46 +02:00
Kimmo Varis
602c93098e GUI: Remove Polish translation.
The Polish translation doesn't have any translated text. So it is
only waste of resources to have it available. And it may confuse
some people who try it.

Ticket #4008 (GUI: Polish translation does not translate and should be removed)
2012-08-02 10:21:13 +03:00
Changkyoon Kim
9d0fb1a169 GUI: Added Korean translation 2012-07-28 15:10:39 +02:00
Ryan Pavlik
9b1ef68713 In case of Windows, tell qmake it's a windows gui app 2012-04-30 11:47:40 -05:00