[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Widget over modal dialog
From:       Mads Ipsen <madsipsen () gmail ! com>
Date:       2012-05-15 17:56:46
Message-ID: 4FB298DE.1090309 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

Here's my problem:

* Launch a modal dialog where some parameters can be set.
* Modal dialog contains a 'plot' button that launches a widget 
displaying a 2D plot visualizing some consequences of the parameter 
settings.
* When the plot window is shown, the window is always underneath the 
modal dialog.

Is it possible to make the plot appear on top of the main modal dialog, 
provided its the active window?

To me it makes sense to do something like this, but correct me if I'm 
wrong.

The main dialog from where the 2D plot is launched, takes care of 
closing the 2D plot if its open.

Best regards,

Mads

-- 
+-----------------------------------------------------+
| Mads Ipsen                                          |
+----------------------+------------------------------+
| Gåsebæksvej 7, 4. tv |                              |
| DK-2500 Valby        | phone:          +45-29716388 |
| Denmark              | email:  mads.ipsen@gmail.com |
+----------------------+------------------------------+



[Attachment #5 (text/html)]

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Consolas">Hi,<br>
      <br>
      Here's my problem:<br>
      <br>
      * Launch a modal dialog where some parameters can be set.<br>
      * Modal dialog contains a 'plot' button that launches a widget
      displaying a 2D plot visualizing some consequences of the
      parameter settings.<br>
      * When the plot window is shown, the window is always underneath
      the modal dialog.<br>
      <br>
      Is it possible to make the plot appear on top of the main modal
      dialog, provided its the active window? <br>
      <br>
      To me it makes sense to do something like this, but correct me if
      I'm wrong. <br>
      <br>
      The main dialog from where the 2D plot is launched, takes care of
      closing the 2D plot if its open.<br>
      <br>
      Best regards,<br>
      <br>
      Mads<br>
    </font>
    <pre class="moz-signature" cols="72">-- 
+-----------------------------------------------------+
> Mads Ipsen                                          |
+----------------------+------------------------------+
> G&aring;seb&aelig;ksvej 7, 4. tv |                              |
> DK-2500 Valby        | phone:          +45-29716388 |
> Denmark              | email:  <a class="moz-txt-link-abbreviated" \
> href="mailto:mads.ipsen@gmail.com">mads.ipsen@gmail.com</a> |
+----------------------+------------------------------+

</pre>
  </body>
</html>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic