Commit Graph

138 Commits

Author SHA1 Message Date
firewave 57201cf8d5 gui.pro: disable precompiled headers for older VS versions 2020-09-13 23:06:45 +02:00
firewave 56c4546ede added precompiled header for qmake 2020-09-13 20:57:51 +02:00
firewave be45abe6be gui.pro: aligned qmake warnings with make ones 2020-09-13 20:57:51 +02:00
Daniel Marjamäki 262d37fb47 windows installer: another attempt to make help work. the 'contents' are shown now but for some reason the 'index' is not. 2020-08-28 19:05:11 +02:00
Daniel Marjamäki 6277eece67 Variable contracts 2020-08-24 20:57:49 +02:00
Daniel Marjamäki 14dfa035c1 GUI: Try to reuse Qt Assistant to show help 2020-08-01 18:56:37 +02:00
Daniel Marjamäki d7f9dc25cd Quick fix for Travis problems. Skip building gui online-help. 2020-07-20 19:19:37 +02:00
Daniel Marjamäki 65742b9779 gui.pro: build help 2020-07-20 12:43:08 +02:00
Daniel Marjamäki 09241030c3 GUI: Add online help 2020-07-20 11:59:28 +02:00
Daniel Marjamäki dae009ca01 GUI: Try to improve usability for function contracts 2020-04-27 17:36:17 +02:00
Daniel Marjamäki 0bf9858d57 compiling; you can put z3 files in externals/z3 2020-02-11 17:42:40 +01:00
Daniel Marjamäki 125c4832cd appveyor: download and install z3 so the gui can be built 2020-02-10 11:19:18 +01:00
Daniel Marjamäki 25b5304efc GUI: Simple first hack to allow bughunting in the GUI 2020-02-04 21:20:43 +01:00
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