QT Modeless dialog window dos'nt response to the move command

Posted by user63898 on Stack Overflow See other posts from Stack Overflow or by user63898
Published on 2010-05-17T21:57:19Z Indexed on 2010/05/17 22:00 UTC
Read the original article Hit count: 208

Filed under:
|

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: M

odelessDialog* 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();

© Stack Overflow or respective owner

Related posts about qt

Related posts about c++