[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] PyQt class problem
From: Anshul Jain <aj.phoenixter () gmail ! com>
Date: 2010-04-22 18:40:28
Message-ID: j2nd1177c481004221128rc566796atc9534329cbb3d165 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
There's a problem i am facing. I have defined a horizontallayout in which i
have added 2 widgets (can be seen in the image attached) here's the code
snippet:
mainWidget = QtGui.QWidget()
horizontalLayout = QtGui.QHBoxLayout()
horizontalLayout.addWidget(PanelWidget()) #PanelWidget is the left one in
image
horizontalLayout.addWidget(DragWidget()) #DragWidget is the right one
Now i want to add a QTextedit object from another class into my DragWidget
class so that i can see it in my DragWidget layout pane. How can i show it
in my DragWidget class.
I can send the code if needed. Please help out.
[Attachment #5 (text/html)]
Hi,
<div><br></div><div>There's a problem i am facing. I have defined a \
horizontallayout in which i have added 2 widgets (can be seen in the image attached) \
here's the code snippet:</div><div><br></div><div><div>mainWidget = \
QtGui.QWidget()</div> <div>horizontalLayout = \
QtGui.QHBoxLayout()</div><div>horizontalLayout.addWidget(PanelWidget()) \
#PanelWidget is the left one in \
image</div><div>horizontalLayout.addWidget(DragWidget()) #DragWidget is the right \
one</div> <div><br></div><div>Now i want to add a QTextedit object from another class \
into my DragWidget class so that i can see it in my DragWidget layout pane. How can i \
show it in my DragWidget class. </div><div><br></div><div><br> </div><div>I can send \
the code if needed. Please help out.</div><div><br></div><div><br></div></div>
--000e0cd13bd22be7210484d77a6a--
["image.jpg" (image/jpeg)]
_______________________________________________
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