hi,
how can I list all files and dirs including ".." except "."
I do this
class QDirModelEx(PyQt4.QtGui.QDirModel):
def __init__(self, parent = None):
PyQt4.QtGui.QDirModel.__init__(self, parent)
def data(self, index, role = PyQt4.QtCore.Qt.DisplayRole):
data = PyQt4.QtGu
On Fri, 07 Nov 2008 19:29:14 +, Baz Walter <[EMAIL PROTECTED]> wrote:
> Phil Thompson wrote:
>> There will be new releases of PyQt, SIP and QScintilla in the next few
>> days
>> based on current snapshots.
>>
>> Let me know if there is anything you are expecting that doesn't seem to
>> be
>> t
> "Arthur" == Arthur Pemberton <[EMAIL PROTECTED]> writes:
Arthur> What is the best way to bind data (example from an
Arthur> SQLAlchemy entity) to a form (QDialog)?
I doubt that there is just "one best way" to bind data to forms:)
i have developed it my way, which is available here
Hi all :)
I have a very strange bug, I hope you give me hints to clear it ;)
I attached a simple script, that launch 2 Qlabel :
you can move mouse over first (videol_label), then it appears a new one with
a red cross.
then, near middle of first oone, right-click and move mouse -> it blinks.
as
Phil Thompson wrote:
There will be new releases of PyQt, SIP and QScintilla in the next few days
based on current snapshots.
Let me know if there is anything you are expecting that doesn't seem to be
there.
A while ago i reported a problem with code like this:
def keyPressEvent(self, event):
On Fri, 7 Nov 2008 18:26:15 +0100, Markus Dahlbokum <[EMAIL PROTECTED]>
wrote:
>>
>> Can you confirm it works for you?
>>
>> Phil
>
>
> I get unresolved external symbols when compiling with standard
> configuration
> (sip and PyQt snapshots used). When I configure PyQt without QtWebkit,
the
> c
What is the best way to bind data (example from an SQLAlchemy entity)
to a form (QDialog)?
I have my own ideas of how to do it, but I'm trying to figure out what
the best practices are for leveraging the power of Python in PyQt4.
Thank you.
--
Fedora 9 : sulphur is good for the skin
( www.pembo
On Thu Nov 6 10:48:55 GMT 2008, Alessandro Re wrote:
> I'm trying to using QSqlTableModel on a SQLite database.
> Following the Qt Cached Table Example, I did a simple program (see below):
> pressing a button should commit table's changes to the database.
> But pressing it, the table return to ori
>
> Can you confirm it works for you?
>
> Phil
I get unresolved external symbols when compiling with standard configuration
(sip and PyQt snapshots used). When I configure PyQt without QtWebkit, the
compile works fine (unresolved symbols point to QtWebkit).
For me this is ok. I don't need QtWe
On Fri Nov 7 15:36:49 GMT 2008, Oguz Yarimtepe wrote:
> I was trying to implement a simple PDF reader. The problem about the GUI
> is, when i choose the file from file dialog it shows the rendered image
> at a new window, not inside the QGraphicsView widget. If i solve it i
> think the event part
I was trying to implement a simple PDF reader. The problem about the GUI
is, when i choose the file from file dialog it shows the rendered image
at a new window, not inside the QGraphicsView widget. If i solve it i
think the event part will start to work in the right way. I read the
documents and t
i tried this, and works:
wwrap = QtCore.Qt.TextWordWrap
print (wwrap)
paint = QtGui.QPainter()
paint.begin(self)
paint.setFont(QtGui.QFont('Decorative', 27))
paint.setPen(QtGui.QColor(223, 135, 19, 255))
#f
On Fri, Nov 7, 2008 at 1:34 PM, celsowm <[EMAIL PROTECTED]> wrote:
>
> How is the best way to put shadow in text.
> I tried this: http://trolltech.com/developer/faqs/faq.2007-07-27.3052836051
> I tried this ... but it was not good
What do you mean by "it was not good"? It did not look good? If so
On Fri, Nov 7, 2008 at 11:24 AM, Georg Altmann <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am thinking about wether I should use python properties in my code. As
> PyQt is currently following Qt style (getter: property(), setter:
> getProperty()), I am a bit undecided.
>
> Benefits of python properti
How is the best way to put shadow in text.
I tried this: http://trolltech.com/developer/faqs/faq.2007-07-27.3052836051
I tried this ... but it was not good
--
View this message in context:
http://www.nabble.com/Shadow-in-Text-tp20380625p20380625.html
Sent from the PyQt mailing list archive at Na
Hello,
I am thinking about wether I should use python properties in my code. As
PyQt is currently following Qt style (getter: property(), setter:
getProperty()), I am a bit undecided.
Benefits of python properties from my point of view:
1. Code is more expressive (readability).
Drawbacks:
On Fri, 07 Nov 2008 10:22:29 +0100, Giovanni Bajo <[EMAIL PROTECTED]>
wrote:
> On sab, 2008-11-01 at 17:29 +, Phil Thompson wrote:
>> There will be new releases of PyQt, SIP and QScintilla in the next few
>> days
>> based on current snapshots.
>>
>> Let me know if there is anything you are exp
On sab, 2008-11-01 at 17:29 +, Phil Thompson wrote:
> There will be new releases of PyQt, SIP and QScintilla in the next few days
> based on current snapshots.
>
> Let me know if there is anything you are expecting that doesn't seem to be
> there.
sip.voidptr() only accepts a Python "int" in
18 matches
Mail list logo