User forums > Help

How to present options from QT ?

(1/1)

probine:
Usually in an editor after pressing "." or "->" a set of methods appear in the screen, so the user can choose between them.

I am using CodeBlocks and I want to program my QT interface. When I use my own files, like ".h", then as soon as I press "." or "->" I am able to see the different methods, but it doesn't happen with the methods in QT.

How can I connect my editor, so it will display the QT methods from a class, so I can just choose the options ???

mandrav:
Settings->Plugins->Code-completion and enable "Follow LOCAL includes" and "Follow GLOBAL includes".
Note that your project will take a little more time to open, as all the included files will be scanned for tokens...

probine:
With "Local Includes" and "Global Includes" I don't have anything new... I am still able to see the methods in my #include "test.h" class, but in my #include <iostream> I don't have naything.

mandrav:
Filenames without extension (like the STL) are not currently parsed. Sorry...

probine:
How about then if I do this:

#include <iostream.h>

it has an extension

Navigation

[0] Message Index

Go to full version