Re: PyQt4 QWebView cant load google maps markers

2018-03-23 Thread Xristos Xristoou
tell some solution ?yes you are correct for some seconds show me the mark but only for some seconds.can i update my pyqt4 to show me the mark ? -- https://mail.python.org/mailman/listinfo/python-list

Re: PyQt4 QWebView cant load google maps markers

2018-03-23 Thread Anssi Saari
Xristos Xristoou writes: > I want to create a simple python app using pyqt,QWebView and google maps with > markers. > > The problem is that,the markers does not load inside the QWebView, as > you can see they load just fine in the browser. Well, since you got a javascript error, maybe Qt4 doesn

Re: PyQt4

2016-04-03 Thread Vincent Vande Vyvre
Le 03/04/2016 21:36, Muhammad Ali a écrit : On Sunday, April 3, 2016 at 12:15:06 PM UTC-7, Michael Torrie wrote: On 04/03/2016 12:57 PM, Muhammad Ali wrote: Hi, How can we confirm that either PyQt4 is already installed on LInux machine or not? Please suggest commands to confirm the already

Re: PyQt4

2016-04-03 Thread Muhammad Ali
On Sunday, April 3, 2016 at 12:15:06 PM UTC-7, Michael Torrie wrote: > On 04/03/2016 12:57 PM, Muhammad Ali wrote: > > > > Hi, > > > > How can we confirm that either PyQt4 is already installed on LInux machine > > or not? > > > > Please suggest commands to confirm the already existence of PyQ

Re: PyQt4

2016-04-03 Thread Michael Torrie
On 04/03/2016 12:57 PM, Muhammad Ali wrote: > > Hi, > > How can we confirm that either PyQt4 is already installed on LInux machine > or not? > > Please suggest commands to confirm the already existence of PyQt4 in the > machine. Ideally you make a distribution-specific package of the binary

Re: PyQt4 - Issue with deleting a QWidget from a QGridLayout

2014-08-20 Thread Vincent Vande Vyvre
Le 20/08/2014 16:22, Alex Murray a écrit : Please do not post in HTML it makes everything an unreadable mess (I have left you original post above so you can see what I mean.) Sorry, here's the original e-mail in plain text: Hi, I've discovered some very strange behaviour when trying to delete

Re: Re: PyQt4 - Issue with deleting a QWidget from a QGridLayout

2014-08-20 Thread Alex Murray
> Please do not post in HTML it makes everything an unreadable mess > (I have left you original post above so you can see what I mean.) Sorry, here's the original e-mail in plain text: Hi, I've discovered some very strange behaviour when trying to delete a QWidget from a QGridLayout. The followi

Re: PyQt4 - Issue with deleting a QWidget from a QGridLayout

2014-08-20 Thread alister
On Wed, 20 Aug 2014 00:11:24 +0200, Alex Murray wrote: > Hi, > >   > > I've discovered some very strange behaviour when trying to > delete a QWidget from a QGridLayout. The following code demonstrates > this behaviour: > >   > > >>> from PyQt4 import QtGui > > >>> import sys > > >>> app = Qt

Re: PyQt4 - Issue with deleting a QWidget from a QGridLayout

2014-08-19 Thread Vincent Vande Vyvre
Le 20/08/2014 00:11, Alex Murray a écrit : Hi, I've discovered some very strange behaviour when trying to delete a QWidget from a QGridLayout. The following code demonstrates this behaviour: >>> from PyQt4 import QtGui >>> import sys >>> app = QtGui.QApplication(sys.argv) >>> grid_layout = QtG

Re: pyqt4 & qt license

2013-03-10 Thread newspost2012
Am Sonntag, 10. März 2013 05:09:41 UTC+1 schrieb D. Xenakis: > Please correct me if im wrong.. > ... > PyQT4 GPL Licence is free and by using that someone can develop only > non-commercial software. Wrong. GPL does not prevent you from developing commercial softwarre. You just have to release you

Re: pyqt4 & qt license

2013-03-09 Thread Michael Torrie
On 03/09/2013 09:45 PM, Vito De Tullio wrote: > D. Xenakis wrote: > >> Can someone develop a closed source but NON-commercial software, by using >> PyQT4 GPL license? > > no, by definition of GPL: if you are using a GPL library, you must > distribute your software as GPL. > > (the GPL does not

Re: pyqt4 & qt license

2013-03-09 Thread Vito De Tullio
D. Xenakis wrote: > Can someone develop a closed source but NON-commercial software, by using > PyQT4 GPL license? no, by definition of GPL: if you are using a GPL library, you must distribute your software as GPL. (the GPL does not care about commercial / non commercial) http://www.gnu.org/li

Re: pyqt4 & qt license

2013-03-09 Thread D. Xenakis
Please correct me if im wrong.. PySide is LGPL and is free and by using that someone can develop commercial (and non commercial) software, while being able at the same to choose between both close and open Source. PyQT4 Commercial Licence costs more than 300 Euro and by using that someone can

Re: pyqt4 & qt license

2013-03-09 Thread Michael Torrie
On 03/09/2013 07:08 PM, pitsa...@gmail.com wrote: > hello, > > i want to develop a GUI application that will be sold. i want to use > pyqt4. can i download and use the GPL version during the development > and then buy the commercial verion beofore i distribute the > application ? > > commercial v

Re: pyqt4 & qt license

2013-03-09 Thread CM
On Mar 9, 9:08 pm, pitsa...@gmail.com wrote: > hello, > > i want to develop a GUI application that will be sold. > i want to use pyqt4. > can i download and use the GPL version during the development and then buy > the commercial verion beofore i distribute the application ? Arguably, yes. From

Re: pyqt4 & qt license

2013-03-09 Thread Ioakeim Tellidis
On Sat, Mar 9, 2013 at 9:08 PM, wrote: > hello, > > i want to develop a GUI application that will be sold. > i want to use pyqt4. > can i download and use the GPL version during the development and then buy > the commercial verion beofore i distribute the application ? > > commercial version mean

Re: pyqt4: multi-threaded database access

2010-11-24 Thread Diez B. Roggisch
Adrian Casey writes: > I have a PyQt4 multi-threaded application which accesses many hosts > concurrently via ssh. I would like each thread to have access to a > database so that it can look up details about the particular system it > is connected to. > > The easy way is to have each thread crea

Re: pyqt4 Table Widget deleting c/c++ object

2010-10-26 Thread Andrew
On Oct 19, 2:29 pm, David Boddie wrote: > On Monday 18 October 2010 23:26, Andrew wrote: > > > I have two issues dealing with the table widget, though they may be > > interconnected. I'm not sure. Both delete the cell widgets off of my > > table but leave the rows, and then when I have the table u

Re: pyqt4 Table Widget deleting c/c++ object

2010-10-19 Thread David Boddie
On Monday 18 October 2010 23:26, Andrew wrote: > I have two issues dealing with the table widget, though they may be > interconnected. I'm not sure. Both delete the cell widgets off of my > table but leave the rows, and then when I have the table update, it > complains the c++ object has been dele

Re: pyqt4 Table Widget deleting c/c++ object

2010-10-19 Thread Andrew
On Oct 18, 2:26 pm, Andrew wrote: > I have two issues dealing with the table widget, though they may be > interconnected. I'm not sure. Both delete the cell widgets off of my > table but leave the rows, and then when I have the table update, it > complains the c++ object has been deleted. > > # se

Re: PyQt4 designer custom properties - combo box style

2010-02-06 Thread David Boddie
On Saturday 06 February 2010 10:32, Andrew wrote: > I'm attempting to create a drop down property for a custom widget I'm > creating. So when in designer and you scroll down to the custom > properties, under the regular widget properties, one of them would be > a drop down menu. The data to popula

Re: PyQt4 designer custom properties - combo box style

2010-02-06 Thread Andrew
On Feb 4, 2:59 pm, David Boddie wrote: > On Tuesday 02 February 2010 22:25, Andrew wrote: > > > I am creating custom widgets for the PyQt4 Designer. I can create > > custom properties, but I'm looking for how to create a custom property > > that has a combo box drop down. I've seen them in the exa

Re: PyQt4 designer custom properties - combo box style

2010-02-04 Thread David Boddie
On Tuesday 02 February 2010 22:25, Andrew wrote: > I am creating custom widgets for the PyQt4 Designer. I can create > custom properties, but I'm looking for how to create a custom property > that has a combo box drop down. I've seen them in the example widgets > and tried following them, but they

Re: pyqt4 eric4 generated gui custom dialog open

2009-12-15 Thread Detlev Offenbach
rewonka wrote: > Hi, > > I've made a little application with mainwindow and one dialog > (something like input dialog). > I can't open the input dialog from my mainwindow > > I tried to open the dialog with a button, here is a code: > @pyqtSignature("") > def on_BtnAdd_clicked(self): >

Re: PyQt4 4.4.4 : a bug with highlightBlock ?

2009-11-20 Thread Snouffy
> You need to change the indexOf() calls to indexIn() calls on the QRegExp > object: > >   index = expression.indexIn(text, index + length) Thank you so much ! After looking a bit more I found out that when using indexOf the command : length = expression.matchedLength() was the one causing a p

Re: PyQt4 4.4.4 : a bug with highlightBlock ?

2009-11-20 Thread David Boddie
On Wednesday 18 November 2009 11:47, Snouffy wrote: > I've been trying to do some syntax highlighting using PyQt4. I ported > the example given in the documentation of Qt4 to Python. It works fine > on my computer at work (which has PyQt4 version 4.3.3) but doesn't on > my home computer (which has

Re: PyQT4 user group

2009-10-29 Thread David Boddie
On Thursday 29 October 2009 17:15, Diez B. Roggisch wrote: > Chris wrote: > >> I'm starting to learn and use PyQT4 at work. Is there a good user >> group or forum out there that I should know about? > > The PyQt Mailinglist. There's a #pyqt IRC channel on Freenode: irc://irc.freenode.net/pyqt

Re: PyQT4 user group

2009-10-29 Thread Colin W.
Diez B. Roggisch wrote: Chris wrote: Hi! I'm starting to learn and use PyQT4 at work. Is there a good user group or forum out there that I should know about? The PyQt Mailinglist. Diez I find the Gmane server, which delivers items from the PyQt Mailing List, easier to use. It threads the

Re: PyQT4 user group

2009-10-29 Thread denis
For detailed questions, try http://stackoverflow.com/questions/tagged/pyqt or pyqt4 (the " or " may have to be escaped as "%20or%20" in some browsers.) -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQT4 user group

2009-10-29 Thread Diez B. Roggisch
Chris wrote: > Hi! > > I'm starting to learn and use PyQT4 at work. Is there a good user > group or forum out there that I should know about? The PyQt Mailinglist. Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt4 - remember widget positions

2009-10-22 Thread Jeremy Sanders
nusch wrote: > Is there any simple command which allows me to save position of all > windows: QMainWindow, QDialogs and qdockwidgets with their sizes, > dock state and positions ? Or do I need to store those values > manually, how can I do it fast? You can use saveState() from QMainWindow to sav

Re: PyQt4 - remember widget positions

2009-10-22 Thread nusch
On Oct 22, 4:05 am, TerryP wrote: > On Oct 21, 9:04 pm, nusch wrote: > > > Is there any simple command which allows me to save position of all > > windows:  QMainWindow, QDialogs and qdockwidgets with their sizes, > > dock state and positions ? Or do I need to store those values > > manually, how

Re: PyQt4 - remember widget positions

2009-10-21 Thread TerryP
On Oct 21, 9:04 pm, nusch wrote: > Is there any simple command which allows me to save position of all > windows:  QMainWindow, QDialogs and qdockwidgets with their sizes, > dock state and positions ? Or do I need to store those values > manually, how can I do it fast? Both fast and simple have

Re: PyQt4.__file__ gives PyQt4/__init__.py as value

2009-08-15 Thread wgw
On Aug 15, 2:19 pm, Christian Heimes wrote: > wgw wrote: > > I don't understand why the __file__ value in my installation of PyQt > > would not give a proper, full path. > > > I'm guessing that I did not install pyqt properly (I'm on Ubuntu > > Hardy, trying to install QT4.5), but before redoing t

Re: PyQt4.__file__ gives PyQt4/__init__.py as value

2009-08-15 Thread Christian Heimes
wgw wrote: I don't understand why the __file__ value in my installation of PyQt would not give a proper, full path. I'm guessing that I did not install pyqt properly (I'm on Ubuntu Hardy, trying to install QT4.5), but before redoing the install, I want to see if there is a quicker fix. Some ve

Re: PyQt4 + WebKit

2009-06-05 Thread David Boddie
On Friday 05 June 2009 21:33, dudekks...@gmail.com wrote: > On 1 Cze, 22:05, David Boddie wrote: >> I experimented a little and added an example to the PyQt Wiki: >> >> http://www.diotavelli.net/PyQtWiki/Usinga Custom Protocol with QtWebKit >> >> I hope it helps to get you started with your own

Re: PyQt4 + WebKit

2009-06-05 Thread dudekksoft
On 1 Cze, 22:05, David Boddie wrote: > On Monday 01 June 2009 16:16, dudekks...@gmail.com wrote: > > > On 31 Maj, 02:32, David Boddie wrote: > >> So, you only want to handle certain links, and pass on to WebKit those > >> which you can't handle? Is that correct? > > > Yes, I want to handle extern

Re: PyQt4 + WebKit

2009-06-01 Thread David Boddie
On Monday 01 June 2009 16:16, dudekks...@gmail.com wrote: > On 31 Maj, 02:32, David Boddie wrote: >> So, you only want to handle certain links, and pass on to WebKit those >> which you can't handle? Is that correct? > > Yes, I want to handle external links (out of my host) and links > starting

Re: PyQt4 + WebKit

2009-06-01 Thread dudekksoft
On 31 Maj, 02:32, David Boddie wrote: > On Saturday 30 May 2009 17:39, dudekks...@gmail.com wrote: > > > I need to grab clicked links in QWebView. Everything is fine when I > > use linkClicked() signal. LinkDelegationPolicy is set to > > DelegateAllLinks and there is a problem. If some site has Ja

Re: PyQt4 + WebKit

2009-05-30 Thread David Boddie
On Saturday 30 May 2009 17:39, dudekks...@gmail.com wrote: > I need to grab clicked links in QWebView. Everything is fine when I > use linkClicked() signal. LinkDelegationPolicy is set to > DelegateAllLinks and there is a problem. If some site has Javascript > my procedure receives QUrl from linkC

Re: PyQt4 - widget signal trouble

2009-04-26 Thread Joacim Thomassen
Den Sun, 26 Apr 2009 14:04:47 +0100, skrev Phil Thompson: > On Sun, 26 Apr 2009 14:46:14 +0200, Marco Bizzarri > wrote: >> On Sun, Apr 26, 2009 at 12:38 PM, Joacim Thomassen >> wrote: >>> Den Sat, 25 Apr 2009 23:47:57 +0200, skrev Marco Bizzarri: >>> >>> >>> Hello Marco, >>> >>> python's fcntl()

Re: PyQt4 - widget signal trouble

2009-04-26 Thread Joacim Thomassen
Thanks a lot! That's the magic I didn't find in my PyQT4 Programming book. Finally! Thank you Marco! :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt4 - widget signal trouble

2009-04-26 Thread Phil Thompson
On Sun, 26 Apr 2009 14:46:14 +0200, Marco Bizzarri wrote: > On Sun, Apr 26, 2009 at 12:38 PM, Joacim Thomassen > wrote: >> Den Sat, 25 Apr 2009 23:47:57 +0200, skrev Marco Bizzarri: >> >> >> Hello Marco, >> >> python's fcntl() call the regular C fcntl() function and as stated in the >> manual pag

Re: PyQt4 - widget signal trouble

2009-04-26 Thread Marco Bizzarri
On Sun, Apr 26, 2009 at 12:38 PM, Joacim Thomassen wrote: > Den Sat, 25 Apr 2009 23:47:57 +0200, skrev Marco Bizzarri: > > > Hello Marco, > > python's fcntl() call the regular C fcntl() function and as stated in the > manual pages for C fcntl: > > --- Snippet from fcntl man pages -

Re: PyQt4 - widget signal trouble

2009-04-26 Thread Joacim Thomassen
Den Sat, 25 Apr 2009 23:47:57 +0200, skrev Marco Bizzarri: > Ciao, Joacim. > > Too much since I 'played' with low level calls, so I may be wrong. But > it seems to me you're opening the image and monitoring for changes the > directory. Hence the problem. If you read/write a file, I think the > di

Re: PyQt4 - widget signal trouble

2009-04-25 Thread Marco Bizzarri
On Fri, Apr 24, 2009 at 7:37 PM, Joacim Thomassen wrote: > Hello, > > I'm trying to get my first PyQt4 application to work as intended, but it > seems I'm stuck and out of ideas for now. > > The program is a simple GUI showing an image. If the image on disk change > my intension is that the displa

Re: PyQt4 - widget signal trouble

2009-04-25 Thread Joacim Thomassen
Den Fri, 24 Apr 2009 22:24:46 +0100, skrev Phil Thompson: > On Fri, 24 Apr 2009 12:37:02 -0500, Joacim Thomassen > wrote: >> Hello, >> >> I'm trying to get my first PyQt4 application to work as intended, but >> it seems I'm stuck and out of ideas for now. >> >> The program is a simple GUI showi

Re: PyQt4 - widget signal trouble

2009-04-24 Thread Phil Thompson
On Fri, 24 Apr 2009 12:37:02 -0500, Joacim Thomassen wrote: > Hello, > > I'm trying to get my first PyQt4 application to work as intended, but it > seems I'm stuck and out of ideas for now. > > The program is a simple GUI showing an image. If the image on disk change > my intension is that the

Re: pyqt4 qTableWidget add items help

2009-04-19 Thread Sebastian Wiesner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > from PyQt4 import ?? QtGui? QtCore? Those are already loaded other > options are pyqtconfig and uic and those don't sound correct... from PyQt4 import QtGui QtGui.QTableWidgetItem See [1] for an example. [1] http://hg.lunaryorn.de/snippets/fi

Re: pyqt4 qTableWidget add items help

2009-04-18 Thread ookrin
On Apr 18, 3:46 am, Sebastian Wiesner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > [...]> I've been trying > > >         while(len(orders)> i): > >             ui.tb1_tblOrders.setCurrentCell(i,0,orders[i][1]) > >             i+=1 > > > which to me, says go add in the first co

Re: pyqt4 qTableWidget add items help

2009-04-18 Thread Sebastian Wiesner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] > I've been trying > > while(len(orders)> i): > ui.tb1_tblOrders.setCurrentCell(i,0,orders[i][1]) > i+=1 > > which to me, says go add in the first column row with the first order, > and it makes sense to me Rea

Re: pyqt4 qTableWidget add items help

2009-04-18 Thread Diez B. Roggisch
ookrin schrieb: I've been searching around the internet for an example of how to add a list of items to the qTableWidget for the last few hours with little success. I have a list orders [[34,940,30,50,67], [50,56,35,30,57]] as my example here I built the qTableWidget in designer, so it already

Re: pyqt4: setText() inside a function

2009-04-16 Thread l . freschi
On 16 Apr, 20:17, "Diez B. Roggisch" wrote: > l.fres...@gmail.com schrieb: > > > > > I'm developing a PyQt4 application. > > > I have created a button: > > ... > > self.start_button=QtGui.QPushButton("start simulation", self) > > ... > > > that is connected to a function: > > ... > > self.connect(

Re: pyqt4: setText() inside a function

2009-04-16 Thread Diez B. Roggisch
l.fres...@gmail.com schrieb: I'm developing a PyQt4 application. I have created a button: ... self.start_button=QtGui.QPushButton("start simulation", self) ... that is connected to a function: ... self.connect(self.start_button, QtCore.SIGNAL('clicked()'), self.simulate) ... This is the functi

Re: PyQt4 on Windows ?

2009-01-20 Thread Gerhard Häring
Linuxguy123 wrote: What does it take to get a PyQt4 application running on a Windows machine ? To run, installing Python + PyQt4 ;-) To create a binary wrapper, I use py2exe (I also tried cx_Freeze, both work the same). There's a gotcha with PyQt4 - snippet follows: setup( options = {"p

Re: PyQt4 on Windows ?

2009-01-19 Thread Stephen Chapman
I have one running. actually use freezer to create an exe for it in windows. http://www.riverbankcomputing.co.uk/software/pyqt/download That will tell you how to get started. The app I wrote uses Pryro(with middleware server on a linux machine). And I use the standard widgets that qt has gri

Re: pyqt4: trouble making custom widget appear in mainwindow

2008-05-04 Thread Phil Thompson
On Sunday 04 May 2008, Lance Gamet wrote: > Hi, > about 3 years ago I did a bit of Qt3 and 4 on C++, now I am trying to do > something in python. > > A QMainWindow subclass as my mainwindow. Its basically a frame with no > widgets of its own. > > Several QWidget subclasses each representing a mode

Re: pyqt4 signal/slot using PyObject* and shortcut

2007-04-27 Thread Phil Thompson
On Friday 27 April 2007 7:05 am, Pradnyesh Sawant wrote: > On 4/27/07, Pradnyesh Sawant wrote: > > Hello, i have the following code: > > # > > import time > > import sys > > from PyQt4 import QtGui, QtCore > > > > class Counter(QtCore.

Re: pyqt4 signal/slot using PyObject* and shortcut

2007-04-26 Thread Pradnyesh Sawant
On 4/27/07, Pradnyesh Sawant wrote: > Hello, i have the following code: > # > import time > import sys > from PyQt4 import QtGui, QtCore > > class Counter(QtCore.QThread): > def __init__(self): > QtCore.QThread.__init__(sel

Re: PyQt4: Clickable links in QLabel?

2007-03-07 Thread Tina I
David Boddie wrote: > On Thursday 01 March 2007 09:00, Tina I wrote: > >> A short and sweet question: Is it possible to put a clickable link in a >> QLabel that will open in the systems default browser? > > Yes. > >> I tried to put in some HTML but it did (of course?) simply display the >> code

Re: PyQt4: Clickable links in QLabel?

2007-03-05 Thread David Boddie
On Thursday 01 March 2007 09:00, Tina I wrote: > A short and sweet question: Is it possible to put a clickable link in a > QLabel that will open in the systems default browser? Yes. > I tried to put in some HTML but it did (of course?) simply display the > code instead of a link. I also tried to

Re: PyQt4 strangeness

2007-01-23 Thread Tina I
Phil Thompson wrote: > The module structure of PyQt reflects the library structure of Qt. Qt4 has > different libraries to Qt3 so PyQt4 has different modules to PyQt3. > > The top level PyQt4 module ensures that PyQt3, PyQt4 (and eventually PyQt5) > can all be installed side by side in the same

Re: PyQt4 strangeness

2007-01-23 Thread Phil Thompson
On Tuesday 23 January 2007 10:31 am, Tina I wrote: > I'm trying to 'convert' my self from Qt3 to Qt4 (it rocks!) and one > thing seem strange: > With Qt3 I usually did "from qt import *", but this does not seem to > work with Qt4. I have to use "from PyQt4 import QtGui , QtCore" and also > have to

Re: PyQt4 strangeness

2007-01-23 Thread Jeremy Sanders
Tina I wrote: > > self.connect(self.ui.testButton, QtCore.SIGNAL("clicked()"), > self.doSomething) > > Anyone know why this is? Or am I missing something very basic here? (I'm > still very much a noob I guess) If you want to import both you can do something like: import PyQt4.Qt as Qt which i