[PyQt] signal issue with qbuttongroup

2011-08-04 Thread Di Zou
I have a bunch of buttons in a button group.  Here is my code:     def Function():         addAppButtonGroup = QButtonGroup()         addAppButtonGroup.addButton(addCustomAppButton)         addAppButtonGroup.addButton(addAppleStoreAppButton)         addAppButtonGroup.addButton(addWebLinkButton)  

Re: [PyQt] signal issue with qbuttongroup

2011-08-04 Thread Vincent Vande Vyvre
Le 04/08/11 17:24, Di Zou a crit: I have a bunch of buttons in a button group. Here is my code: def Function(): addAppButtonGroup = QButtonGroup()

[PyQt] Trying insert image into QTableWidget

2011-08-04 Thread Tony Peña
Hi i trying set logoimage into cell of QtableWidget all code runs ok but can't see the image in the table i try with .gif and .png files any idea? heres the code: ./airlines/ (many logosfiles in ABC.gif and ABC.png) if exist show up ifnot just say the code of aircraft

Re: [PyQt] Trying insert image into QTableWidget

2011-08-04 Thread Luca Beltrame
In data giovedì 04 agosto 2011 11:36:14, Tony Peña ha scritto: all code runs ok but can't see the image in the table Did you try using a QLabel without text as item and setting a pixmap there through setPixmap? -- Luca Beltrame - KDE Forums team KDE Science supporter GPG key ID: 6E1A4E79

Re: [PyQt] Trying insert image into QTableWidget

2011-08-04 Thread Vincent Vande Vyvre
Le 04/08/11 18:06, Tony Peña a écrit : Hi i trying set logoimage into cell of QtableWidget all code runs ok but can't see the image in the table i try with .gif and .png files any idea? heres the code:

Re: [PyQt] Trying insert image into QTableWidget

2011-08-04 Thread Tony Peña
Ohh.. about errors.. ok it is for try excep pass.. sorry for that.. and yes i have use Qlabel with Pixmap in other QWIdgetTab and works.. i try it with QLabel again thanxs 2011/8/4 Vincent Vande Vyvre vincent.vandevy...@swing.be ** Le 04/08/11 18:06, Tony Peña a écrit : Hi i trying set

[PyQt] Context menu of child widget

2011-08-04 Thread emmanuel_mayssat
To: PyQt Mailing List pyqt@riverbankcomputing.com Cc: Bcc: Subject: Context menu of child widget Reply-To: (resent on Qt mailing list) Hello all, I am using a composite widget (widget of custom widgets) with a context menu. Each of my child widgets has a context menu as well. I would like

Re: [PyQt] Trying insert image into QTableWidget

2011-08-04 Thread Tony Peña
ok nothing yet i refresh the code again here with QLabel now.. :| airlineCodePath = './airlines/%s.gif' % code_airline try: if os.path.exists(airlineCodePath) is True: airline = QtGui.QLabel() Pixmap =

Re: [PyQt] signal issue with qbuttongroup

2011-08-04 Thread Di Zou
I switched to: def AddApplication(self, id):     print hi, id I also removed this: addAppButtonGroup.setId(addCustomAppButton, 0) addAppButtonGroup.setId(addAppleStoreAppButton, 1) addAppButtonGroup.setId(addWebLinkButton, 2) and it still doesn't work.

Re: [PyQt] signal issue with qbuttongroup

2011-08-04 Thread Di Zou
My code is based on classes. This is how my code looks right now: class MyWidget(QWidget):     def __init__(self, parent):         QWidget.__init__(self, parent)         self.Function()     def Function(self):         addAppButtonGroup = QButtonGroup()        

Re: [PyQt] signal issue with qbuttongroup

2011-08-04 Thread Mike Ramirez
On Thursday, August 04, 2011 01:38:10 PM Di Zou wrote: My code is based on classes. This is how my code looks right now: def Function(self): addAppButtonGroup = QButtonGroup() addAppButtonGroup.addButton(addCustomAppButton)

Re: [PyQt] Trying insert image into QTableWidget

2011-08-04 Thread Hans-Peter Jansen
On Thursday 04 August 2011, 21:45:01 Tony Peña wrote: ok nothing yet i refresh the code again here with QLabel now.. :| airlineCodePath = './airlines/%s.gif' % code_airline try: if os.path.exists(airlineCodePath) is True: airline =

Re: [PyQt] signal issue with qbuttongroup

2011-08-04 Thread Di Zou
That fixed it. Thanks! - Original Message - From: Mike Ramirez gufym...@gmail.com To: Di Zou di_...@yahoo.com Cc: pyqt@riverbankcomputing.com Sent: Thursday, August 4, 2011 4:42 PM Subject: Re: [PyQt] signal issue with qbuttongroup On Thursday, August 04, 2011 01:38:10 PM Di Zou wrote:

Re: [PyQt] QPainter warnings when resizing a QWebView element

2011-08-04 Thread Brian Zambrano
Bumping thisI'm still getting these warnings on resize events but otherwise my app seems normal. BZ On Fri, Jul 22, 2011 at 12:36 AM, Brian Zambrano bri...@gmail.com wrote: I'm attempting to use flot, a jquery/javascript plotting library to draw plots in a QWebView. Everything goes well