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

List:       pykde
Subject:    Re: [PyQt] Problem with QQmlApplicationEngine
From:       Selim Tuvi <selim.tuvi () dreamworks ! com>
Date:       2013-12-05 17:10:23
Message-ID: CAJoAfVLrmoj4XkmedLtWRf-aJaCF7Kc7yvQ5aEMUiy3ZECeHxw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


engine.rootObjects() already returns a list of QQuickWindow instances. Just
change your code as follows:

win = engine.rootObjects()[0]
win.show()

sys.exit(app.exec_())

-Selim


On Tue, Nov 26, 2013 at 11:07 PM, Charlie Gentil <
ceg@redaction-developpez.com> wrote:

>  Hello,
>
>
>
> I write a program PyQt5.1 and Qt Quick. I wish I could use MenuBar and I
> try to use QQmlApplicationEngine.
>
>
>
> When I run my Python script a white window appears without the MenuBar,
> but I have no default.
>
>
>
> Here are my codes:
>
>
>
> test.py
>
> #!/usr/bin/env python
>
> # -*- coding: utf-8 -*-
>
>
>
> import sys
>
> from PyQt5.QtCore import QObject, QUrl, QSize
>
> from PyQt5.QtWidgets import QApplication
>
> from PyQt5.QtQuick import QQuickView, QQuickWindow
>
> from PyQt5.QtQml import qmlRegisterType, QQmlApplicationEngine
>
>
>
>
>
>
>
> class MainClass(QObject):
>
> def __init__(self, parent=None):
>
> super(MainClass, self).__init__(parent)
>
>
>
> qmlRegisterType(MainClass, "Charts", 1, 0, "MainClass")
>
>
>
> app = QApplication(sys.argv)
>
> engine = QQmlApplicationEngine('test.qml')
>
> topLevel= engine.rootObjects()[0]
>
> win = QQuickWindow(topLevel)
>
> win.show()
>
> sys.exit(app.exec_())
>
>
>
>
>
>
>
> test.qml
>
> import QtQuick 2.1
>
> import QtQuick.Controls 1.0
>
>
>
> ApplicationWindow {
>
> id: application
>
>
>
> menuBar : MenuBar {
>
> Menu {
>
> title: "File"
>
> MenuItem { text: "Open..." }
>
> MenuItem { text: "Close" }
>
> }
>
>
>
> Menu {
>
> title: "Edit"
>
> MenuItem { text: "Cut" }
>
> MenuItem { text: "Copy" }
>
> MenuItem { text: "Paste" }
>
> }
>
> }
>
>
>
>
>
> }
>
>
>
>
>
> Can you help me.
>
>
>
> In advance thank you
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>engine.rootObjects() already returns a list of QQuickWindow instances. Just \
change your code as follows:<br><br><p style="margin:0px;text-indent:0px">win <span \
style="font-family:&#39;Courier New,courier&#39;">=</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:rgb(192,192,192)">  </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">engine</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">rootObjects</span><span \
style="font-family:&#39;Courier New,courier&#39;">()[</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:rgb(0,0,128)">0</span><span \
style="font-family:&#39;Courier New,courier&#39;">]</span></p>

<span style="font-size:9pt;font-family:&#39;Monospace&#39;">win</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">show</span><span \
style="font-family:&#39;Courier New,courier&#39;">()</span> <p \
style="margin:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">sys</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">exit</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">app</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">exec_</span><span \
style="font-family:&#39;Courier New,courier&#39;">())</span></p>

<br></div>-Selim<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov \
26, 2013 at 11:07 PM, Charlie Gentil <span dir="ltr">&lt;<a \
href="mailto:ceg@redaction-developpez.com" \
target="_blank">ceg@redaction-developpez.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><u></u> <div style="font-family:&#39;DejaVu \
Sans&#39;;font-size:8pt;font-weight:400;font-style:normal"> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Hello,</p>
 <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I \
write a program PyQt5.1 and Qt Quick. I wish I could use MenuBar and I try to use \
QQmlApplicationEngine.</p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p> \
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">When \
I run my Python script a white window appears without the MenuBar, but I have no default.</p> \
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Here \
are my codes:</p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p> \
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-weight:600;text-decoration:underline">test.py</span></p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="color:#008000">#!/usr/bin/env python</span></p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#008000"># -*- coding: utf-8 \
-*-</span></p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">import</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#008000">sys</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">from</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#008000">PyQt5</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QtCore</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#808000">import</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QObject</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QUrl</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QSize</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">from</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#008000">PyQt5</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QtWidgets</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#808000">import</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QApplication</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">from</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#008000">PyQt5</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QtQuick</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#808000">import</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QQuickView</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QQuickWindow</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">from</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#008000">PyQt5</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QtQml</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#808000">import</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">qmlRegisterType</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">QQmlApplicationEngine</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">class</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">MainClass</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">QObject</span><span \
style="font-family:&#39;Courier New,courier&#39;">):</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">    </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">def</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier \
New,courier&#39;;font-style:italic;color:#2985c7">__init__</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800000">self</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">parent</span><span \
style="font-family:&#39;Courier New,courier&#39;">=</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800080">None</span><span style="font-family:&#39;Courier \
New,courier&#39;">):</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">        </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">super</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">MainClass</span><span \
style="font-family:&#39;Courier New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800000">self</span><span style="font-family:&#39;Courier \
New,courier&#39;">).</span><span style="font-family:&#39;Courier \
New,courier&#39;;font-style:italic;color:#2985c7">__init__</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">parent</span><span \
style="font-family:&#39;Courier New,courier&#39;">)</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">qmlRegisterType</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">MainClass</span><span \
style="font-family:&#39;Courier New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;Charts&quot;</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#000080">1</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#000080">0</span><span style="font-family:&#39;Courier \
New,courier&#39;">,</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;MainClass&quot;</span><span \
style="font-family:&#39;Courier New,courier&#39;">)</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">app</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">=</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">QApplication</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">sys</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">argv</span><span \
style="font-family:&#39;Courier New,courier&#39;">)</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">engine</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">=</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">QQmlApplicationEngine</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&#39;test.qml&#39;</span><span style="font-family:&#39;Courier \
New,courier&#39;">)</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">topLevel</span><span \
style="font-family:&#39;Courier New,courier&#39;">=</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0">  </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">engine</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">rootObjects</span><span \
style="font-family:&#39;Courier New,courier&#39;">()[</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#000080">0</span><span \
style="font-family:&#39;Courier New,courier&#39;">]</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">win</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">=</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">QQuickWindow</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">topLevel</span><span \
style="font-family:&#39;Courier New,courier&#39;">)</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">win</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">show</span><span \
style="font-family:&#39;Courier New,courier&#39;">()</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">sys</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">exit</span><span \
style="font-family:&#39;Courier New,courier&#39;">(</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">app</span><span \
style="font-family:&#39;Courier New,courier&#39;">.</span><span \
style="font-size:9pt;font-family:&#39;Monospace&#39;">exec_</span><span \
style="font-family:&#39;Courier New,courier&#39;">())</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier \
New,courier&#39;;font-weight:600;text-decoration:underline">test.qml</span></p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="color:#808000">import</span><span style="color:#c0c0c0"> </span>QtQuick<span \
style="color:#c0c0c0"> </span>2.1</p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#808000">import</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">QtQuick.Controls</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">1.0</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">ApplicationWindow</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">    </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800000">id</span><span \
style="font-family:&#39;Courier New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-style:italic;font-family:&#39;Courier \
New,courier&#39;">application</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">    </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800000">menuBar</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800080">MenuBar</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;">{</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">        </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">Menu</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">            </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800000">title</span><span \
style="font-family:&#39;Courier New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;File&quot;</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">            </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">MenuItem</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800000">text</span><span style="font-family:&#39;Courier \
New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;Open...&quot;</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">            </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">MenuItem</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800000">text</span><span style="font-family:&#39;Courier \
New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;Close&quot;</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">        </span><span \
style="font-family:&#39;Courier New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">        </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">Menu</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">            </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800000">title</span><span \
style="font-family:&#39;Courier New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;Edit&quot;</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">            </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">MenuItem</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800000">text</span><span style="font-family:&#39;Courier \
New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;Cut&quot;</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">            </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">MenuItem</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800000">text</span><span style="font-family:&#39;Courier \
New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;Copy&quot;</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">            </span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#800080">MenuItem</span><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0"> </span><span \
style="font-family:&#39;Courier New,courier&#39;">{</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#800000">text</span><span style="font-family:&#39;Courier \
New,courier&#39;">:</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#008000">&quot;Paste&quot;</span><span style="font-family:&#39;Courier \
New,courier&#39;;color:#c0c0c0"> </span><span style="font-family:&#39;Courier \
New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">        </span><span \
style="font-family:&#39;Courier New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;;color:#c0c0c0">    </span><span \
style="font-family:&#39;Courier New,courier&#39;">}</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span \
style="font-family:&#39;Courier New,courier&#39;">}</span></p> <p \
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p> \
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Can \
you help me.</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> \
</p> <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">In \
advance thank you</p></div><br>_______________________________________________<br> PyQt mailing \
list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>




_______________________________________________
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