Hello. On a qt5 mailing lists we've discussed possibility of adding come kde widgets to Qt5.<br><br>I made a list of widgets i can try to add myself:<br><br>1) <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKIntSpinBox.html" target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKIntSpinBox.html</a> "base" property can be added to QSpinBox.<br>
2) <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKFontRequester.html" target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKFontRequester.html</a> can be added as a separate qtwidget instead of FontButton mentioned eariler (i personally prefer widget). <br>
3) <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKColorPatch.html" target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKColorPatch.html</a> i prefer QtCreator's QtColorButton here (it has some API, at least)<br>
4) <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKDualAction.html" target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKDualAction.html</a>
nice, but i don't like API (duplicated active/inactive methods plus
QAction own setText/Icon/etc methods). Need more discussion here<br>
5) <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKLineEdit.html" target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKLineEdit.html</a>
i won't deal with QLineEdit, but it needs following features - clear
button, custom menus (Creator's FancyLineEdit functionality) and ability
to draw placeholder text even if QLineEdit has focus<br>
6) <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKTabBar.html" target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKTabBar.html</a>
i would like to add mouseMiddleClick(int index) signal,
mouseDoubleClick(int index), mouseDoubleClick() or newTabRequest()
signal (i prefer first name - more flexible) to QTabBar and QTabWidget.
Reasoning - people need to subclass QTabBar/set event filter to track
double clicking on an empty space. Also i would like to see property
that allows to set if QTabBar should switch tabs while user drags
mimedata over it (common FileManager/browser functionality). I would
like to see prop for autohiding tabbar when there's only 1 tab. Same is
for close button - most tabbed apps do not allow to close last tab.<br><br>Also, i have some widgets that can be useful - QtCreator's QtColorButton (KColorPatch analog), Arora's ModelMenu/ModelToolBar (kde should have some analogs), WindowsMenu (menu with list of top-level windows and actions for minimizing/maximizing.closing of current window).<br>
<br>Does anyone have any thoughts about what widgets can be added?<br><br>Ivan<br>