111 Commits

Author SHA1 Message Date
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
Daniel Marjamäki
f5f7696d7d gui.pro: removed debug option that was added by mistake 2012-04-26 20:21:34 +02:00
Daniel Marjamäki
37305972fc GUI: Removed translations for english. There is no reason to translate a string from english to english. 2012-02-12 02:55:48 +01:00
Daniel Marjamäki
feb187cb02 GUI: Added ui file for the selectfilesdialog 2012-01-11 21:32:52 +01:00
Daniel Marjamäki
fb248ed270 GUI: New experimental dialog for selecting files to check 2012-01-10 22:39:22 +01:00
Kimmo Varis
a057c8f30d GUI: Fix file order in project file. 2011-12-27 21:13:16 +02:00
Ryan Pavlik
53d848da1d Remove 'help' from qmake profile
Supports cross-build using mingw-cross-env
2011-10-24 17:48:54 -05:00
Kimmo Varis
00ae7dbda3 GUI: Move ShowTypes enum to own class and file.
We are using ShowTypes around the GUI codebase so it makes sense
to have it in its own class. And the class also contains related
helper functions instead of scattering them around different
classes.

ShowTypes also contains the visibility settings for all the
GUI severities. Implementation in this commit makes ShowTypes
class to load the visibility settings when it is created. And save
the settings when it is destroyed.
2011-10-11 22:20:36 +03:00
Kimmo Varis
56f6204cf7 GUI: Make platforms in GUI more dynamic.
We have now one list for checked platforms, menu items are created
dynamically based on that list. This makes it much easier to alter
the platforms list later on.
2011-10-02 22:10:05 +03:00
Kimmo Varis
8aafe2c038 GUI: Remove dependency to QtXml. 2011-04-28 09:16:12 +03:00
Kimmo Varis
a5540e8548 GUI: Sort language files in project file. 2011-04-06 09:56:26 +03:00
Lauri Nurmi
8a4507cc55 GUI: Add Spanish translation.
Patch to add loading Spanish translation to GUI.

Ticket #2545 (cppcheck translated in spanish language)
2011-04-06 09:49:17 +03:00
Kimmo Varis
eac3a8c86c GUI: Project file cleanup. 2011-04-04 14:18:28 +03:00
Kimmo Varis
9182b8be19 GUI: Fix gui.pro EOL style. 2011-04-02 20:16:18 +03:00
Kimmo Varis
f82021d643 GUI: Improving application handling code.
Only allow access to Application's attributes through accessor
methods.
2011-04-02 16:30:46 +03:00