Commit Graph

32 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
31d62997c7 Use a sheet on Mac for confirming deletion of a color scheme
By splitting out the confirmation to a different slot, so that the
dialog can be window-modal.

Also changed from Yes/No button to Cancel/Delete button, which is
clearer to the user.

Reviewed-by: Norwegian Rock Cat
2009-07-22 14:46:21 +02:00
Thorbjørn Lindeijer
8908c33398 Fixed compile warning about unused variable 2009-07-21 10:51:16 +02:00
Thorbjørn Lindeijer
cc6fec2bf8 Made it possible to choose a name when copying a color scheme
Based on a window-modal input dialog, so that it appears as a sheet on
the Mac.

Reviewed-by: Norwegian Rock Cat
2009-07-20 17:08:02 +02:00
Thorbjørn Lindeijer
60905c485f Embedded the color scheme editor in the options dialog again
With the new representation it fits fine, and this is a bit more
convenient for the user.
2009-07-20 17:08:02 +02:00
Thorbjørn Lindeijer
55d40713a6 Display the list of color schemes in a combo box
This is to make some room for embedding the color scheme editing back in
the options dialog.
2009-07-17 17:28:56 +02:00
Thorbjørn Lindeijer
96bff6ea90 Cleaned up creation of new color scheme files
The creation of the styles directory was in two places and the importing
of an old customized style didn't have any safety when the name
'customized.xml' already existed.
2009-07-15 15:41:44 +02:00
Thorbjørn Lindeijer
c1198e5ab9 Added importing of customized color schemes from the ini file
So people's customized color schemes don't get lost, but get converted
to the new format instead.
2009-07-15 15:08:35 +02:00
Thorbjørn Lindeijer
8cc916a0ca Added categories for occurrences and for renaming occurrences
So they can be adapted in the color schemes.
2009-07-14 10:38:41 +02:00
Thorbjørn Lindeijer
224d457aaa Made cloning, deleting and editing of color schemes functional 2009-07-13 14:22:27 +02:00
Thorbjørn Lindeijer
c6d4663ddb Implemented reading the name of the color scheme 2009-07-13 14:22:27 +02:00
Thorbjørn Lindeijer
947b719e69 Made selecting the color scheme functional
Also, defaults formats are now applied to any format that hasn't been
defined in the color scheme file. This allows a color scheme to fall
back on the default selection color, for example.
2009-07-13 14:22:27 +02:00
Thorbjørn Lindeijer
065689478c Introduced a ColorSchemeReader class for reading color scheme files 2009-07-13 14:22:27 +02:00
Thorbjørn Lindeijer
0e70a1e85e Moved editing of the color scheme into a separate dialog
In preparation of being able to select from multiple color schemes.
2009-07-13 14:22:27 +02:00
Thorbjørn Lindeijer
cc730442d6 Introduced a ColorScheme class that encapsulates a color scheme 2009-07-13 14:22:27 +02:00
mae
c3c98cca78 make zoom-in store the new size permanently in the settings. 2009-06-18 16:13:20 +02:00
mae
aa630932b1 make zoom-in/-out apply to all editors 2009-06-17 19:12:57 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
ffd03aaf66 Fixed issues with line number colors on dark themes
By using the palette foreground color for line numbers when the
background is very dark, instead of the palette's "dark" color.
2009-06-15 15:53:47 +02:00
Thorbjørn Lindeijer
992a178be3 Apply bold to the current line number by default 2009-06-12 15:45:35 +02:00
con
089401fbf7 Add option to turn antialiasing on/off for text editor fonts.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Task-number: 234394
2009-05-27 15:38:24 +02:00
Daniel Molkentin
da2c44ee02 text editor: enable/disable the erase button in the color dialog properly.
The button to erase a selected color in the Fonts & Colors
(groupbox 'color scheme') was not set enabled if a color was selected,
neither was it disabled if a color had been removed using the button.

Fixes: 254202
2009-05-26 14:58:28 +02:00
Thorbjørn Lindeijer
968a3c0f9f Added 'current line number' to color theme settings
Recently it was made to highlight black or write, which isn't nice for
everybody. Now it is dark gray by default, and can be customized. Bold
and italic are also supported.
2009-04-27 14:10:54 +02: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
hjk
897c05f57c replace Core::ICore::instance()->pluginManager() by ExtensionSystem::PluginManager::instance() 2009-01-20 15:31:33 +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
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +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
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00