a)
“move” is not a command.
b)
Why do you think “Modeless dialog window dos'nt response”? Mostly likely it is, you can’t see it cause you probably moved it out of screen..
Why would not check it in the debugger?
Alex
From: qt-interest-bounces@xxxxxxxxxxxxx [mailto:qt-interest-bounces@xxxxxxxxxxxxx]
On Behalf Of Meir Yanovich
Sent: Monday, May 17, 2010 2:54 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: [Qt-interest] Modeless dialog window dos'nt response to the move command
Hello all
im using Modeless dialog in my application , and when i try to use the Modeless dialog move command from the MainWindow
the Modeless dialog didint even show up,why ? (by the way if i remove the move command every thing works and i can see the dialog when called, i try to move it to the systray era.
here somecode:
ModelessDialog* ModelessDialog= new ModelessDialog(this);
ModelessDialog->setModal(false);
ModelessDialog->setAttribute(Qt::WA_DeleteOnClose);
int topLeft_x = m_SystrayReq.topLeft().x();
int topLeft_y = m_SystrayReq.topLeft().y();
// the valus of x & y are just fine .
ModelessDialog->move(topLeft_x,topLeft_y);
ModelessDialog->show();