I have made some mods to qt_main.ui and placed the revisions in
qt_main_2.ui for review.

The changes involve: fixing the splitters to move smoothly between
zero and maximum, removing extra padding around the editors, putting
the minibuffer in its own frame, and adding a Spell pane.

Fixing the splitters involved setting the size policy of the contained
widgets to ignore.

I have also modified qt-plugin to support  an @string qt_ui_file_name
setting, this to allow easy testing of alternate ui files.

To support the spell pane I have added some 'slots' (methods) which
will be called when a button is pressed in the spell pane. There may
be better ways of doing this with actions, but I don't know them yet.

I have added a scrolledmessage.py plugin (which uses
ScrolledMessage.ui). Here is the doc string.

# Provides a scrolled Message Dialog for Qt based guis/plugins.
#
# The plugin provides for the display of rst, html or plain text
messages in a
# scrolled message dialog.
#
#  Rst messages can be displayed as text or html, as the user likes,
by
# clicking a check box.
#
# The user interface is provided by a ScrolledMessage.ui file which
is
# dynamically loaded each time a new dialog is loaded.
#
# The dialog is not modal and many dialogs can exist. Dialogs can be
named and
# output directed to a dialog with a specific name
#
# The plugin is invoked like this:
#
#     g.doHook('scrolledMessage', c=c, msg='message',
title='title',  ...etc    )
#
# all parameters are optional except c.
#
# Parameters:
#     msg: The text to be dispayed (html, rst, plain).
#             If the text starts with 'rst:' it is assumed to be rst
text and
# is converted to html for display.
#             If the text starts with '<' it is assumed to be html.
#             These auto detection features can be overidden.
#
#     label: The text to apear in a label above the display. If it is
'', the
# label is hidden.
#
#     title: The title to appear on the window or dock.
#
#     flags:  says what kind of message eg: 'rst', 'text', 'html',
overides
# autodetection.
#
#     Other parameters will be added to control position, size,
closing,
# hiding etc.
--
hag
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to