Re: PyQT installation

2005-01-01 Thread Ken Godee
John J. Lee wrote:
[EMAIL PROTECTED] (Alex Martelli) writes:
[...]
Basically: if you want it on Windows for free, forget Qt

Correct.
I believe the book "C++ GUI programming Qt3" comes
with a windows Qt gpl 3.x version. Just have to buy
the book. No PyQt version to match thou.
Blackadder from the Kompany, while not free, is still
a pretty good deal. Like < $100 for personal and around
$350 for commercial version. Include current windows/linux
versions of (Qt)PyQt along with converted Qt C++ to PyQt docs.
 > Not correct.  It's driven by KDE, and it's more ambitious than that:
http://kde-cygwin.sourceforge.net/qt3-win32/roadmap.php
IIRC, people have already run some KDE apps under Windows (though
still needing X, so far).
I wonder how TrollTech will react as (and if) it progresses.
I don't think your giving TrollTech any credit here, yes they have
a business model and need to make money, but not everybody is
Microsoft. They are fully aware and supportive of the project
and I remember reading not to long ago they struck an aggrement
with the project that if anything ever happened to TrollTech they
would release Qt to project under gpl, or something like that.
--
http://mail.python.org/mailman/listinfo/python-list


Re: pyQT 4

2005-07-25 Thread Ken Godee

> My question is : does anybody know when pyqt 4 will be distributed ?
> 

http://www.riverbankcomputing.co.uk/pyqt/roadmap.php
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: wxPython vs. pyQt

2005-03-17 Thread Ken Godee
tc wrote:
Has anyone compiled binaries for qt/pyqt/eric3. i'd really like to try
it. at the moment i work with wxWindows and BoaConstructor which i'm
actually not so happy with. design of gui's with wx is not very
efficient...
so is there already a binary for qt/pyqt/eric3 available or when can i
excpect qt4 to be released?
tc
http://kde-redhat.sourceforge.net/
apt/yum/etc. repositories
qt-3.3.3-16.3.3.kde.i386.rpm
sip-4.1.1-0.2.3.kde.i386.rpm
PyQt-3.13-2.0.3.kde.i386.rpm
PyKDE-3.11.3-0.5.3.kde.i386.rpm
qscintilla-1.4-0.1.3.kde.i386.rpm
eric-3.6.1-0.fdr.1.3.i386.rpm
and more

--
http://mail.python.org/mailman/listinfo/python-list


Re: threading, qt, and the freakout

2004-11-29 Thread Ken Godee
Ben Floyd wrote:
Hey everyone,
Why doesn't this work? The code speaks much more clearly than I do,
so i shortened it and pasted it below.  Running this
and clicking on 'Break Me' will... freak out the window...
You can not mix GUI threads and non GUI threads.
Just changing text may seem to work, but
even that will get you eventually.
Here's an article that explains how to do it...
http://www.informit.com/articles/article.asp?p=30708

--
http://mail.python.org/mailman/listinfo/python-list


Re: Need Help: Server to pass py objects

2005-03-29 Thread Ken Godee
>I have a legacy system with data stored in binary files on a remote 
>server.
>I need to access and modify the content of those files from a webserver
>running on a different host.  (All Linux)
>
>I would like to install a server on the legacy host that would use my 
>python
>code to translate between the legacy files and Python Objects that 
>represent
>the subset of data I care about, then pass those Python objects back >and
>forth to my webserver, which would then manage the http I/F to various
>clients.
>
>My organization prefers to use open source software.
>
>Can anyone suggest some products to research further?


Take a look here
http://pyro.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list


Re: workaround for generating gui tools

2005-04-10 Thread Ken Godee
Jeremy Bowers wrote:
On Sun, 10 Apr 2005 13:57:26 +0200, Diez B. Roggisch wrote:

Domain-specific abstractions do that *faster* than GUI designers, not
slower. And better, too, since every iteration tends to be fully
functional and not just a "let's see what this looks like" prototype.
Can you show me some working, in-use example for that?  I _seriously_ doubt
that the process of rearranging and tuning the layout can be done faster in
the text-world than with a good designer like qt-designer. But I'm all ears
for better solutions.

Regrettably, no. I have them but they are all unsharable, either because
the real owner would consider them proprietary, or because they are an
unreleased and at the moment unfinished product I can't give the code out
for.
But I can help some.
This guys gotta be a politician or english major or something! :)
155 lines, 1706 words, 9493 character reply, but his method is so simple
he still can't show us an example!
The original poster was just asking for an example of
how to sub class his code generated form into his program
for easy future updates, a "VERY STANDARD" way of doing it.
I tried at first to follow this "Great Way" of doing it,
but I guess I'm to simple minded, or just got to damed borded.
Hey, that's just me. I guess I'll just be stuck zapping out
forms with qt designer, the old fashion way.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python RPM and CentOS

2005-05-17 Thread Ken Godee
The reasonable thing would be to use "yum".


> Not really a Python question, but I thought some on this list may be 
> able to answer so here goes:
> 
> I have several machines on which I must install CentOS. There are many 
> updates to CentOS and it's very time consuming to do the updates over 
> the network. I have a local copy of all of the updated rpms. Would it be 
> reasonable to do something like this to upgrade them locally and more 
> quickly than over the network???
> 
> updated_rpms = [list of updated rpms]
> 
> for f in updated_rpms:
> 
>  try:
>  os.popen("/bin/rpm --nodeps -U %s" %f)
> 
>  except Exception, e:
>  print e
> 
> 
> Thanks,
> 
> rbt

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Garbage collection with QT

2005-06-08 Thread Ken Godee
> Is there a way, to find out all references to the QMainWindow or its 
> hosted QTable, for having a mechanism to destroy them?
> 
Yes, of coarse, the docs are your friend :)

QObject::children()
QObject::removeChild()
QObject::parent()

To find all the children for an instance you
can create a loop.

An example of a dialog window function
that cleans it self up 


def xdialog(self,vparent,info):

 vlogin = dialogwindow(parent=vparent,modal=1)

 while 1:

 vlogin.exec_loop()

 if vlogin.result() == 0:
 vparent.removeChild(vlogin)
 del vlogin
 break




-- 
http://mail.python.org/mailman/listinfo/python-list