Commit Graph

45 Commits

Author SHA1 Message Date
PKEuS 70ad457992 New Feature "Scratchpad" added to GUI. (#4166) 2012-10-20 20:14:52 +02:00
PKEuS 8c9748063b Set notr="true" for strings that are never displayed. 2012-10-14 16:14:47 +02:00
Kimmo Varis 2356e593e0 GUI: Add menu items for selecting standards.
This commit adds menuitems for selecting standards:
 - C++11
 - C99
 - Posix

Fixes tickets:
 #3203 (GUI: Support std=c99)
 #3202 (GUI: Support std=posix)
2011-12-27 22:12:52 +02: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 2d483b698f GUI: Add menu-selection for the checked platform.
This is quick and dirty patch to add the platform selection for
the GUI. It is simple menu selection in Check-menu. It always
defaults to "Default" at startup. And it forget the selection
when the application is closed.

Ticket: #3119 (GUI: add ability to specify platform type)
2011-09-29 22:50:49 +03:00
Kimmo Varis ee988a0689 GUI: Filter toolbar didn't have a title.
Ticket: #2922 (GUI: Filter toolbar does not have a title)
2011-07-20 13:24:37 +03:00
Kimmo Varis 04652e75df GUI: Add most recently used projects to menu.
Add MRU items for project files to File-menu. When user creates
a new project file or opens existing project file it is added to
the list of recently used projects. Last 5 projects are remembered
and available for quick acess in the File-menu.
2011-05-12 12:34:23 +03:00
Zachary Blair 79370258df Fixed #2758 ([GUI] Provide a means to filter results based on a search string) 2011-05-03 22:30:54 -07:00
Kimmo Varis 85a700b496 GUI: Remove Language-menu.
We now have language selection in Settings-dialog.
2011-01-10 00:52:02 +02:00
Kimmo Varis 8a81022a30 GUI: Use simple "Errors" instead of "Common errors".
We have only one "error" category nowadays so we don't need to
separate different error categories anymore.
2010-12-27 11:42:17 +02:00
Kimmo Varis ba38f73168 GUI: Improve toolbar button tooltips. 2010-12-27 11:38:43 +02:00
Kimmo Varis f150f1ba05 GUI: Add GUI for showing 'portability' warnings.
Add menuitem, icon and toolbar button for portability warnings.
Ticket #2359 (Gui: Show portability warnings).
2010-12-27 11:06:31 +02:00
Kimmo Varis a73970483d GUI: Add "Information" errors items to menu and toolbar. 2010-12-26 15:23:55 +02:00
Kimmo Varis 84180e4fcd GUI: Change Style-warnings icon.
I want to use the current Style-warning icon for Information
messages. So change the Style-warning icon first to new
icon.
2010-12-26 15:23:54 +02:00
Zachary Blair 6b9d9188c9 Fixed #1861 (GUI: Allow hiding error) Disabled menu item when not applicable 2010-11-24 00:48:07 -08:00
Zachary Blair a16c0dbd5e Fixed #1861 (GUI: Allow hiding error) 2010-11-21 10:55:34 -08:00
Kimmo Varis 23eb8c41eb GUI: Add icons for warning/performance categories and add them to toolbar. 2010-10-18 21:35:35 +03:00
Kimmo Varis aefa7d3370 GUI: Shorten menutexts for error/style items.
Items located in 'View' menu don't need 'Show' word as View-menu name
already implies it is about viewing items.
2010-10-18 20:58:04 +03:00
Kimmo Varis bee8d15848 GUI: Add support for warning and performance -error types. 2010-10-18 20:50:34 +03:00
Zachary Blair 15b4cab4bb Fixed #1934 (GUI: Add checking info display) 2010-08-31 23:33:19 -07:00
Kimmo Varis c8e073576c GUI: Add icon for Open Project and add it to toolbar. 2010-08-19 17:47:27 +03:00
Kimmo Varis 0f4d067926 GUI: Add menuitem to edit open project file.
Earlier we opened project file only for editing. But now that we
really use project files we need separate feature for editing
them.
2010-08-15 16:12:32 +03:00
Kimmo Varis ab1aaf9a45 GUI: Add menuitem to close open project file. 2010-08-15 12:12:28 +03:00
Kimmo Varis 7e88d7b41d GUI: Add simple log view.
Adding a simple log view which shows log messages the core code
emits.
2010-07-16 17:48:13 +03:00
Kimmo Varis 1504747030 Merge branch 'master' into projfile-gui
Conflicts:
	gui/cppcheck_de.ts
	gui/cppcheck_en.ts
	gui/cppcheck_fi.ts
	gui/cppcheck_nl.ts
	gui/cppcheck_pl.ts
	gui/cppcheck_ru.ts
	gui/cppcheck_se.ts
	gui/gui.pro
	gui/main.ui
2010-07-11 19:43:31 +03:00
Kimmo Varis 5e14abf735 GUI: Read errors from report XML file.
This commits adds new "Open XML" item to File-menu. Selecting this
menuitem allows user to select report file to open. When the file is
read the error data is printed to debug output. Later patches will
implement adding error data back to the GUI.
2010-07-10 16:37:36 +03:00
Kimmo Varis 25a9c75287 GUI: Allow creating new project file.
Add new "New project file" item to File-menu and rename existing
"Project File" item to "Open Project File". Selecting new file
opens empty project file dialog. When the dialog is then closed
the user is asked to select a filename for the new project file.
2010-07-08 18:59:06 +03:00
Kimmo Varis 34d0ff73d8 GUI: Add dialog for editing project file.
This commit adds the dialog and code that reads the project file data
to the dialog. The changed data is not yet saved back to the file.
2010-07-07 21:18:42 +03:00
Kimmo Varis 9296c717f3 GUI: Change UI file to LF EOLs.
In previous commit I accidentally committed the UI file with CRLF EOLs.
2010-07-03 20:29:09 +03:00
Kimmo Varis 77a34643e2 GUI: Refactoring toolbar member names to be more consistent. 2010-07-03 20:03:53 +03:00
Kimmo Varis 3f04aebf7c GUI: Add View-menu item for showing/hiding Categories-toolbar. 2010-07-03 19:37:09 +03:00
Kimmo Varis 1faf3b0078 GUI: Move menuitem to hide/show main toolbar to own submenu. 2010-07-03 15:33:43 +03:00
Kimmo Varis e0c49e4eae GUI: Add new toolbar for error/warning categories.
This commit adds new toolbar to the GUI for fast and easy switching of
different warning//error categories. The icons are currently just
placeholders until more descriptive icons are created.
2010-07-03 14:19:02 +03:00
Kimmo Varis c5a3b306e4 GUI: Rename main toolbar in code. 2010-07-03 13:11:38 +03:00
Kimmo Varis 5d55bc0581 GUI: Remove remains of "possible error". 2010-07-03 12:58:56 +03:00
Kimmo Varis 2584c6390a GUI: Remove "Show security errors" action.
There was no code using this, just GUI action for it.
2010-07-03 12:42:51 +03:00
Kimmo Varis 35e655590c GUI: Remove remains of "all style".
Earlier "all style" was just removed as menu item but all the code related
was left in place. This commit actually removes the now unneeded code.
2010-07-03 11:48:25 +03:00
Daniel Marjamäki d7db82293e gui: removed options for possible error/style 2010-04-10 15:32:22 +02:00
Kimmo Varis 279e66a1d6 Open HTML help from Help-menu in Windows. 2010-02-23 17:50:59 +02:00
Moritz Barsnick f005d674ec Fixed #1334 (gui build fails) 2010-02-16 21:13:59 +01:00
Kimmo Varis f6d2445e16 Add 'possible style error' severity for the GUI.
Fixes ticket #436 (GUI: All style -severity). The possible style errors can be now selected visible / hidden so all severities have their own menu item.
2009-08-02 15:00:22 +03:00
Kimmo Varis 635acfa2ab GUI: Remove security-category.
The security-category was removed from core in commits 03f3ee62a0 and 11bc5195b8.
2009-07-13 16:47:38 +03:00
Vesa Pikki 8f516a5638 Checks if toolbar is closed when opening view menu.
Basically just reverted back Kimmo's code that was lost in merge.
2009-07-02 20:13:22 +03:00
Vesa Pikki e1701d5b27 Removed unused statusbar. 2009-07-02 19:55:25 +03:00
Vesa Pikki ebfa55b1c3 Began adding translations and using Qt Designer .ui files.
Also added QSetting value names to common.h

Work is halfway on both translations and .ui files.

I added a very quick and rough finnish translation.

The program now requires the translation files to be created before running
that can be done with lrelease gui.pro.

To compile the whole GUI one must do the following
cd gui
qmake
lrelease gui.pro
make
2009-07-02 11:33:28 +03:00