[PyQt] masks and antialiasing

2010-02-11 Thread Victor Noagbodji
plied using only a single color. any idea? thanks -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] rounded corners on a qlabel used as a top level window

2010-02-11 Thread Victor Noagbodji
thanks Henning, i thought the example was specific to splashscreen, but it worked. now i need to get the exact shape. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] rounded corners on a qlabel used as a top level window

2010-02-11 Thread Victor Noagbodji
. the session looks like this: >>> l = QLabel("Missing Fluffy CatLast time seen: 2/10/2010 >>> 12:00.") >>> l.setStyleSheet('border: 2px solid black; border-radius: 10px;') >>> l.setWindowFlags(Qt.SplashScreen) >>> l.show() a

[PyQt] Re: images aren't saved with this webcapturing script

2009-11-24 Thread Victor Noagbodji
hi, has anybody under windows successfully run the code i submitted. i think it only works under linux. thanks a lot in advance. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman

[PyQt] re: images aren't saved with this webcapturing script

2009-11-21 Thread Victor Noagbodji
i'm running under windows xp. i tried both combinations python25+pyqt-4.4.3-1 and python26+pyqt-4.6.2-1 and the result is the same... -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputin

[PyQt] images aren't saved with this webcapturing script

2009-11-21 Thread Victor Noagbodji
sys.argv) capture = WebCapture() QObject.connect( capture, SIGNAL('done'), QApplication.instance(), SLOT('quit()') ) capture.load(url, zoom, filename, width) sys.exit(app.exec_()) -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] has anyone successfully implemented the color editor factory example?

2009-10-23 Thread Victor Noagbodji
is deleted" error everytime. i'm trying to register combo boxes to QStringList to edit a special row in the table. thanks a lot in advance. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankc

[PyQt] re: is there any reason why the former does not work?

2009-10-11 Thread Victor Noagbodji
thanks Brian. i also used something similar to that. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] is there any reason why the former does not work?

2009-10-11 Thread Victor Noagbodji
del(model) print view.model() < correctly prints why is that happening? -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] re: building QfMacNavBar on windows

2009-09-08 Thread Victor Noagbodji
wow, thanks Alexei. i was going through the process of installing sip, mingw32, qt, etc... then i saw your reply and it just worked. i was also interested in that mac nav bar. -- paul victor noagbodji ___ PyQt mailing listPyQt

[PyQt] re: has any one implemented a side bar like the one in Mac

2009-09-01 Thread Victor Noagbodji
isn't that just a QTreeWidget? the QTreeWidgetItems are customized. the close button can also easily be implemented. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] re: has any one implemented a side bar like the one in Mac

2009-09-01 Thread Victor Noagbodji
what does it exactly look like? -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: Adding a widget to a layout that belongs to a QGroupBox changes that widget's parent?

2009-08-14 Thread Victor Noagbodji
paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: problem with createEditor method of QItemDelegate

2009-08-13 Thread Victor Noagbodji
oobar" ) qh.addWidget( self.qlabel ) cheers, -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: Problem with QTimeLine

2009-08-10 Thread Victor Noagbodji
hi Juan, you don't get the first 0 value because it's the initial value. the frame hasn't changed yet. add this and you will see the initial frame value. print tl.currentFrame() cheers -- paul victor noagbodji ___ PyQt maili

[PyQt] tracking mouse position with pyqt on command line

2009-08-08 Thread Victor Noagbodji
text file from time to time. thanks a lot in advance. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: Need to implement UI like Nuke 3d

2009-08-07 Thread Victor Noagbodji
ponent&Itemid=56 -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] version 4.5.x binaries for windows python2.5

2009-08-03 Thread Victor Noagbodji
hi i was wondering if anybody has been able to compile from the source. for python2.5 it seems like there are no new binaries provided. thanks a lot in advance. -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http

[PyQt] underlying c/c++ object has been deleted

2009-08-02 Thread Victor Noagbodji
t()[0]) filename = QString(sys.argv[3]) width = 1024 if argc < 5 else QString(sys.argv[4]).toInt()[0] app = QApplication(sys.argv) capture = WebCapture() QObject.connect(capture, SIGNAL('done'), QApplication.instance(), SLOT('quit()')) capture.load(url, zoom, filename, width) sys.exit(app.exec_()) -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] custom editor with setFocusProxy set on a QLineEdit child element won't close

2009-07-29 Thread Victor Noagbodji
bleView.setModel(model) delegate = MyDelegate() tableView.setItemDelegate(delegate) for row in range(4): for column in range(2): index = model.index(row, column, QtCore.QModelIndex()) model.setData(index, QtCore.QVariant((row+1) * (column+1))) tableView.show() sys.e

[PyQt] custom sections in a QDateTimeEdit

2009-06-10 Thread Victor Noagbodji
April 2009 i have looked at sections of the QDateTimeEdit and it seems like they are hard coded and we cannot change them. any suggestion on how to do it? thanks in advance (please ignore my previous posts) -- paul victor noagbodji ___ PyQt mailing list

[PyQt] RuntimeError: no access to protected functions...

2009-06-10 Thread Victor Noagbodji
('tango/16x16/mimetypes/x-office-calendar.png').getQIcon() menu.addAction(icon, 'today', self.setToday) pos = self.lineEdit().cursorRect().center() # runtime error here menu.exec_(pos) def setToday(self): self.setDate(QtGui.QDate.currentDa

[PyQt] getting the default context menu on a QDateEdit

2009-06-10 Thread Victor Noagbodji
hello all, i want to modify the context menu of a QDateEdit. how do i retrieve the default one? thanks a lot -- paul victor noagbodji ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] I can't read GIF and MNG files

2008-08-12 Thread Victor Noagbodji
Hi, these two QMovie formats are not supported. Do you have to install anything to enable them? Thanks -- NOAGBODJI Paul Victor ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Signal emitted when a QTableView's row number is clicked

2008-07-26 Thread Victor Noagbodji
Hi all, is there a signal emitted when a QTableView's row number is clicked? I'm doing a custom view where users can edit items by doubleclicking them. But we want another view, a form view, to be created when the row number of the table is clicked not the items. Thanks in advance for any help.

[PyQt] Threading and layouts.

2008-07-04 Thread Victor Noagbodji
Hello all, I'm having a problem with python threading and qt layouts. A filter widget is composed of several QRadioButtons. I don't know these radio buttons in advance, I fetch them from another thread. Upon completion, a callback function to layout these buttons is called. This is not working. :

[PyQt] print preview with PyQt

2008-06-24 Thread Victor Noagbodji
Hi all, I'm quite new to PyQt, I would like to know where I can find an example of print preview done with PyQt. Thanks a lot in advance. -- NOAGBODJI Paul Victor ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/m