Just working on my first Qt ( qt4.2.3 / WinXP /GPL ) application.
I've a systray icon, with 'new' , which will bring a new top level window.

The problem is, this new QMainWindow is not visible. However when i
exit, i see a flickr , so the window was created ..
If I call my create function before qApp->exec(), the windows are create fine.

What additional step is needed to get newly create QMainWindow into the
list of top level windows ?


The relevant code snippets:
===============================
class Top : public QMainWindow
{
Q_OBJECT
public:
Top() {
QTextEdit * textEdit = new QTextEdit;
setCentralWidget(textEdit);
}
};
================================
public slots:
void actionNew() {
Top * t = new Top();
//t->showFullScreen();
t->activateWindow();
t->raise();
t->repaint();
t->show();
}
================================

--Regards
---Vardhan