Re: PyQt: Parenting a Widget

2017-09-26 Thread Thomas Jollans
On 2017-09-26 16:41, Veek M wrote: > Thanks - i'm on debian stretch so python 2.7 is what I use. https://packages.debian.org/stretch/python3 https://packages.debian.org/stretch/python3-pyqt4 https://packages.debian.org/stretch/python3-pyqt5 -- https://mail.python.org/mailman/listinfo/python-li

Re: PyQt: Parenting a Widget

2017-09-26 Thread Chris Angelico
On Wed, Sep 27, 2017 at 12:41 AM, Veek M wrote: > Thanks - i'm on debian stretch so python 2.7 is what I use. Debian Stretch ships with Python 3.5 too. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: PyQt: Parenting a Widget

2017-09-26 Thread Veek M
On Tuesday, September 26, 2017 at 2:23:22 PM UTC+5:30, Thomas Jollans wrote: > On 2017-09-26 08:16, Veek M wrote: > > On Tuesday, September 26, 2017 at 11:18:54 AM UTC+5:30, Veek M wrote: > >> Summary: Could someone explain widget and dialog parenting - the text book > >> is not making sense. > >>

Re: PyQt: Parenting a Widget

2017-09-26 Thread Thomas Jollans
On 2017-09-26 08:16, Veek M wrote: > On Tuesday, September 26, 2017 at 11:18:54 AM UTC+5:30, Veek M wrote: >> Summary: Could someone explain widget and dialog parenting - the text book >> is not making sense. >> ## >> I'm trying to understand widget parenting, from the book: Ra

Re: PyQt: Parenting a Widget

2017-09-25 Thread Veek M
On Tuesday, September 26, 2017 at 11:18:54 AM UTC+5:30, Veek M wrote: > Summary: Could someone explain widget and dialog parenting - the text book is > not making sense. > ## > I'm trying to understand widget parenting, from the book: Rapid GUI > Programming, pg 118, and there

Re: PyQt: viewport vs window - how do you translate co-ordinates?

2017-09-24 Thread Veek M
On Saturday, September 23, 2017 at 8:44:25 PM UTC+5:30, Michael Torrie wrote: > On 09/23/2017 05:38 AM, Veek M wrote: > > I didn't understand any of that - could someone expand on that para? > > Is there a reading resource that explains the Viewport and translations? I > > am not a CS student so I

Re: PyQt: viewport vs window - how do you translate co-ordinates?

2017-09-23 Thread Michael Torrie
On 09/23/2017 05:38 AM, Veek M wrote: > I didn't understand any of that - could someone expand on that para? > Is there a reading resource that explains the Viewport and translations? I am > not a CS student so I did not study computer graphics. I'm sure there are lots of things that might help.

Re: PyQt pass data from class

2016-11-16 Thread Michael Torrie
On 11/16/2016 12:47 AM, luca72 via Python-list wrote: > Thanks for your reply > > Is the latter, can you explain how i can do it. Just add an argument to __init__() of the one class where you will pass the instance of the other class to it. Then you can store it inside the instance, and use it wh

Re: PyQt pass data from class

2016-11-15 Thread luca72 via Python-list
Thanks for your reply Is the latter, can you explain how i can do it. Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: PyQt pass data from class

2016-11-15 Thread Michael Torrie
On 11/15/2016 10:01 AM, luca72 via Python-list wrote: > in wich way i can have access to the lineedit of class Form without event > from class Cornice If I understand you, you are asking how to set the text without having it emit a signal. Is that correct? Or are you asking how to access the memb

Re: PyQt pass data from class

2016-11-15 Thread Rob Gaddi
luca72 wrote: > Hello i need to this > > class Form(QWidget, Ui_Form): > """ > Class documentation goes here. > """ > def __init__(self, parent=None): > """ > Constructor > > @param parent reference to the parent widget > @type QWidget >

Re: [PyQT] After MessageBox app quits...why?

2016-11-07 Thread Demosthenes Koptsis
i answered my own question. On 11/07/2016 11:44 AM, Demosthenes Koptsis wrote: because there is no window open and quits by default. You have to do two things: 1) Make sure that your SystemTray class has parent a QWidget w = QtGui.QWidget() trayIcon = SystemTrayIcon(QtGui.QIcon("

Re: [PyQT] After MessageBox app quits...why?

2016-11-07 Thread Demosthenes Koptsis
because there is no window open and quits by default. You have to do two things: 1) Make sure that your SystemTray class has parent a QWidget w = QtGui.QWidget() trayIcon = SystemTrayIcon(QtGui.QIcon("virtualdvd.png"), w) 2) set quit to false app.setQuitOnLastWindowClosed(False)

Re: [PyQT] After MessageBox app quits...why?

2016-11-07 Thread Anssi Saari
Demosthenes Koptsis writes: > Hello, i have a PyQT systray app with a menu and two actions. > > Action1 is Exit and action2 display a MessageBox with Hello World message. > > When i click OK to MessageBox app quits...why? > > http://pastebin.com/bVA49k1C I haven't done anything with Qt in a whil

Re: PyQT - Signals and Slots?

2016-10-10 Thread Michael Torrie
On 10/10/2016 07:32 AM, Veek M wrote: > Whaaa...t?? Could someone explain what exactly is his grand design > besides being awfully circuitous? So he has some other Form thingy.. and > in that he sets up another mapping from ZeroSpinBox.atzero --> > ZeroSpinBox.announce where's announce and

Re: PyQT - Signals and Slots?

2016-10-10 Thread Veek M
Mark Summerfield wrote: > > The ZeroSpinBox is a tiny example designed to show how the signal/slot > mechanism works. It is just a QSpinBox with the addition of > remembering how many times (all the) ZeroSpinBox(es) have had a 0 > value. > > Nowadays the connections would be made with a new impr

Re: PyQT - Signals and Slots?

2016-10-10 Thread Mark Summerfield
The ZeroSpinBox is a tiny example designed to show how the signal/slot mechanism works. It is just a QSpinBox with the addition of remembering how many times (all the) ZeroSpinBox(es) have had a 0 value. Nowadays the connections would be made with a new improved syntax: self.connect(self, SIGNAL

Re: [PyQt] win32api.LoadKeyboardLayout; any solutions for OSX?

2015-03-20 Thread Timothy W. Grove
Thanks again. Macports didn't have the latest pyobjc, but pip updated my installation to the fixed version. Problem solved. Tim On 20/03/2015 00:18, michael h wrote: Did you see this: https://bitbucket.org/ronaldoussoren/pyobjc/issue/95/attributeerror-in-some-cases-when-checking On Thu, Ma

Re: [PyQt] win32api.LoadKeyboardLayout; any solutions for OSX?

2015-03-19 Thread michael h
Did you see this: https://bitbucket.org/ronaldoussoren/pyobjc/issue/95/attributeerror-in-some-cases-when-checking On Thu, Mar 19, 2015 at 12:20 PM, Timothy W. Grove wrote: > A personal reply to my question sent me to the following link: > http://stackoverflow.com/questions/23729704/change-os

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-18 Thread Michael Torrie
On 12/18/2014 04:16 AM, Mark Summerfield wrote: > It looks to me that what you are doing is sharing a single core > between your GUI and your processing. Threading isn't usually a good > approach to Python concurrency that is CPU-bound. Except that his code was not CPU-bound to begin with. His re

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-18 Thread Mark Summerfield
On Thursday, December 11, 2014 4:53:04 AM UTC, iMath wrote: > I think the user interface shouldn't be freezed when using > concurrent.futures.ThreadPoolExecutor here,as it executes asynchronously , > but it doesn't meet my expectations,anyone can explain why ? any other > solutions here to not l

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-12 Thread Marko Rauhamaa
Chris Angelico : > And I don't remember how Java did things, except that I struggled to > find basic fundamental primitives like semaphores, and had to use > synchronized functions/objects instead. Java now has a diverse set of synchornization facilities, but the builtin object synchronization pr

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-11 Thread Chris Angelico
On Fri, Dec 12, 2014 at 6:18 PM, Marko Rauhamaa wrote: > GUI developers have been doing event-driven programming for decades. > That's an excellent preparation for network programming as well. > Unfortunately, the minds of a generation of programmers were > contaminated by the thread craze of the

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-11 Thread Marko Rauhamaa
Michael Torrie : > An asynchronous API lets you start long-running I/O calls and define a > function that is automatically called upon completion. In other words > it's event-driven. Qt may provide everything you need already in an > asynchronous form. GUI developers have been doing event-driven

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-11 Thread Michael Torrie
On 12/11/2014 08:20 PM, iMath wrote: > 在 2014年12月11日星期四UTC+8下午1时25分41秒,Michael Torrie写道: >> On 12/10/2014 09:52 PM, iMath wrote: > "when it comes to I/O and GUIs, asynchronous calls are always better than > threads." > > I cannot grasp your meaning here, IMO, asynchronous calls are done by using

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-11 Thread iMath
在 2014年12月11日星期四UTC+8下午1时25分41秒,Michael Torrie写道: > On 12/10/2014 09:52 PM, iMath wrote: > > I think the user interface shouldn't be freezed when using > > concurrent.futures.ThreadPoolExecutor here,as it executes > > asynchronously , but it doesn't meet my expectations,anyone can > > explain why ?

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-10 Thread Michael Torrie
On 12/10/2014 09:52 PM, iMath wrote: > I think the user interface shouldn't be freezed when using > concurrent.futures.ThreadPoolExecutor here,as it executes > asynchronously , but it doesn't meet my expectations,anyone can > explain why ? any other solutions here to not let user interface > freeze

Re: pyqt darg and drop

2014-10-04 Thread Sachin Tiwari
On Saturday, October 4, 2014 3:35:33 PM UTC+5:30, Sachin Tiwari wrote: > Hi > > > > I want to drag and drop push multiple push buttons but its working for only > for last button. And I want to connect them by a wire. > > > > Please help. > > > > import sys > > from PyQt4 import

Re: pyqt problem

2014-10-02 Thread Sachin Tiwari
On Thursday, October 2, 2014 3:19:22 PM UTC+5:30, Sachin Tiwari wrote: > Hi > > I am learning pyqt, can any one help me to make instances of pushbutton > wherever cursor will be clicked on canvas,like a circuit simulator where we > add components on canvas just by left or right click. > > >

Re: pyqt problem

2014-10-02 Thread Mark Lawrence
On 02/10/2014 10:49, sachin.tiwar...@gmail.com wrote: Hi I am learning pyqt, can any one help me to make instances of pushbutton wherever cursor will be clicked on canvas,like a circuit simulator where we add components on canvas just by left or right click. Thanks & Regards, Sachin Please

Re: [PyQt] Automatic Crash Reporting

2014-09-26 Thread Detlev Offenbach
Hi, I did this myself for the eric IDE. Depending upon your needs it is really simple. Just check the eric5.py main script. (http://eric-ide.python-projects.org) Detlev On Thursday 25 September 2014, 04:15:53 Timothy W. Grove wrote: > Can anyone recommend a good automatic crash reporting modul

Re: PyQT app accessible over network?

2013-02-25 Thread Chris Angelico
On Tue, Feb 26, 2013 at 10:26 AM, Dennis Lee Bieber wrote: > On Mon, 25 Feb 2013 17:35:44 +1100, Chris Angelico > declaimed the following in gmane.comp.python.general: >> It may take a lot of work to get the permissions down to their >> absolute minimum, but one easy "half-way house" would be to

Re: PyQT app accessible over network?

2013-02-25 Thread Frank Millman
On 25/02/2013 08:35, Chris Angelico wrote: On Mon, Feb 25, 2013 at 5:14 PM, Frank Millman wrote: On 24/02/2013 16:58, Chris Angelico wrote: MySQL has a philosophical structure of "user logs in to app, but app logs in to database as superuser regardless of user login". Out of curiosity, is th

Re: PyQT app accessible over network?

2013-02-24 Thread Chris Angelico
On Mon, Feb 25, 2013 at 5:14 PM, Frank Millman wrote: > On 24/02/2013 16:58, Chris Angelico wrote: >> MySQL has a philosophical structure of "user logs in to app, >> but app logs in to database as superuser regardless of user login". > > Out of curiosity, is there anything wrong with that approach

Re: PyQT app accessible over network?

2013-02-24 Thread Frank Millman
On 24/02/2013 16:58, Chris Angelico wrote: [...] MySQL has a philosophical structure of "user logs in to app, but app logs in to database as superuser regardless of user login". Out of curiosity, is there anything wrong with that approach? The project I am developing is a business/accountin

Re: PyQT app accessible over network?

2013-02-24 Thread Chris Angelico
On Mon, Feb 25, 2013 at 1:31 AM, Wolfgang Keller wrote: >> As far as doing client/server stuff with just a database engine, >> unless you have tight control over the environment end to end, from a >> security pov, it's not a good idea to expose the database engine >> itself to the internet. Bette

Re: PyQT app accessible over network?

2013-02-24 Thread Wolfgang Keller
> As far as doing client/server stuff with just a database engine, > unless you have tight control over the environment end to end, from a > security pov, it's not a good idea to expose the database engine > itself to the internet. Better to put a restricted web services API > in front of it that

Re: PyQT app accessible over network?

2013-02-24 Thread Wolfgang Keller
> My concern is that using postgres or mysql for this would be akin to > using a sledgehammer to swat a fly, I wouldn't use MySQL for anything that requires anything else than "select". And PostgreSQL has extremely spartanic resource requirements in the default configuration. It runs on Linux on

Re: PyQT app accessible over network?

2013-02-24 Thread Alec Taylor
On Sat, Feb 23, 2013 at 10:37 AM, Michael Torrie wrote: > On 02/22/2013 02:49 PM, Monte Milanuk wrote: >> Web2py does seem pretty attractive in that it seems to come with a lot >> of functionality rolled in already. It seems to be pretty easy to >> deploy... since this would be more of a case whe

Re: PyQT app accessible over network?

2013-02-22 Thread Chris Angelico
On Sat, Feb 23, 2013 at 11:20 AM, Dennis Lee Bieber wrote: > Problem: SQLite3 (and M$ JET/Access) are considered "file server" > databases. Each instance of the program accessing the database is > directly opening the database file(s). While SQLite3 has a fairly > complex locking system, t

Re: PyQT app accessible over network?

2013-02-22 Thread Michael Torrie
On 02/22/2013 02:49 PM, Monte Milanuk wrote: > Web2py does seem pretty attractive in that it seems to come with a lot > of functionality rolled in already. It seems to be pretty easy to > deploy... since this would be more of a case where the volunteer match > directors are not necessarily comp

Re: PyQT app accessible over network?

2013-02-22 Thread Monte Milanuk
On 02/22/2013 08:57 AM, Alec Taylor wrote: Monte: I noticed you mentioned web2py; that would be my recommendation. You also mention different features being available to different users; perfect use-case for web2py's built-in RBAC. Scalability: Go with Postgres, MySQL; or considering how much d

Re: PyQT app accessible over network?

2013-02-22 Thread Alec Taylor
Monte: I noticed you mentioned web2py; that would be my recommendation. You also mention different features being available to different users; perfect use-case for web2py's built-in RBAC. Scalability: Go with Postgres, MySQL; or considering how much data you're talking about, even SQLite would b

Re: PyQT app accessible over network?

2013-02-22 Thread Monte Milanuk
Yes, I am looking at a database-centric application. I know that the 'larger' databases such as PostgreSQL, MySQL, etc. would not have any problem handling that small amount of traffic. My concern is that using postgres or mysql for this would be akin to using a sledgehammer to swat a fly, wh

Re: PyQT app accessible over network?

2013-02-22 Thread Wolfgang Keller
> I've been working at learning python off and on now for a while, with > a couple programs in mind as a goal - kind of specialized stuff that > I can't seem to find a good match for already available, competitor > records, score-keeping & results for an amateur sports tournament. So you want to

Re: PyQT app accessible over network?

2013-02-21 Thread Michael Torrie
On 02/21/2013 09:22 AM, Monte Milanuk wrote: > What I was wondering is what would be a good way of handling this with a > PyQt app? Build the desktop app first, and add some sort of > functionality to enable a lightweight web server and framework for the > additional data entry 'clients'? Or

Re: pyQT performance?

2012-09-10 Thread Andrea Crotti
On 09/10/2012 07:29 PM, jayden.s...@gmail.com wrote Have you ever used py2exe? After converting the python codes to executable, does it save the time of interpreting the script language? Thank a lot! Py2exe normally never speeds up anything, simply because it doesn't convert to executable, bu

Re: pyQT performance?

2012-09-10 Thread jayden . shui
On Monday, September 10, 2012 2:06:59 PM UTC-4, Vincent Vande Vyvre wrote: > Le 10/09/12 19:24, jayden.s...@gmail.com a écrit : > > > Anybody has the experience of the performance of the program developed by > > pyQT? Is it much slower than the one made by QT, such as (20%)? > > > > > For my ex

Re: pyQT performance?

2012-09-10 Thread Vincent Vande Vyvre
Le 10/09/12 19:24, jayden.s...@gmail.com a écrit : > Anybody has the experience of the performance of the program developed by > pyQT? Is it much slower than the one made by QT, such as (20%)? > For my experience, 20% is really surestimated. I'm developping only with PyQt and essentially in the i

Re: PyQt QCalendarWidget events question

2012-07-17 Thread Chris Angelico
On Tue, Jul 17, 2012 at 7:34 PM, wrote: > It's so fundamental to most GUIs that single-click > and double-click allow one to do different things with the same object Kinda yes, kinda no. Most GUIs and GUI recommendations would either enforce or strongly suggest that the double-click action incor

Re: PyQt QCalendarWidget events question

2012-07-17 Thread tinnews
John Posner wrote: > On 7/16/2012 12:28 PM, tinn...@isbd.co.uk wrote: > > tinn...@isbd.co.uk wrote: > >> I am trying to use the PyQt4 calendar widget to perform some different > >> actions on specific dates. There are three events available:- > >> > >> selectionChanged() > >> activated(QD

Re: Re: PyQt QCalendarWidget events question

2012-07-16 Thread John Posner
On 7/16/2012 12:28 PM, tinn...@isbd.co.uk wrote: > tinn...@isbd.co.uk wrote: >> I am trying to use the PyQt4 calendar widget to perform some different >> actions on specific dates. There are three events available:- >> >> selectionChanged() >> activated(QDate) >> clicked(QDate) >> >> O

Re: PyQt QCalendarWidget events question

2012-07-16 Thread tinnews
tinn...@isbd.co.uk wrote: > I am trying to use the PyQt4 calendar widget to perform some different > actions on specific dates. There are three events available:- > > selectionChanged() > activated(QDate) > clicked(QDate) > > On trying all these out it would appear that the event han

Re: PyQt

2011-06-10 Thread Terry Reedy
On 6/10/2011 3:15 PM, KK wrote: Thanks for the reply!! i ve installed the binary but when i import anything of PyQt in my prog it says error?? i think there is some problem with folders If you install in python32/Lib/site-packages, it should work. But see Andrew's message. Show both

Re: PyQt

2011-06-10 Thread Benjamin Kaplan
On Fri, Jun 10, 2011 at 12:15 PM, KK wrote: > Thanks for the reply!! > i ve installed the binary > but when i import anything of PyQt in my prog it says error?? > i think there is some problem with folders What is the exact text of the error message? We can't help you unless we know

Re: PyQt

2011-06-10 Thread KK
Thanks for the reply!! i ve installed the binary but when i import anything of PyQt in my prog it says error?? i think there is some problem with folders -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt

2011-06-10 Thread Andrew Berg
On 2011.06.10 08:09 AM, KK wrote: > I have python 3.2 installed m not able to install PyQt. > i have downloaded and configured sip but how to build it??? The pages are misleading. You only need the SIP source if you want to build everything from source. Since you don't seem to be familiar with

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-02 Thread David Boddie
On Wednesday 02 February 2011 00:31, Gelonida wrote: > I would like to subclass QNetworkAccessManager and > create a subclass of QWebView, that will use the subclassed > QNetworkAccessManager for all accesses. > > Is this possible? > I have really no idea when and how I could achieve this. > > T

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-02 Thread Phil Thompson
On Wed, 02 Feb 2011 10:53:54 +0100, Gelonida Gmail wrote: > Hi Phil, > > On 02/02/2011 09:28 AM, Phil Thompson wrote: >> On Wed, 02 Feb 2011 02:37:06 +0100, Gelonida wrote >> >> In fact my first experiments failed horribly due to a tiny PyQt detail. >> >> I expected that, the variable new_manage

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-02 Thread Gelonida Gmail
Hi Phil, On 02/02/2011 09:28 AM, Phil Thompson wrote: > On Wed, 02 Feb 2011 02:37:06 +0100, Gelonida wrote > > In fact my first experiments failed horribly due to a tiny PyQt detail. > > I expected that, the variable new_manager does not have to be > persistent. >> I naively assumed, that a call

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-02 Thread Phil Thompson
On Wed, 02 Feb 2011 02:37:06 +0100, Gelonida wrote: > On 02/02/2011 12:31 AM, Gelonida wrote: >> Hi, >> >> I would like to subclass QNetworkAccessManager and >> create a subclass of QWebView, that will use the subclassed >> QNetworkAccessManager for all accesses. >> >> Is this possible? >> I hav

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-01 Thread Gelonida
On 02/02/2011 12:31 AM, Gelonida wrote: > Hi, > > I would like to subclass QNetworkAccessManager and > create a subclass of QWebView, that will use the subclassed > QNetworkAccessManager for all accesses. > > Is this possible? > I have really no idea when and how I could achieve this. > > Thanks

Re: [PyQt] Working with PyQt and Pydev

2011-01-07 Thread Fabio Zadrozny
On Thu, Jan 6, 2011 at 9:32 AM, Rohit Coder < passionate_program...@hotmail.com> wrote: > I installed the PyDev plugin into Aptana Stdui 3 Beta. Someone suggested > me to use PyQt for Python GUI app, and so I downloaded and installed PyQt. > But when I open Aptana Studio, I could see a new menu a

Re: PyQt Installation Problem on Windows

2010-11-26 Thread Hans-Peter Jansen
On Wednesday 24 November 2010, 23:03:14 Saul Spatz wrote: > Hi, > > I've been trying to install PyQt on Windows XP Pro so that I can try > out eric ide. I used the binary windows installer for PyQt. I can > run eric as administrator, but not with my ordinary user account. By > running eric.bat w

Re: PyQt imageViewer does not working properly...

2010-10-05 Thread Hans-Peter Jansen
On Tuesday 05 October 2010, 00:29:04 Polimeno wrote: > Hello guys, > > I have been looking throughout the web for some PyQt Image Viewer : > > http://nullege.com/codes/show/src%40pyformex-0.8.2%40pyformex%40gui%40ima >geViewer.py/78/PyQt4.QtGui.QImage# > > > Unfortunately, everytime I input any kin

Re: PyQt signals/slots dialogs question

2010-06-07 Thread Thomas Jollans
On 06/07/2010 08:21 PM, AlienBaby wrote: > On Jun 7, 5:21 pm, AlienBaby wrote: > >> My real aim here is to learn pyqt, so I would rather not the the >> QWizard process until I understand myself whats going on behind the >> scenes. >> > Perhaps I posted to early, but a little more perserver

Re: PyQt signals/slots dialogs question

2010-06-07 Thread AlienBaby
On Jun 7, 5:21 pm, AlienBaby wrote: > My real aim here is to learn pyqt, so I would rather not the the > QWizard process until I understand myself whats going on behind the > scenes. Perhaps I posted to early, but a little more perserverance and I have managed to unthaw the brain and move forward

Re: PyQt signals/slots dialogs question

2010-06-07 Thread AlienBaby
My real aim here is to learn pyqt, so I would rather not the the QWizard process until I understand myself whats going on behind the scenes. -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt signals/slots dialogs question

2010-06-07 Thread AlienBaby
On Jun 7, 4:37 pm, Phil Thompson wrote: > On Mon, 7 Jun 2010 08:22:07 -0700 (PDT), AlienBaby > > wrote: > > > > > > > Hi, > > > I'm just starting to get to grips with PyQt, and I'm having a bit of > > trouble connecting slots / signals, or understanding how I should do > > so to achieve what I am

Re: PyQt signals/slots dialogs question

2010-06-07 Thread AlienBaby
I've made a little progress; This appears to setup a connection that fires when the welcomeNext button in the Welcome dialog is clicked; self.Welcome.welcomeNext.connect(self.Welcome.welcomeNext,QtCore.SIGNAL("clicked()"),self.WelcomeNext) In the StartQT4 class I now have the WelcomeNext method

Re: PyQt signals/slots dialogs question

2010-06-07 Thread Phil Thompson
On Mon, 7 Jun 2010 08:22:07 -0700 (PDT), AlienBaby wrote: > Hi, > > I'm just starting to get to grips with PyQt, and I'm having a bit of > trouble connecting slots / signals, or understanding how I should do > so to achieve what I am after. > > I am trying to write an application that will displ

Re: PyQt Ram Usage

2010-05-03 Thread David Boddie
On Monday 03 May 2010 22:49, Country Boy wrote: > I am new to Python (and programming so pardon my ignorance) > I have a small PyQt program that lives in windows system tray. I am > using Suds & ElemetTree to do webservices call and parse XML. > I have a QTimer that runs every 30 seconds and fetch

Re: [PyQt] Carol Newman

2010-04-20 Thread Zac Burns
Yes, please do not remove me. Sorry for the inconvenience! -- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer Zindagi Games On Tue, Apr 20, 2010 at 3:36 PM, Chris Kaynor wrote: > There was a G-mail invasion earlier today that allowed e-mails to be sent > from any g-mail account wi

Re: [PyQt] Carol Newman

2010-04-20 Thread Chris Kaynor
There was a G-mail invasion earlier today that allowed e-mails to be sent from any g-mail account without the owner's permission. Chris On Tue, Apr 20, 2010 at 3:06 PM, Nick Gaens wrote: > Please someone remove this address from the lists, because of spamming.. > > > -- > Nick Gaens > > -- > h

Re: [PyQt] Carol Newman

2010-04-20 Thread Nick Gaens
Please someone remove this address from the lists, because of spamming.. On Tue, Apr 20, 2010 at 11:13 PM, Zac Burns wrote: > http://www.ristorantealpirata.com/home.php > > -- > Zachary Burns > (407)590-4814 > Aim - Zac256FL > Production Engineer > Zindagi Games > ___

Re: PyQT 4.6.2 question about radiobuttons

2010-01-17 Thread woooee
QT uses "toggled". I do not use QT much but it would be something like self.radioButton_one.setCheckable(True) QtCore.QObject.connect(self.radioButton_one, QtCore.SIGNAL("toggled ()"),self.button_one_function) If this doesn't work, you can probably find more with a Google for "toggled". -- http:

Re: PyQT 4.6.2 question about radiobuttons

2010-01-14 Thread Phil Thompson
On Thu, 14 Jan 2010 22:09:20 +0100, News123 wrote: > Hi, > > As you wll notice: I don't have a lot of GUI and only very litte > PyQT-experience. > > > I have a UI created with qt designer. > > The UI contains a few named radio buttons in a button group. > ( for example radioButton_one to radio

Re: PyQt event recognition

2010-01-13 Thread Zabin
On Jan 14, 10:22 am, Jonathan Gardner wrote: > On Jan 13, 12:21 pm, Zabin wrote: > > > On Jan 14, 9:00 am, Zabin wrote: > > > > I am a new pyqt programmer. I have a tab widget with lots of line > > > edits, radiobuttons and combo boxes. I want to trigger a single sub > > > the moment any one of

Re: PyQt event recognition

2010-01-13 Thread Jonathan Gardner
On Jan 13, 12:21 pm, Zabin wrote: > On Jan 14, 9:00 am, Zabin wrote: > > > I am a new pyqt programmer. I have a tab widget with lots of line > > edits, radiobuttons and combo boxes. I want to trigger a single sub > > the moment any one of these widgets listed are modified. I tried using > > the c

Re: PyQt event recognition

2010-01-13 Thread Zabin
On Jan 14, 9:00 am, Zabin wrote: > Hey Everyone! > > I am a new pyqt programmer. I have a tab widget with lots of line > edits, radiobuttons and combo boxes. I want to trigger a single sub > the moment any one of these widgets listed are modified. I tried using > the clicked signal- but it doesnt

Re: PyQt QThreadPool error

2010-01-08 Thread h0uk
On 8 янв, 16:27, Phil Thompson wrote: > On Thu, 7 Jan 2010 15:07:10 -0800 (PST), h0uk > wrote: > > ... > > > > > Phil you right about app.exec_(). But situation is sligthly different. > > > I want to have more than one Job. I add these Jobs into QThreadPool > > trough cycle. And I also want these

Re: PyQt QThreadPool error

2010-01-08 Thread Phil Thompson
On Thu, 7 Jan 2010 15:07:10 -0800 (PST), h0uk wrote: ... > Phil you right about app.exec_(). But situation is sligthly different. > > I want to have more than one Job. I add these Jobs into QThreadPool > trough cycle. And I also want these Jobs to run sequentially. > > The following code illu

Re: PyQt QThreadPool error

2010-01-07 Thread h0uk
On 8 янв, 03:02, Phil Thompson wrote: > On Thu, 7 Jan 2010 13:03:24 -0800 (PST), h0uk > wrote: > > > On 8 янв, 01:02, "Diez B. Roggisch" wrote: > >> h0uk schrieb: > > >> > Hello. > > >> > I have the following code: > > >> >             #workers = {} > >> >             QtCore.QThreadPool.globalIn

Re: PyQt QThreadPool error

2010-01-07 Thread Phil Thompson
On Thu, 7 Jan 2010 13:03:24 -0800 (PST), h0uk wrote: > On 8 янв, 01:02, "Diez B. Roggisch" wrote: >> h0uk schrieb: >> >> >> >> > Hello. >> >> > I have the following code: >> >> >             #workers = {} >> >             QtCore.QThreadPool.globalInstance().setExpiryTimeout >> > (30) >> >    

Re: PyQt QThreadPool error

2010-01-07 Thread h0uk
On 8 янв, 02:25, "Diez B. Roggisch" wrote: > h0uk schrieb: > > > > > On 8 янв, 01:02, "Diez B. Roggisch" wrote: > >> h0uk schrieb: > > >>> Hello. > >>> I have the following code: > >>>             #workers = {} > >>>             QtCore.QThreadPool.globalInstance().setExpiryTimeout > >>> (30)

Re: PyQt QThreadPool error

2010-01-07 Thread Diez B. Roggisch
h0uk schrieb: On 8 янв, 01:02, "Diez B. Roggisch" wrote: h0uk schrieb: Hello. I have the following code: #workers = {} QtCore.QThreadPool.globalInstance().setExpiryTimeout (30) QtCore.QThreadPool.globalInstance().setMaxThreadCount(1) for i

Re: PyQt QThreadPool error

2010-01-07 Thread h0uk
On 8 янв, 01:02, "Diez B. Roggisch" wrote: > h0uk schrieb: > > > > > Hello. > > > I have the following code: > > >             #workers = {} > >             QtCore.QThreadPool.globalInstance().setExpiryTimeout > > (30) > >             QtCore.QThreadPool.globalInstance().setMaxThreadCount(1) >

Re: PyQt QThreadPool error

2010-01-07 Thread Diez B. Roggisch
h0uk schrieb: Hello. I have the following code: #workers = {} QtCore.QThreadPool.globalInstance().setExpiryTimeout (30) QtCore.QThreadPool.globalInstance().setMaxThreadCount(1) for i in range(1, int(userscnt) + 1): work = wk.Wo

Re: PyQt Signals and multiple sources

2009-12-20 Thread Zabin
On Dec 21, 11:15 am, "John Posner" wrote: > On Sun, 20 Dec 2009 16:59:11 -0500, Zabin wrote: > > I am beginner in programming in pyqt. I have been trying to call the > > same function from multiple events- but each event results in a > > different instance of the function. I am just unable to fig

Re: PyQt Signals and multiple sources

2009-12-20 Thread John Posner
On Sun, 20 Dec 2009 16:59:11 -0500, Zabin wrote: I am beginner in programming in pyqt. I have been trying to call the same function from multiple events- but each event results in a different instance of the function. I am just unable to figure out how to retrieve the source which calls the fun

Re: PyQt 2 Exe

2009-11-11 Thread Benjamin Kaplan
On Wed, Nov 11, 2009 at 8:29 AM, baboucarr sanneh wrote: > Hi guys, > > I wan to make a gui app using pyqt so i have done some thing already now i > want to save it as an exe file so that i can give it out to users who dont > have pyqt installed  (windows users)..Please help me out on this one..th

Re: PyQt 2 Exe

2009-11-11 Thread Jorge
search the web, find the sites and follow the instructions. On Wed, Nov 11, 2009 at 2:11 PM, baboucarr sanneh wrote: > > How can i use it ? > > *$LIM $...@dy* > > > > > -- > Date: Wed, 11 Nov 2009 14:07:47 + > Subject:

Re: PyQt processEvents not processing

2009-11-07 Thread DarkBlue
On Nov 8, 12:04 am, David Boddie wrote: > On Saturday 07 November 2009 05:12, DarkBlue wrote: > > > > > qt 4.5.3 > > pyqt 4.6.1 > > python 2.6 > > > I have this QtTable widget which I want to refresh once about every 2 > > seconds with new data. > > > so I do : > > >  def updateSchedule(self): > >

Re: PyQt processEvents not processing

2009-11-07 Thread David Boddie
On Saturday 07 November 2009 05:12, DarkBlue wrote: > qt 4.5.3 > pyqt 4.6.1 > python 2.6 > > I have this QtTable widget which I want to refresh once about every 2 > seconds with new data. > > so I do : > > def updateSchedule(self): > for j in range(0,10): > doUpd

Re: PyQt QCompleter model

2009-09-17 Thread nusch
On Sep 17, 2:40 am, David Boddie wrote: > On Thursday 17 September 2009 01:14, nusch wrote: > > > The following code: > > > strings=["asdad", "baasd", "casd", "caxd"] > > completer = QCompleter(strings) > > model = completer.model() > > print model.rowCount() > > model.stringList().append("test")

Re: PyQt QCompleter model

2009-09-16 Thread David Boddie
On Thursday 17 September 2009 01:14, nusch wrote: > The following code: > > strings=["asdad", "baasd", "casd", "caxd"] > completer = QCompleter(strings) > model = completer.model() > print model.rowCount() > model.stringList().append("test") This may not work as you expect. Although it may actua

Re: PyQT Qthread stuck main app

2009-09-15 Thread Dave Angel
daved170 wrote: On Sep 15, 2:54 pm, David Boddie wrote: On Tue Sep 15 12:59:35 CEST 2009, daved170 wrote: my problem is that when start is pusshed the entire window stuck and it's impossible to push the STOP button and even when it looks like it's been pushed it actually don't do anyt

Re: PyQT Qthread stuck main app

2009-09-15 Thread daved170
On Sep 15, 2:54 pm, David Boddie wrote: > On Tue Sep 15 12:59:35 CEST 2009, daved170 wrote: > > > my problem is that when start is pusshed the entire window stuck and > > it's impossible to push the STOP button and even when it looks like > > it's been pushed it actually don't do anything. > > > a

Re: PyQT Qthread stuck main app

2009-09-15 Thread David Boddie
On Tue Sep 15 12:59:35 CEST 2009, daved170 wrote: > my problem is that when start is pusshed the entire window stuck and > it's impossible to push the STOP button and even when it looks like > it's been pushed it actually don't do anything. > > any idea how to fix it? Does adding a call to the ba

Re: PyQt GUI

2009-09-01 Thread Helvin
Having left my problem with this embedding vtk business for a month, I came back to it yesterday, and with a bit more programming knowledge, found that my problem was simply with the python path. All I needed to do was to append, in my GUI file, the path to the python bindings, which came with the

  1   2   3   4   >