geojeff doesn't have a personal statement currently.
Gender Not Set
Joined: 9-March 05
Profile Views: 157*
Last Seen: 11th July 2007 - 05:45 AM
Local Time: Mar 27 2017, 08:50 AM
4 posts (0 per day)
* Profile views updated each hour
18 Mar 2005
I've followed the helpful instructions here for using python (kopsis) and pyqt on the zaurus (5500), and have found by searching the forum postings how to use QPEApplication instead of QApplication (after about a month of development without a clue that it existed) and now my app is looking nice. It is for doing bird counts and includes a working GPS interface, using elements of the python code from gpsd and from pygps. One problem remains though: how to properly setup my app so that it can be restored after it looses focus, and how to give it a proper icon. I found postings that get close, it seems, and did the following:
1) put a script in /opt/QtPalmtop/bin called myapp that contains the line
2) added the line
sys.argv = "myapp"
just above the line
a = QPEApplication(sys.argv)
The startup script works, but, if my app looses focus when another app is run, clicking the terminal icon only brings up the terminal console where i fired the script.
So, I am asking for general help on the full steps needed to make a python/pyqt program act like a normal application, or at least to solve the focus problem. I don't know if it matters for this, but my rom is the sharp 3.13 version.
BTW, I really enjoy programming with pyqt, after years of Java dev with Swing, but having entered into a limbo on gui development since turning to python in the last couple of years. Nice to discover Qt and pyqt -- good docs and clean api.
geojeff has no visitors to display.
Other users have left no comments for geojeff.
There are no friends to display.
|Lo-Fi Version||Time is now: 27th March 2017 - 06:50 AM|