[Qt-interest] Modeless dialog window dos'nt response to the move command
Meir Yanovich
meiry242 at gmail.com
Tue May 18 08:54:16 CEST 2010
you are right , the coordinates i set in the move method , was bigger then
my desktop coordinates
but this is what i got from the QSystemTrayIcon->geometry()
i like to position the Qdialog above the Systemtray icon , so why the
QSystemTrayIcon->geometry() gives me wrong position ?
On Tue, May 18, 2010 at 1:15 AM, Malyushytsky, Alex <alex at wai.com> wrote:
> 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 at trolltech.com [mailto:
> qt-interest-bounces at trolltech.com] *On Behalf Of *Meir Yanovich
> *Sent:* Monday, May 17, 2010 2:54 PM
> *To:* qt-interest at trolltech.com
> *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();
>
>
>
> ---------------------------------------------------------------------------------------------------
> Weidlinger Associates, Inc. made the following annotations.
>
> “This message and any attachments are solely for the intended recipient and
> may contain confidential or privileged information. If you are not the
> intended recipient, any disclosure, copying, use, or distribution of the
> information included in this message and any attachments is prohibited. If
> you have received this communication in error, please notify us by reply
> e-mail and immediately and permanently delete this message and any
> attachments. Thank you.”
>
> “Please consider our environment before printing this email.”
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100518/008ec491/attachment.html
More information about the Qt-interest-old
mailing list