[Qt-creator] code completion anomaly
Mark Brand
mabrand at mabrand.nl
Fri Jan 29 14:03:44 CET 2010
Hi,
This is a question about code completion in Qt Creator. I have been
enjoying using Qt Creator built from the latest git sources.
Here is the issue:
Code completion in the does not seem to work right for member class
declarations. For the example below:
"aaa->" triggers code completion but should not.
"aaa." should trigger code completion but does not.
Is this really wrong, or is there more to this than meets the eye.
regards,
Mark
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
protected:
void changeEvent(QEvent *e);
private:
Ui::MainWindow *ui;
class AAA
{
public:
int a;
int b;
int c;
} aaa;
};
#endif // MAINWINDOW_H
More information about the Qt-creator-old
mailing list