This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[coding] howto autocompletion dialog box and image overlay ?

Tags: None
(comma "," separated)
julient
Registered Member
Posts
1
Karma
0
Hello,

I'm beginner with development with KDE and I'm not sure this is the right sub-forum. Feel free to relocate if needed.

I want to edit the code of an existing software to add
- a dialog box similar to Firefox add bookmark: list of fields, some of which can be autocomplete either in text field, either in checkbox (generating a top10/50 list from db/files) and which is fully usable in keyboard shortcut-only
- overlay some text on images display

I tried to find some documentation/turtorial/example code (cpp) on those subjects but didn't find something which seems useful. any help ?

Thanks a lot.
Cheers,

Julien
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
For overlaying text on images, I would suggest looking at QPainter.

For a dialog box, you probably want to begin with QDialog, and use KLineEdit (which offers auto completion functionality) and KComboBox (where you need to offer a drop down).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot]