Author Topic: How to present options from QT ?  (Read 4204 times)

probine

  • Guest
How to present options from QT ?
« on: September 30, 2005, 10:57:53 am »
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 ???

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: How to present options from QT ?
« Reply #1 on: September 30, 2005, 01:08:46 pm »
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...
Be patient!
This bug will be fixed soon...

probine

  • Guest
Re: How to present options from QT ?
« Reply #2 on: September 30, 2005, 01:44:09 pm »
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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: How to present options from QT ?
« Reply #3 on: September 30, 2005, 03:58:30 pm »
Filenames without extension (like the STL) are not currently parsed. Sorry...
Be patient!
This bug will be fixed soon...

probine

  • Guest
Re: How to present options from QT ?
« Reply #4 on: September 30, 2005, 04:27:15 pm »
How about then if I do this:

#include <iostream.h>

it has an extension