quassel.git
14 years agoFix spelling
Manuel Nickschas [Fri, 11 Sep 2009 15:13:12 +0000 (17:13 +0200)]
Fix spelling

14 years agoProperly translate messages
Manuel Nickschas [Fri, 11 Sep 2009 07:53:18 +0000 (09:53 +0200)]
Properly translate messages

Fixes #406.

14 years agoProperly translate strings in context menus and the toolbar
Manuel Nickschas [Fri, 11 Sep 2009 07:41:31 +0000 (09:41 +0200)]
Properly translate strings in context menus and the toolbar

Fixes #569.

14 years agoImprove tray icon notification behavior
Manuel Nickschas [Thu, 10 Sep 2009 19:26:16 +0000 (21:26 +0200)]
Improve tray icon notification behavior

The tray icon now blinks as long as there are still buffers with unread highlights. As
added bonus, repeated clicks on the tray icon now switch to the next highlighted buffer in
line (rather than hiding the window).

Also, notifications (in KDE) will be properly closed as soon as you switch to the appropriate
buffer.

After all highlighted buffers have been visited, the icon stops blinking. Fixes #720.

14 years agoClose notifications on buffer switch rather than activation change
Manuel Nickschas [Thu, 10 Sep 2009 19:23:50 +0000 (21:23 +0200)]
Close notifications on buffer switch rather than activation change

We now properly close only the notifications that refer to the current buffer if you switch to
it or activate the window. Before, we closed all active notifications when the window got
activated (and only then).

14 years agoSimplify code, fix potential crash
Manuel Nickschas [Thu, 10 Sep 2009 19:21:46 +0000 (21:21 +0200)]
Simplify code, fix potential crash

14 years agoSilence warning
Manuel Nickschas [Thu, 10 Sep 2009 17:45:19 +0000 (19:45 +0200)]
Silence warning

14 years agoFix clean, thanks al
Manuel Nickschas [Thu, 10 Sep 2009 11:38:37 +0000 (13:38 +0200)]
Fix clean, thanks al

14 years agode.ts translate the topic configuration
Martin Mayer [Thu, 10 Sep 2009 11:00:49 +0000 (13:00 +0200)]
de.ts translate the topic configuration

14 years agomake alias-tooltips translateable and translate them into german
Martin Mayer [Wed, 2 Sep 2009 11:58:44 +0000 (13:58 +0200)]
make alias-tooltips translateable and translate them into german

14 years agocs.ts translate the topic configuration
Tomáš Chvátal [Thu, 10 Sep 2009 08:41:34 +0000 (10:41 +0200)]
cs.ts translate the topic configuration

14 years agodon't put ColumnHandles outside of visible area
Daniel Albers [Tue, 8 Sep 2009 09:35:52 +0000 (11:35 +0200)]
don't put ColumnHandles outside of visible area

Fixes #799.

14 years agoimprove URI detection
Daniel Albers [Tue, 8 Sep 2009 08:53:15 +0000 (10:53 +0200)]
improve URI detection

14 years agoawww... is not a url
Daniel Albers [Mon, 7 Sep 2009 23:45:20 +0000 (01:45 +0200)]
awww... is not a url

Fixes #798.

14 years agoFinnish translation
Atte Virtanen [Sun, 6 Sep 2009 18:31:08 +0000 (21:31 +0300)]
Finnish translation

14 years agoSlightly improve placement of the text in the topic widget
Manuel Nickschas [Wed, 9 Sep 2009 09:52:52 +0000 (11:52 +0200)]
Slightly improve placement of the text in the topic widget

StyledLabel properly obeys the frame margins now, and properly centers within the frame's
contentsRect. This means that in most styles, the topic should now be displayed with a small left margin
and vertically centered rather than too far up.

Sadly, Oxygen still seems to add some extra padding below the contentsRect(), such that the text appears
slightly misplaced.

14 years agoFix fonts configuration for the input widget, too
Manuel Nickschas [Tue, 8 Sep 2009 21:55:44 +0000 (23:55 +0200)]
Fix fonts configuration for the input widget, too

Disabling the custom font wouldn't always take effect.

14 years agoMake topicwidget font and resize behavior configurable
Manuel Nickschas [Tue, 8 Sep 2009 21:54:27 +0000 (23:54 +0200)]
Make topicwidget font and resize behavior configurable

Adds a new settingspage "Interface -> Topic Widget" to configure the topicline.
By default, now the whole topic is shown whilst the mouse hovers over the topic widget.

14 years agoAllow configuring the resizing mode for StyledLabel
Manuel Nickschas [Tue, 8 Sep 2009 21:52:10 +0000 (23:52 +0200)]
Allow configuring the resizing mode for StyledLabel

We now allow either no auto-resize (e.g., always one line with tooltip), always adjust
to contents, or resize only on mouse hover.

14 years agoFix icons missing if data files are embedded
Manuel Nickschas [Wed, 2 Sep 2009 11:01:54 +0000 (13:01 +0200)]
Fix icons missing if data files are embedded

Note to self: PARENT_SCOPE doesn't behave like one would expect.

14 years agofix error when compiling without ssl
Daniel Albers [Tue, 1 Sep 2009 07:58:01 +0000 (09:58 +0200)]
fix error when compiling without ssl

14 years agoMake installing Oxygen icons optional
Manuel Nickschas [Mon, 31 Aug 2009 18:51:20 +0000 (20:51 +0200)]
Make installing Oxygen icons optional

The new CMake option -DWITH_OXYGEN=(ON|OFF|AUTO) now controls whether the Oxygen icons
Quassel uses are to be installed. If AUTO (the default) is selected, icons will not be installed
iff KDE > 4.3.0 is present and enabled, because we can then expect them to be present in the
system theme.

Also updated the importer script and docs accordingly.

14 years agogerman translation: removed obsolete strings
Michael Groh [Mon, 31 Aug 2009 13:29:06 +0000 (15:29 +0200)]
german translation: removed obsolete strings

14 years agonearly complete german translation
Martin Mayer [Fri, 28 Aug 2009 17:32:48 +0000 (19:32 +0200)]
nearly complete german translation

14 years agoFixing issues with renaming synced objects. And fixing issue with nickchanges of...
Marcus Eggenberger [Fri, 28 Aug 2009 15:55:40 +0000 (17:55 +0200)]
Fixing issues with renaming synced objects. And fixing issue with nickchanges of own nick.
Core update is recommended.

14 years agoDon't install icons for the core
Manuel Nickschas [Fri, 28 Aug 2009 10:43:49 +0000 (12:43 +0200)]
Don't install icons for the core

14 years agoTranslate menubar hiding options and some more warnings.
Tomáš Chvátal [Thu, 27 Aug 2009 16:56:43 +0000 (18:56 +0200)]
Translate menubar hiding options and some more warnings.

14 years agoMake menubar hideable
Manuel Nickschas [Thu, 27 Aug 2009 16:40:44 +0000 (18:40 +0200)]
Make menubar hideable

Closes #756.

14 years agowarnings--
Manuel Nickschas [Thu, 27 Aug 2009 16:02:41 +0000 (18:02 +0200)]
warnings--

14 years agoFix strings (Buffer -> Chat)
Manuel Nickschas [Thu, 27 Aug 2009 11:51:30 +0000 (13:51 +0200)]
Fix strings (Buffer -> Chat)

Fixes #781.

14 years agoi18n cs.ts sync with new strings.
Tomáš Chvátal [Wed, 26 Aug 2009 13:51:13 +0000 (15:51 +0200)]
i18n cs.ts sync with new strings.

14 years agoBump version.inc 0.5-rc1
Manuel Nickschas [Wed, 26 Aug 2009 13:26:57 +0000 (15:26 +0200)]
Bump version.inc

14 years agomake arbitrary highlight work at start/end of line
Daniel Albers [Wed, 26 Aug 2009 12:15:14 +0000 (14:15 +0200)]
make arbitrary highlight work at start/end of line

14 years agopropagate topic changes properly
Marcus Eggenberger [Wed, 26 Aug 2009 11:08:53 +0000 (13:08 +0200)]
propagate topic changes properly

14 years agoCheck for IgnoreListManager's existence before using it
Manuel Nickschas [Wed, 26 Aug 2009 10:56:46 +0000 (12:56 +0200)]
Check for IgnoreListManager's existence before using it

Fixes #775.

14 years agoMake multiline input configurable
Manuel Nickschas [Wed, 26 Aug 2009 10:39:25 +0000 (12:39 +0200)]
Make multiline input configurable

You can now switch this off to get a single line with paste protection as it used to be.
This makes mostly sense for people using a Qt style with buggy layouting, screwing up dynamic
resize.

14 years agoif it compiles it should fix the new missing query issue :)
Marcus Eggenberger [Wed, 26 Aug 2009 08:25:07 +0000 (10:25 +0200)]
if it compiles it should fix the new missing query issue :)

14 years agoFix some strings still containing 'Buffer'
Manuel Nickschas [Tue, 25 Aug 2009 23:58:49 +0000 (01:58 +0200)]
Fix some strings still containing 'Buffer'

14 years agoAccept Ctrl+F while the inputline is focused
Manuel Nickschas [Tue, 25 Aug 2009 22:15:23 +0000 (00:15 +0200)]
Accept Ctrl+F while the inputline is focused

Fixes #772.

14 years agoBuild with Qt 4.4 again
Sebastian Goth [Tue, 25 Aug 2009 21:42:29 +0000 (23:42 +0200)]
Build with Qt 4.4 again

14 years agoFix ItemView settings. Fixes #774.
Manuel Nickschas [Tue, 25 Aug 2009 21:35:52 +0000 (23:35 +0200)]
Fix ItemView settings. Fixes #774.

14 years agoMove stylesheets into $datadir/stylesheets; add m4yer's "classic" style
Manuel Nickschas [Tue, 25 Aug 2009 21:18:39 +0000 (23:18 +0200)]
Move stylesheets into $datadir/stylesheets; add m4yer's "classic" style

14 years agoAdd missing icon
Manuel Nickschas [Tue, 25 Aug 2009 20:45:38 +0000 (22:45 +0200)]
Add missing icon

14 years agoOpen stylesheet choosedialog in the correct(tm) working directory
Sebastian Goth [Tue, 25 Aug 2009 20:01:51 +0000 (22:01 +0200)]
Open stylesheet choosedialog in the correct(tm) working directory

14 years agoRemove unneeded files
Manuel Nickschas [Tue, 25 Aug 2009 20:31:55 +0000 (22:31 +0200)]
Remove unneeded files

14 years agoGetting rid of empty/ghost server buffers
Marcus Eggenberger [Tue, 25 Aug 2009 20:29:10 +0000 (22:29 +0200)]
Getting rid of empty/ghost server buffers

14 years agocs.ts Almost finalize translation. Only thing left is qsslParser and few hints in...
Tomáš Chvátal [Tue, 25 Aug 2009 08:31:24 +0000 (10:31 +0200)]
cs.ts Almost finalize translation. Only thing left is qsslParser and few hints in ignorelist editing.

14 years agoMake URLs (and channel names!) in the topic widget clickable again
Manuel Nickschas [Tue, 25 Aug 2009 19:48:26 +0000 (21:48 +0200)]
Make URLs (and channel names!) in the topic widget clickable again

This time properly, including on-hover underline and proper coloring.
Also, we now use the widget font rather than the ChatView font for the topic.

14 years agoIntroduce Clickable::activate() to put handling clicks in a single place
Manuel Nickschas [Tue, 25 Aug 2009 15:30:35 +0000 (17:30 +0200)]
Introduce Clickable::activate() to put handling clicks in a single place

Moved out of ChatItem.

14 years agoFix chatmonitorfilter
Sebastian Goth [Tue, 25 Aug 2009 18:30:20 +0000 (20:30 +0200)]
Fix chatmonitorfilter

14 years agoTry workarounding bug #663 ("Teh Systray Heisenbug")
Manuel Nickschas [Tue, 25 Aug 2009 15:50:56 +0000 (17:50 +0200)]
Try workarounding bug #663 ("Teh Systray Heisenbug")

Setting uniform row heights for BufferView seems to keep Quassel from crashing. This is not
a long-term solution and has some sideeffects (don't use different font sizes for network and buffer
items when playing with QSS!), but if it helps people to start Quassel, fine with me.

Please report if it fixes the crashes for you!

14 years agofixing Quit propagation
Marcus Eggenberger [Tue, 25 Aug 2009 11:18:24 +0000 (13:18 +0200)]
fixing Quit propagation

14 years agoWho would have thought, that macros need to be defined before they can
Marcus Eggenberger [Tue, 25 Aug 2009 10:15:57 +0000 (12:15 +0200)]
Who would have thought, that macros need to be defined before they can
be used...
/me whistles innocently...

14 years agoadded missing macros
Marcus Eggenberger [Tue, 25 Aug 2009 10:05:58 +0000 (12:05 +0200)]
added missing macros

14 years agoi18n cs.ts finaly finish most of the annoying buffer parts + history
Tomáš Chvátal [Mon, 24 Aug 2009 20:16:22 +0000 (22:16 +0200)]
i18n cs.ts finaly finish most of the annoying buffer parts + history

14 years agoWupps, Altlast-Alarm
Manuel Nickschas [Mon, 24 Aug 2009 23:11:06 +0000 (01:11 +0200)]
Wupps, Altlast-Alarm

MessageModelItem::_msg was never set or used. Thus, we shouldn't return that for
the MessageRole and rather delegate that to ChatLineModelItem...

14 years agoFix slots for new syncobj
Manuel Nickschas [Mon, 24 Aug 2009 22:48:14 +0000 (00:48 +0200)]
Fix slots for new syncobj

14 years agoDecomplexify & reencapsulate
Manuel Nickschas [Mon, 24 Aug 2009 22:03:58 +0000 (00:03 +0200)]
Decomplexify & reencapsulate

14 years agoAdapt to SignalProxy changes
Manuel Nickschas [Mon, 24 Aug 2009 21:26:30 +0000 (23:26 +0200)]
Adapt to SignalProxy changes

14 years agoDon't show notifications for ignored messages
Sebastian Goth [Sun, 16 Aug 2009 19:56:37 +0000 (21:56 +0200)]
Don't show notifications for ignored messages

14 years agoIgnorelist settingspage
Sebastian Goth [Sun, 16 Aug 2009 15:10:35 +0000 (17:10 +0200)]
Ignorelist settingspage

14 years agoIntroduce IgnoreList backend
Sebastian Goth [Sun, 16 Aug 2009 15:07:45 +0000 (17:07 +0200)]
Introduce IgnoreList backend
Implements core- and clientside filtering and the synchronized ignorelist
itself.

14 years agooopsie... there were some macros missing on windows...
Marcus Eggenberger [Mon, 24 Aug 2009 21:36:00 +0000 (23:36 +0200)]
oopsie... there were some macros missing on windows...

14 years agofixing bulk updates of SyncObjects
Marcus Eggenberger [Mon, 24 Aug 2009 19:50:54 +0000 (21:50 +0200)]
fixing bulk updates of SyncObjects

14 years agosmall fixes
Marcus Eggenberger [Mon, 24 Aug 2009 19:23:53 +0000 (21:23 +0200)]
small fixes

14 years agoFixing small glitch in a header file
Marcus Eggenberger [Mon, 24 Aug 2009 17:07:02 +0000 (19:07 +0200)]
Fixing small glitch in a header file
I always wonder why my gcc doesn't complain about that...

14 years agoProtocol version bump
Marcus Eggenberger [Mon, 24 Aug 2009 16:44:25 +0000 (18:44 +0200)]
Protocol version bump
Yes that means I just broke client core compatibility :)

14 years agoclean up
Marcus Eggenberger [Mon, 24 Aug 2009 16:42:55 +0000 (18:42 +0200)]
clean up

14 years agoFitting the SyncableObjects to the new Style
Marcus Eggenberger [Sun, 23 Aug 2009 17:08:44 +0000 (19:08 +0200)]
Fitting the SyncableObjects to the new Style
... now that was tiresome...

14 years agoTesting the new SyncObjects concept - looking good so far
Marcus Eggenberger [Fri, 14 Aug 2009 17:09:08 +0000 (19:09 +0200)]
Testing the new SyncObjects concept - looking good so far

14 years agoGoodbye SyncRelay, you will live on in our hearts...
Marcus Eggenberger [Fri, 14 Aug 2009 10:21:35 +0000 (12:21 +0200)]
Goodbye SyncRelay, you will live on in our hearts...

14 years agoSignalProxy::ExtendedMetaObject cleanup
Marcus Eggenberger [Thu, 13 Aug 2009 20:01:45 +0000 (22:01 +0200)]
SignalProxy::ExtendedMetaObject cleanup

14 years agoTesting a new concept for the SyncableObjects.
Marcus Eggenberger [Sun, 9 Aug 2009 16:21:07 +0000 (18:21 +0200)]
Testing a new concept for the SyncableObjects.

14 years agoFix QSS syntax
Manuel Nickschas [Mon, 24 Aug 2009 19:18:27 +0000 (21:18 +0200)]
Fix QSS syntax

We want #netsplit-join rather than #netsplitJoin, and #netsplit-quit
rather than #netsplitQuit.

14 years agoMake netsplits pretty on clientside
Sebastian Goth [Mon, 24 Aug 2009 16:03:09 +0000 (18:03 +0200)]
Make netsplits pretty on clientside

14 years agoHandle very short netsplits
Sebastian Goth [Mon, 24 Aug 2009 16:01:27 +0000 (18:01 +0200)]
Handle very short netsplits

14 years agoIntroduce netsplit detection/handling
Sebastian Goth [Thu, 30 Jul 2009 15:33:44 +0000 (17:33 +0200)]
Introduce netsplit detection/handling

14 years agoDon't wrap the input line (really this time!)
Manuel Nickschas [Mon, 24 Aug 2009 08:48:23 +0000 (10:48 +0200)]
Don't wrap the input line (really this time!)

Really.

14 years agoAdd -fno-strict-aliasing to CFLAGS
Manuel Nickschas [Sun, 23 Aug 2009 12:31:28 +0000 (14:31 +0200)]
Add -fno-strict-aliasing to CFLAGS

Apparently Qt < 4.6 breaks strict aliasing rules, which makes gcc-4.4 complain loudly when compiling
Quassel (and possibly leads to spurious errors). Hence, for now we disable strict aliasing.

14 years agoMove Clickable out of ContentsChatItem
Manuel Nickschas [Sat, 22 Aug 2009 16:29:43 +0000 (18:29 +0200)]
Move Clickable out of ContentsChatItem

We want to reuse this for the URL handling in the topic widget, so move this out of
ChatIteminto its own class (with proper encapsulation) and file.

As (the also new) ClickableList extends QList<Clickable>, we can continue to use it as
normal.

14 years agoDon't enable wordwrap for the input widget
Manuel Nickschas [Sat, 22 Aug 2009 15:36:56 +0000 (17:36 +0200)]
Don't enable wordwrap for the input widget

14 years agomore cs updates
Tomáš Chvátal [Sat, 22 Aug 2009 12:21:48 +0000 (14:21 +0200)]
more cs updates

14 years agoRedesign the topic widget
Manuel Nickschas [Fri, 21 Aug 2009 22:06:44 +0000 (00:06 +0200)]
Redesign the topic widget

This replaces the old ugly hackish topicwidget by something cleaner. We now use a stacked widget to switch
between display and edit mode. In edit mode, we use a MultiLineEdit rather than a single QLineEdit.
Instead of doing voodooish resizing of the parent widget, we use proper sizeHints and sizePolicies that make
Qt's layout system actually work with this.

There are still some features missing though, notably clickable URLs and the clear button. Will
be implemented ASAP.

Closes #506, fixes #573, closes #608.

14 years agoIntroducing StyledLabel
Manuel Nickschas [Fri, 21 Aug 2009 22:02:26 +0000 (00:02 +0200)]
Introducing StyledLabel

This widget evolved from TopicLabel and provides a QFrame that contains a mIRC-formatted string
(e.g. it accepts mIRC's format codes in the input). Rather than the old drag-to-scroll behavior,
this widget provides a tooltip. It also uses proper QTextLayouts instead of assembling text snippets
manually.

Note that URLs are not yet clickable. This will be added later.

14 years agoAdd ResizingStackedWidget
Manuel Nickschas [Fri, 21 Aug 2009 21:57:15 +0000 (23:57 +0200)]
Add ResizingStackedWidget

This extends QStackedWidget by adding a dynamic sizeHint that only depends on the
currently selected page. Geometry is updated on page change. Use this widget if you want
a stacked container that dynamically adapts to the size of the visible page only rather than
caring for all the pages. Note that pages should have QSizePolicy::Ignore for this to work properly.

14 years agoSlightly improve behavior on resize
Manuel Nickschas [Fri, 21 Aug 2009 21:54:57 +0000 (23:54 +0200)]
Slightly improve behavior on resize

14 years agoRename setters to be more Qt-like
Manuel Nickschas [Wed, 19 Aug 2009 06:51:54 +0000 (08:51 +0200)]
Rename setters to be more Qt-like

Also add a setter for enabling wordwrap in the MultiLineEdit. Will be needed
for the topic widget.

14 years agoUpdate cs.ts
Tomáš Chvátal [Fri, 21 Aug 2009 17:02:10 +0000 (19:02 +0200)]
Update cs.ts

14 years agoAdd a settingspage for configuring the input widget
Manuel Nickschas [Tue, 18 Aug 2009 21:19:20 +0000 (23:19 +0200)]
Add a settingspage for configuring the input widget

Centralize the now-scattered input-line related settings in their own settingspage;
also add some new options.

14 years agoBring back old inputline history behavior
Manuel Nickschas [Tue, 18 Aug 2009 12:29:32 +0000 (14:29 +0200)]
Bring back old inputline history behavior

Cursor down now again always saves the current line in history and starts a new one.
Brought back from the dead by user request.

14 years agoImprove inputline behavior
Manuel Nickschas [Mon, 17 Aug 2009 20:54:38 +0000 (22:54 +0200)]
Improve inputline behavior

* Don't show scrollbars in single line mode
* Don't update geometry more often than necessary
* Allow selecting text with shift + up/down

14 years agochange highlight regexp boundaries from \b to \W
Daniel Albers [Wed, 12 Aug 2009 22:45:00 +0000 (00:45 +0200)]
change highlight regexp boundaries from \b to \W

fixes #708
\b is between \w\W or \W\w, therefore doesn't match "^nickname^ something" due to "^ " being \W\W characters

14 years agoBuild on Qt 4.4 again
Manuel Nickschas [Sun, 16 Aug 2009 13:01:48 +0000 (15:01 +0200)]
Build on Qt 4.4 again

14 years agoDon't show the header widget in bufferviews
Manuel Nickschas [Sun, 16 Aug 2009 11:06:53 +0000 (13:06 +0200)]
Don't show the header widget in bufferviews

This just wastes valuable space and looks ugly.

14 years agoIntroduce multi-line editing for the inputline
Manuel Nickschas [Sun, 16 Aug 2009 10:58:07 +0000 (12:58 +0200)]
Introduce multi-line editing for the inputline

This introduces the new MultiLineEdit that basically enhances the old InputLine widget by being
able to expand to show more than one line. All non-editing related things have been moved out of the
MultiLineEdit to ease reuse in other widgets. For example, InputWidget-specific keypresses are now handled
in InputWidget rather than MultiLineEdit.

Closes #209, closes #213, fixes #386. Thanks to Squider for input (I saw your patch too late, but I did refactor
things anyway...)

14 years agoDon't set a default font for the chatview
Manuel Nickschas [Thu, 13 Aug 2009 18:16:43 +0000 (20:16 +0200)]
Don't set a default font for the chatview

14 years agoDisable unchecked font widget
Manuel Nickschas [Wed, 12 Aug 2009 22:53:14 +0000 (00:53 +0200)]
Disable unchecked font widget

14 years agoshow correct core start time in coreinfodlg
Daniel Albers [Wed, 12 Aug 2009 21:38:32 +0000 (23:38 +0200)]
show correct core start time in coreinfodlg

14 years agos/Buffer/Chat/g
Manuel Nickschas [Wed, 12 Aug 2009 18:50:29 +0000 (20:50 +0200)]
s/Buffer/Chat/g

This removes the mention of "Buffer" from the UI, as it was confuzzling users and making our Usability Queen
unhappy. It has been replaced by "Chat", which might not always be as precise, but should make more sense for users.
A "Buffer View" is now a "Chat List", and in some cases, "Window" has been used (e.g. the "Status Buffer" is now
a "Status Window" - which, again, isn't really the correct term, but probably makes more sense to people not used
to cli-based chat clients.

Obviously, within the code and the DB everything is still a Buffer (and it'll stay that way).

14 years agoChange defaults for some ChatView-related settings
Manuel Nickschas [Wed, 12 Aug 2009 18:04:42 +0000 (20:04 +0200)]
Change defaults for some ChatView-related settings

Since we don't have settings.qss on a new install, we cannot enable things by default.
User must manually enable them and apply the dialog for generating the stylesheet.