Commit Graph

32 Commits

Author SHA1 Message Date
Tobias Hunger
ce8b7f976a Fix warning on windows 2010-03-30 13:49:08 +02:00
Thorbjørn Lindeijer
2d21060bc9 Added icons to options dialog categories
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
Thorbjørn Lindeijer
d6b67fb290 Reorganized Options dialog into categories and tabs
Instead of using a tree based options hierarchy.

Task-number: QTCREATORBUG-954
Reviewed-by: Friedemann Kleint
2010-03-26 17:47:31 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
Thorbjørn Lindeijer
96707f0b92 Make the Options dialog smaller
Also removed no longer used .ui file.

Reviewed-by: Friedemann Kleint
2009-12-11 14:29:35 +01:00
Friedemann Kleint
a8ac34c347 Options: Sort by category, id.
Separate category and trCategory and introduce sorting characters
to the categories. Same for id/name.
2009-11-27 16:12:12 +01:00
Friedemann Kleint
bf73896928 SettingsDialog: Polish
Use QGridLayout to align header label and QStackedLayout for the pages
(in code, as it is not available in Designer).
Derive new class FilterLineEdit for filter widgets based on a modified
version of FancyLineEdit and use that in settings.
Rubber-stamped-by: con <qtc-committer@nokia.com>
2009-11-27 13:54:27 +01:00
ck
d790712bdc Settings dialog: Polish "reset filter" button.
Add a tool tip to the button and give it our standard icon.

Reviewed-by: Friedemann Kleint
2009-11-26 15:40:06 +01:00
Friedemann Kleint
65e11062bb Polish the settings dialog.
Add a title label to the pages. Use QGroupBoxes throughout.
Extend SavedAction to work with checkable QGroupBoxes. Polish UI files,
use common layout for VCS plugins. Performance: Apply only visited
settings pages. Add search keywords.

Task-number: QTCREATOR-26
2009-11-24 15:05:02 +01:00
Friedemann Kleint
e4a7792d6e Options dialog: Further polishing.
Task-number: QTCREATOR-26
2009-11-20 16:55:23 +01:00
Friedemann Kleint
03d0b577fd First polish of options dialog find: Set item flags, match on category.
Strip buddy markers.
2009-11-20 12:56:49 +01:00
Friedemann Kleint
9a7729ebdc Preferences: Set up infrastructure for a filter widget.
Add filter widget, use a special QSortFilterProxyModel +
StandardItemModel, add a slot selecting the page.
Add matches() to IOptionsPage.
2009-11-19 17:47:13 +01:00
Daniel Molkentin
29c073b2a3 The title of SettingsDialog should be "Preferences", not "Options" on OS X.
This conforms to the entry in the menu entry, wich already changes its
name accordingly to comply with the Apple HIG.

Also, adjusted the docs that were missing the change of location in the menu.
2009-09-17 11:45:56 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
con
6c0c75eb02 Make "preferences" dialog remember last position.
Task:     234832
2009-03-19 18:15:54 +01:00
Friedemann Kleint
bccf4a1fc3 Fixes: Introduce a cpp settingspage containing file naming conventions (lower case and suffixes). Reorder VCS settings pages.
Task: 241959, 248085

RevBy: Optics/Naming checked by con
Details: Give IOptionPage an id() to differentiate from trName(). Make showOptionsDialog return a bool (applied) and give it an optional parent. Change Cpp and form class wizards, give them a Configure... button to change those settings.
2009-03-18 16:43:01 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Thorbjørn Lindeijer
5b50ffc20d Cleaned up usages of CoreImpl::instance
The instance method has been moved to ICore, so there is generally no
need to include coreimpl.h anymore. Many objects accessed through this
core instance also had their own static instance methods.
2009-01-21 13:37:58 +01:00
hjk
897c05f57c replace Core::ICore::instance()->pluginManager() by ExtensionSystem::PluginManager::instance() 2009-01-20 15:31:33 +01:00
hjk
cc5ff1ec74 Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Thorbjørn Lindeijer
59c8b93309 Modified IOptionsPage interface for Apply button
The previous interface wasn't sufficient to properly support the Apply
button, since it didn't separate applying the changes from the cleanup
phase.

Designer settings pages still need some fixing.

Fixes Apply button causing problems for certain plugins, for example the
QuickOpen.
2009-01-13 16:03:55 +01:00
hjk
6848155c7d Fixes: Add "Apply" button to Preferences dialog
RevBy:   con
2009-01-05 13:45:30 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
Thorbjørn Lindeijer
824db4c6e7 Don't allow collapsing the settings pages
It makes no sense.
2008-12-10 13:21:10 +01:00
hjk
342caa2141 some more whitespace changes 2008-12-09 11:07:24 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
hjk
f61e8672db more cosmetic changes 2008-12-02 14:09:21 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00