#include <codecompletioninterface.h>
Public Methods | |
| virtual void | showArgHint (QStringList functionList, const QString &strWrapping, const QString &strDelimiter)=0 |
| virtual void | showCompletionBox (QValueList< CompletionEntry > complList, int offset=0, bool casesensitive=true)=0 |
| virtual void | completionAborted ()=0 |
| virtual void | completionDone ()=0 |
| virtual void | completionDone (CompletionEntry)=0 |
| virtual void | argHintHidden ()=0 |
| virtual void | filterInsertString (CompletionEntry *, QString *)=0 |
There is another signal, which may be implmemented, but isn't documented here, because it would have been a BIC change and I'm not sure if it is really of need
void completionExtendedComment(CompletionEntry)
Definition at line 77 of file codecompletioninterface.h.
|
|
This signal is emitted when the argument hint disappears. This is the case e.g. when the user moves the cursor somewhere else. IMPORTANT: Please check if a connect to this signal worked, and implement some fallback when the implementation doesn't support it IMPORTANT FOR IMPLEMENTERS: When you don't support this signal, please just override the inherited function, if you support it, declare it as a signal |
|
|
This signal is emitted when the completion list disappears and no completion has been done. This is the case e.g. when the user presses Escape. IMPORTANT: Please check if a connect to this signal worked, and implement some fallback when the implementation doesn't support it IMPORTANT FOR IMPLEMENTERS: When you don't support this signal, please just override the inherited function, if you support it, declare it as a signal |
|
|
This signal is the same as completionDone(), but additionally it carries the information which completion item was used. IMPORTANT: Please check if a connect to this signal worked, and implement some fallback when the implementation doesn't support it IMPORTANT: The pointer to the CompleteionEntry, is only valid in the slots connected to this signal when the connected slots are left, the data element may be destroyed, depending on the implementation IMPORTANT FOR IMPLEMENTERS: When you don't support this signal, please just override the inherited function, if you support it, declare it as a signal. |
|
|
This signal is emitted when the completion list disappears and a completion has been inserted into text. This is the case e.g. when the user presses Return on a selected item in the completion list. IMPORTANT: Please check if a connect to this signal worked, and implement some fallback when the implementation doesn't support it IMPORTANT FOR IMPLEMENTERS: When you don't support this signal, please just override the inherited function, if you support it, declare it as a signal |
|
||||||||||||
|
This signal is emitted just before a completion takes place. You can use it to modify the CompletionEntry. The modified entry will not be visible in the completion list (because that has just disappeared) but it will be used when the completion is inserted into the text. IMPORTANT: Please check if a connect to this signal worked, and implement some fallback when the implementation doesn't support it IMPORTANT FOR IMPLEMENTERS: When you don't support this signal, please just override the inherited function, if you support it, declare it as a signal |
|
||||||||||||||||
|
This shows an argument hint. |
|
||||||||||||||||
|
This shows a completion list. |
1.2.18