hi ,
Can any body please help in following problem:
My Qt program opens main window, clicking on menu of which i m opening another window. I m to edit using mouse to already drawn boxes on that window. But my problem is that widow is always displayed behind main window and it neither becomes active nor takes mouse events nor closes....!
However clicking on menu of same central widget: which opens ceratin data in text editor , works nicely, it is displayed in front as well as active too....!
i have trie d using activate Winow(), raise(), lower () etc,, bt yet teh problem persists..
Is it possible to have higher priority for this window to activate?

sample constuctor for main widget: MainWindow::MainWindow(QWidget *parent)
{ ui.setupUi(this); }

sample constuctor for widget not becomes activate:MyWidget::MyWidget(int r,QImage image,QWidget* parent)
Thanx
Ranjit