[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    New Toolbar!
From:       Sven Radej <a9509961 () unet ! univie ! ac ! at>
Date:       1997-07-12 3:12:36
[Download RAW message or body]

Hi,

I aded many features to ktoolbar. Now it can have kbuttons, KLineds
(derived from QLineEditor, with ctrl-s and ctrl-d signals according to
Torben's fileentry.cpp) KCombos (derived from QComboBox, with ctrl-s and
crel-d signals), floating is supported.
Furthermore, it can have right-aligned items, auto-resized KCombo or
KLined. Autoresized means that KLined or KCombo can be resized to fill
whole toolbar till right aligned items (if any).
Floating toolbar is supported too.

It requires: KLined anf KCombo class and slightly changed
KTopLevelWidget. Interface to KTopLevelWidget is not changed, so it is
source-compatible to old versions. KLined and KCombo classes are in
distribution. 

I have few questions/demands:

Martin:

I would like to have write access to kde-devel mailing list 
("Sven Radej <a9509961@unet.univie.ac.at>")

Kalle:

I think that this toolbar should have an testing period before included
in kdeui. When it will be included it should go i kdelibs-devel. Should
I add old interface? New toolbar has functions insertButtons,
insertLined, insertCombo; should I add insertItem which would do what
insertButton does? That way new and old KTollbar would be source code
comatible. Perhaps developers can use it source of new KTollbar in the
beginning.

Torben:

I think that right aligned buttons are RightThing for you (logo!). Also 
the autosized KLinedit (QLineEditor with ctrl-s and ctrl-d signals).

Others:

New KtoolBar assumes new KTopLevelWidget for its father. You can
subclass new KTopLevelWidget if you want as long as you call
KTopLevelWidget::updateRects from your resizeEvent ().

Questions:

Should floating toolbar be allways on top?

Who is author of KToolBar / KTopLevelWidget? Is it ok if I upload it
tomorow (or day after) to ftp.kde.org? Or should I sent it to author?

Is anyone else working on KToolBar? If so let me know.

Distribution will contain:
- sligthly changed KTopLEvelWidget - source compatible with old one
- KLined widget (from Torben's fileentry.cpp)
- KCombo widget 
- KToolBar widget
- Demo applicaton
- Documentation
- an optional KFloat class for floating items

It will be uploaded tomorrow or day after tomorrow.

It looks nice!

Bye
--                               
Sven

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic