L
L
LNK2016-07-30 13:36:51
Programming
LNK, 2016-07-30 13:36:51

How to implement the display of prompts in qt when entering text, as in code editors?

I work in Qt. Can you please tell me how to implement the tooltip function, as in code editors:
d14d749d4fbf4277a8dd7e0565d4239d.png
What kind of element is it that appears with a list of suitable keywords? And how can it then be positioned relative to the current cursor?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel K, 2016-07-30
@NikHaker

The listbox element and a simple text next to it
Application on widgets or on QML?
Pure QML UI example:
a9305e89890b4714a1ba32c10b9540f1.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question