Moving 3 widgets to kdelibs.
Tom Albers
tomalbers at kde.nl
Fri Sep 16 22:32:02 BST 2005
Hi,
I would like to suggest to move/copy a couple of widgets to kdelibs.
1. KDateEdit [1]
This class is also used by digiKam. The advantage of this class is that it
gives a very user friendly way of navigating through dates, while collapsed
it is only the normal height of a simple QLineEdit.
2. KDateTimeEdit [2]
This is a simple extention i made to the above widget, which also includes the
time. This widget is currently only used in digiKam, but might be usefull for
other applications.
Remarks:
- for both two to work, kDatePickerPopup[3] class should be copied as well
- the existing kdatewidget [4] and kdatetimewidget [5] are slightly different
and should stay around for applications needing them or developers who prefer
those two.
3. SqueezedComboBox [6]
This is combobox which can hold large items. When an item is larger then the
size of the combobox, the right part of the text is shown, prepended with ...
The screenshot in the documentation makes it clearer I think. A tooltip is
there to show the full text. When the combobox is resized the text
automatically shrinks/grows. This widget is only used in digiKam atm, but I
think other applications can use it.
Remarks:
- SqueezedComboBoxTip [7] should be copied with it to provide the tooltips.
All widgets are documented and contain screenshots. I'm able to maintain the
SqueezedComboBox if needed, the first one is not written by me and the second
is to simple to need maintanance ;-)
The only 'problem' is that i'm not into qt4 at all at this moment and can not
do the move/copy myself.
Opinions?
Tom Albers
1.
http://developer.kde.org/documentation/library/cvs-api/kdepim-apidocs/libkdepim/html/classKDateEdit.html
2.
http://developer.kde.org/documentation/library/cvs-api/graphics-apidocs/digikam/digikam/html/classKDateTimeEdit.html
3.
http://developer.kde.org/documentation/library/cvs-api/kdepim-apidocs/libkdepim/html/classKDatePickerPopup.html
4.
http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/kdeui/html/classKDateWidget.html
5.
http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/kdeui/html/classKDateTimeWidget.html
6.
http://developer.kde.org/documentation/library/cvs-api/graphics-apidocs/digikam/digikam/html/classSqueezedComboBox.html
7.
http://developer.kde.org/documentation/library/cvs-api/graphics-apidocs/digikam/digikam/html/classSqueezedComboBoxTip.html
--
http://www.kde.nl | http://www.digikam.org |irc: toma | toma at jabber.kovoks.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050916/9ab22e98/attachment.bin>
More information about the kde-core-devel
mailing list