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:
> air
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 = QtGui.QPixmap(ai
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
> **
> Le 04/08/11 18:06, Tony Peña a écrit :
>
> Hi i trying set logoimage into cell of Qtabl
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:
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
sig
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
code_airline