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

List:       pykde
Subject:    [PyQt] MDI with UIC how to load ?
From:       Rohan Hole <rohanhole31 () gmail ! com>
Date:       2010-01-29 22:39:45
Message-ID: 7acdbac71001291427hcb14df8g5f01a4866c9e9d58 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I have One MDI (Menu Driven) and Some .ui Files . I can load UI files
directly from following standalone code


from PyQt4 import QtGui, uic
app = QtGui.QApplication(sys.argv)
widget = uic.loadUi('demo.ui')
widget.show()
sys.exit(app.exec_())

While i want to RUN  ui files within MDI Window , When I click on Menus It
should load "UI" files within MDI window . .. Is it possible ??

[Attachment #5 (text/html)]

<div>I have One MDI (Menu Driven) and Some .ui Files . I can load UI files directly \
from following standalone code</div> <div> </div>
<div> </div>
<div>from PyQt4 import QtGui, uic</div>
<div>app = QtGui.QApplication(sys.argv)<br>widget = \
uic.loadUi(&#39;demo.ui&#39;)<br>widget.show()<br>sys.exit(app.exec_())</div> <div> \
</div> <div>While i want to RUN  ui files within MDI Window , When I click on Menus \
It should load &quot;UI&quot; files within MDI window . .. Is it possible ??</div> \
<div> </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