Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread dn via Python-list
On 18/03/24 10:02, Jim Schwartz wrote: Actually, I have a sleep disorder that requires me to keep a constant sleep schedule. Thats why I asked. At a weekend meeting, discussion swirled around topics such as the best way to learn/work, how much work we should attempt in one sitting,

Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread Jim Schwartz via Python-list
ZPUG meets this Wednesday, 20 March at 1830 NZDT >>> (0530 UTC, midnight-ish Tue/Wed in American time-zones), for a virtual >>> meeting. >>> >>> Part 1: Learn the basics of PyQt with code examples. >>> Hannan Khan is currently consulting as a Data Scie

Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread dn via Python-list
ZPUG meets this Wednesday, 20 March at 1830 NZDT (0530 UTC, midnight-ish Tue/Wed in American time-zones), for a virtual meeting. Part 1: Learn the basics of PyQt with code examples. Hannan Khan is currently consulting as a Data Scientist for the (US) National Oceanic and Atmospheric Administ

Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread Jim Schwartz via Python-list
> > Part 1: Learn the basics of PyQt with code examples. > Hannan Khan is currently consulting as a Data Scientist for the (US) National > Oceanic and Atmospheric Administration. He holds a Bachelor's degree in > Neuroscience as well as a Masters in Computer Science. As a keen member

MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread dn via Python-list
The Auckland Branch of NZPUG meets this Wednesday, 20 March at 1830 NZDT (0530 UTC, midnight-ish Tue/Wed in American time-zones), for a virtual meeting. Part 1: Learn the basics of PyQt with code examples. Hannan Khan is currently consulting as a Data Scientist for the (US) National Oceanic

Re: Any PyQt developers here?

2022-10-29 Thread Michael Torrie
font setting. Remember that a single model can be used with more than one view at the same time, each view implementing its own style. Thus a model has no information like fonts in it, nor should it, other than perhaps HTML text markup that the view will render. Did you consult the folk on the PyQt

Re: Any PyQt developers here?

2022-10-28 Thread DFS
On 10/27/2022 3:47 PM, Thomas Passin wrote: On 10/27/2022 11:15 AM, DFS wrote: On 10/25/2022 1:45 PM, Thomas Passin wrote: On 10/25/2022 1:03 PM, DFS wrote: Having problems with removeRow() on a QTableView object. removeRow() isn't listed as being a method of a QTableView, not even an

Re: Any PyQt developers here?

2022-10-28 Thread Thomas Passin
On 10/28/2022 1:01 AM, Thomas Passin wrote: {snip] You might also be able to make the item bold using CSS, but I'm not sure. Apparently so: QTreeView::item:selected { background-color: #1d3dec; color: white; } See

Re: Any PyQt developers here?

2022-10-27 Thread Thomas Passin
This looks like a useful tutorial - https://doc.qt.io/qt-6/modelview.html On 10/27/2022 3:47 PM, Thomas Passin wrote: On 10/27/2022 11:15 AM, DFS wrote: On 10/25/2022 1:45 PM, Thomas Passin wrote: On 10/25/2022 1:03 PM, DFS wrote: Having problems with removeRow() on a QTableView object.

Re: Any PyQt developers here?

2022-10-27 Thread Thomas Passin
On 10/27/2022 11:15 AM, DFS wrote: On 10/25/2022 1:45 PM, Thomas Passin wrote: On 10/25/2022 1:03 PM, DFS wrote: Having problems with removeRow() on a QTableView object. removeRow() isn't listed as being a method of a QTableView, not even an inherited method, so how are you calling

Re: Any PyQt developers here?

2022-10-27 Thread DFS
On 10/25/2022 1:45 PM, Thomas Passin wrote: On 10/25/2022 1:03 PM, DFS wrote: Having problems with removeRow() on a QTableView object. removeRow() isn't listed as being a method of a QTableView, not even an inherited method, so how are you calling removeRow() on it? (See

Re: Any PyQt developers here?

2022-10-26 Thread DFS
On 10/25/2022 2:03 PM, Barry Scott wrote: There is an active PyQt mailing list that has lots of helpful and knowledgeable people on it. https://www.riverbankcomputing.com/mailman/listinfo/pyqt Barry Thanks. I'll send some questions their way, I'm sure. -- https://mail.python.org/mailman

Re: Any PyQt developers here?

2022-10-26 Thread DFS
On 10/25/2022 1:45 PM, Thomas Passin wrote: On 10/25/2022 1:03 PM, DFS wrote: Having problems with removeRow() on a QTableView object. removeRow() isn't listed as being a method of a QTableView, not even an inherited method, so how are you calling removeRow() on it? (See

Re: Any PyQt developers here?

2022-10-25 Thread Barry Scott
There is an active PyQt mailing list that has lots of helpful and knowledgeable people on it. https://www.riverbankcomputing.com/mailman/listinfo/pyqt Barry > On 25 Oct 2022, at 18:03, DFS wrote: > > Having problems with removeRow() on a QTableView object. > > After ca

Re: Any PyQt developers here?

2022-10-25 Thread Thomas Passin
On 10/25/2022 1:03 PM, DFS wrote: Having problems with removeRow() on a QTableView object. removeRow() isn't listed as being a method of a QTableView, not even an inherited method, so how are you calling removeRow() on it? (See https://doc.qt.io/qt-6/qtableview-members.html) After calling

Any PyQt developers here?

2022-10-25 Thread DFS
Having problems with removeRow() on a QTableView object. After calling removeRow(), the screen isn't updating. It's as if the model is read-only, but it's a QSqlTableModel() model, which is not read-only. The underlying SQL is straightforward (one table) and all columns are editable.

Which PyQt-compatible, performant graphing library should I use?

2019-09-07 Thread kangalioo654
Hi, Currently I'm making a statistics tool for a game I'm playing with PyQt5. I'm not happy with my current graphing library though. In the beginning I've used matplotlib, which was way too laggy for my use case. Currently I have pyqtgraph, which is snappy, but is missing useful features. The

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Steve Dower
Steve Dower added the comment: New changeset 0041d721a6f6b312ef762838d390fc4d64cf5e3a by Steve Dower (Andrés Delfino) in branch '3.6': [3.6] bpo-5978: Document that profiling needs cmd/function to return (GH-8515)

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread miss-islington
miss-islington added the comment: New changeset c6801b48a1964d87a77f1303e0c6ddf31f54259b by Miss Islington (bot) in branch '3.7': bpo-5978: Document that profiling needs cmd/function to return (GH-7938) https://github.com/python/cpython/commit/c6801b48a1964d87a77f1303e0c6ddf31f54259b

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +8032 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +8029 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-07-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset 937fb55d35373fd2701078251840b6be0465a6e1 by Christian Heimes (Andrés Delfino) in branch 'master': bpo-5978: Document that profiling needs cmd/function to return (GH-7938)

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-06-26 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: +adelfino versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-06-26 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7548 stage: needs patch -> patch review ___ Python tracker ___ ___

Re: Redundant features in python library, PyQt

2018-03-02 Thread Michael Torrie
On 03/02/2018 04:15 PM, jlada...@itu.edu wrote: > Python's standard library has (to take three examples) threads, > processes, and datetime functions. Meanwhile, PyQt has QThread, > QProcess, and QDateTime. > > Does this redundancy exist for C++ programmers who are programmin

Redundant features in python library, PyQt

2018-03-02 Thread jladasky
Python's standard library has (to take three examples) threads, processes, and datetime functions. Meanwhile, PyQt has QThread, QProcess, and QDateTime. Does this redundancy exist for C++ programmers who are programming Qt directly, and who may lack a standard C++ library with these features

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2018-02-11 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy stage: -> needs patch type: behavior -> enhancement versions: +Python 3.8 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

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 --

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
gt;> is not making sense. > >> ## > >> I'm trying to understand widget parenting, from the book: Rapid GUI > >> Programming, pg 118, and thereabouts - he says: > >> > >> A. All PyQt classes that derive from QObjectand this includes

Re: PyQt: Parenting a Widget

2017-09-26 Thread Thomas Jollans
et parenting, from the book: Rapid GUI >> Programming, pg 118, and thereabouts - he says: >> >> A. All PyQt classes that derive from QObjectand this includes all the >> widgets, >> since QWidget is a QObject subclasscan have a “parent”. >> >> B. PyQt autom

Re: PyQt: Parenting a Widget

2017-09-26 Thread Veek M
ramming, pg 118, and thereabouts - he says: > > A. All PyQt classes that derive from QObjectand this includes all the widgets, > since QWidget is a QObject subclasscan have a “parent”. > > B. PyQt automatically repar- > ents the widgets that are laid out. So although we did not gi

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

2017-09-24 Thread Veek M
e is broken and pan is horrible > > on olvwm - my plan is to write myself a News client in PyQt :)) > > I don't think you need to know that much about graphics coordinate > systems to get started with Qt. Most GUI layout stuff does not depend on > pixels or coordinates. I took a l

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

2017-09-23 Thread Michael Torrie
ke things stretched out in the x axis compared to the y axis. > (sorry for using google groups but my knode is broken and pan is horrible on > olvwm - my plan is to write myself a News client in PyQt :)) I don't think you need to know that much about graphics coordinate systems to get started wi

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

2017-09-23 Thread Veek M
pg 329, Rapid GUI Programming http://storage4.static.itmages.com/i/17/0923/h_1506165624_2588733_59fdfcd4cc.png In PyQt terminology the physical coordinate system is called the “viewport”, and confusingly, the logical coordinate system is called the “window”. In Figure 11.4

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: You must demonstrate that there is a problem with 3.6 or 3.7 and then write a patch that fixes the problem in those versions. -- nosy: +terry.reedy ___ Python tracker

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-07-11 Thread Larry Hastings
Larry Hastings added the comment: Python 3.4 no longer accepts bug fixes; it is in "security fixes only" mode. Since this is not a security fix, it will not be accepted into Python 3.4. If this bug affects other versions of Python, please file a new bug. Although, unless you move *very*

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-06-29 Thread alberfontan1
Changes by alberfontan1 : -- pull_requests: +2544 ___ Python tracker ___ ___

[issue30801] shoutdown process error with python 3.4 and pyqt/PySide

2017-06-29 Thread alberfontan1
New submission from alberfontan1: For a package applicaction with pyqt/PySide, Python 3.4 on Windows, appers a window fatal error when shoutdown process manager of multiprocessing -- components: Library (Lib) messages: 297261 nosy: alberfontan1 priority: normal severity: normal status

Re: PyQt pass data from class

2016-11-16 Thread Michael Torrie
foo.some_method() a=foo() b=bar(a) Of course since you're dealing with PyQt your classes will involve some other parameters to __init__ but you can still tack your parameter on there. You may want to re-examine how you're building your classes, though. There's likely a way you can structure

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
access the member of one class from a method in another class? If it's the former, you can ask PyQt to suppress a callback for a while. Look up the blockSignals() method of QWidget. If it's the latter, your best bet is to pass the object you want to access into the other class somehow, perhaps as an ar

Re: PyQt pass data from class

2016-11-15 Thread Rob Gaddi
he class Form > > in wich way i can have access to the lineedit of class Form without event > from class Cornice > > Many Thanks Traditionally you'd have Cornice emit a Signal, which when you __init__the Form you'd connect to the appropriate slot. I don't recall PyQt syntax, but

PyQt pass data from class

2016-11-15 Thread luca72 via Python-list
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 """ super(Form,

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

2016-11-07 Thread Demosthenes Koptsis
trayIcon = SystemTrayIcon(QtGui.QIcon("virtualdvd.png"), w) trayIcon.show() sys.exit(app.exec_()) if __name__ == '__main__': main() On 11/07/2016 10:49 AM, Anssi Saari wrote: Demosthenes Koptsis <demosthen...@gmail.com> writes: Hello, i have a PyQT systray app with a menu

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

2016-11-07 Thread Demosthenes Koptsis
sys.exit(app.exec_()) if __name__ == '__main__': main() On 11/07/2016 10:49 AM, Anssi Saari wrote: Demosthenes Koptsis <demosthen...@gmail.com> 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

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

2016-11-07 Thread Anssi Saari
Demosthenes Koptsis <demosthen...@gmail.com> 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.c

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

2016-10-27 Thread Demosthenes Koptsis
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 -- https://mail.python.org/mailman/listinfo/python-list

Re: PyQT - Signals and Slots?

2016-10-10 Thread Michael Torrie
here's announce and atzero defined? In your example code, "atzero" is implicitly defined as a signal in the connect() call. Under the hood in Qt, signals are all dispatched by strings when you emit() the signal. PyQt does allow you to define signals in a more pythonic way using class vari

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

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,

PyQT - Signals and Slots?

2016-10-10 Thread Veek M
ctionName -> instance.methodName -> instance.slotSignature If signalSignature is a C++ implemented thingy then we got to pass type info as part of the mapping so "signalSignature(int, float, const char *). PyQT signals are any type and any number of args.. If

ANN: PyQt v5.7 Released

2016-07-27 Thread Phil Thompson
PyQt v5.7 has been released. These are the Python bindings for the Qt application toolkit and runs on Linux, OS X, Windows, iOS and Android. Also released for the first time under the GPL are PyQtChart, PyQtDataVisualization and PyQtPurchasing. PyQtChart are the bindings for the Qt Charts

ANN: PyQt v5.7 Released

2016-07-26 Thread Phil Thompson
PyQt v5.7 has been released. These are the Python bindings for the Qt application toolkit and runs on Linux, OS X, Windows, iOS and Android. Also released for the first time under the GPL are PyQtChart, PyQtDataVisualization and PyQtPurchasing. PyQtChart are the bindings for the Qt Charts

Re: Getting back into PyQt and not loving it.

2016-07-02 Thread Sibylle Koczian
Am 27.06.2016 um 22:14 schrieb codewiz...@gmail.com: On Sunday, June 26, 2016 at 5:45:18 PM UTC-4, Michael Torrie wrote: Qt's a fantastic toolkit, and the most mature of any of them, and the most portable, but man the bindings are not Pythonic at all. Enaml feels pretty Pythonic to me:

Re: sample chatting apps in pyqt

2016-06-30 Thread Michael Torrie
On 06/30/2016 07:45 AM, tommy yama wrote: > Hi all, > > Let me post my question here > Has anyone installed and run any of sample chat apps in pyqt? > > Although I've tried to install and run sample scripts in pyqt once, the > error said pyqt must be reinstalled. If you pa

sample chatting apps in pyqt

2016-06-30 Thread tommy yama
Hi all, Let me post my question here Has anyone installed and run any of sample chat apps in pyqt? Although I've tried to install and run sample scripts in pyqt once, the error said pyqt must be reinstalled. Appreciate for your suggestions. Thanks. Tomo -- https://mail.python.org/mailman

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread Michael Torrie
On 06/27/2016 02:14 PM, codewiz...@gmail.com wrote: > On Sunday, June 26, 2016 at 5:45:18 PM UTC-4, Michael Torrie wrote: >> >> Qt's a fantastic toolkit, and the most mature of any of them, and the >> most portable, but man the bindings are not Pythonic at all. > > Enaml feels pretty Pythonic to

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread Ethan Furman
On 06/26/2016 07:12 PM, MRAB wrote: Is it a problem with Tk itself or with the Python wrapper? Would it be better if we made a more Pythonic version of Tkinter, e.g. making Frame.title a property? I would say it's the wrapper. I appreciate all the work being done on tkinter lately, but it's

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread codewizard
On Sunday, June 26, 2016 at 5:45:18 PM UTC-4, Michael Torrie wrote: > > Qt's a fantastic toolkit, and the most mature of any of them, and the > most portable, but man the bindings are not Pythonic at all. Enaml feels pretty Pythonic to me: https://github.com/nucleic/enaml --

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread llanitedave
started with WxPython, but WxPython/Phoenix has been very slow to migrate > to Python 3. > > Between the Py3 requirement and the need to work with all major OS's, I > decided to learn PyQt and not GTK+. > > In my current day job, I'm developing an application on a Linux box

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread Michael Torrie
On 06/27/2016 12:44 AM, Lawrence D’Oliveiro wrote: > On Monday, June 27, 2016 at 6:16:01 PM UTC+12, John Ladasky wrote: > >> Between the Py3 requirement and the need to work with all major OS's, I >> decided to learn PyQt and not GTK+. > > GTK+ is available fo

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread Mark Summerfield
honic. - The event handling works very differently from other toolkits so it can be quite tricky to learn and get right. - The bindings are incomplete (e.g., http://bugs.python.org/issue3405) And for me there are show-stopping weaknesses. - Show stopper #1: there is no nice way to create cus

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread lorenzo . gatti
PyGTK is obsolete and stopped at Python 2.7, while PyGObject for Windows is several versions behind (currently 3.18 vs 3.21) and it doesn't support Python 3.5. Game over for GTK+. -- https://mail.python.org/mailman/listinfo/python-list

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread Lawrence D’Oliveiro
On Monday, June 27, 2016 at 6:16:01 PM UTC+12, John Ladasky wrote: > Between the Py3 requirement and the need to work with all major OS's, I > decided to learn PyQt and not GTK+. GTK+ is available for Python 3. No doubt it will work on Windows as well, once Microsoft gets its

Re: Getting back into PyQt and not loving it.

2016-06-27 Thread John Ladasky
with all major OS's, I decided to learn PyQt and not GTK+. In my current day job, I'm developing an application on a Linux box, but I'll be handing it off to Windows users. My choice of PyQt turned out to be the right one in that situation as well. -- https://mail.python.org/mailman/listinfo/python-list

Re: Getting back into PyQt and not loving it.

2016-06-26 Thread Michael Torrie
On 06/26/2016 07:05 PM, llanitedave wrote: > Not sure that wxPython is really any different in that respect, and > Tkinter doesn't feel Pythonic to me, either -- considering how it's > Tk at heart. So what's the alternative? There really is no good > Python-based GUI tool, and that's a shame.

Re: Getting back into PyQt and not loving it.

2016-06-26 Thread MRAB
from GTK+ to Qt (PyQt4 for now as that's what I have installed). For the most part it worked out pretty well. It's been a while since I used PyQt or PySide, and I had forgotten what a horrid Python experience Qt really is, at least in PyQt4. Maybe the bindings for Qt5 are better... I'll be working

Re: Getting back into PyQt and not loving it.

2016-06-26 Thread Rustom Mody
On Monday, June 27, 2016 at 6:35:31 AM UTC+5:30, llanitedave wrote: > So what's the alternative? There really is no good Python-based GUI tool, > and that's a shame. The last time Ranting Rick made a big rant about this (saying wxpython should replace tkinter in core CPython) everyone took

Re: Getting back into PyQt and not loving it.

2016-06-26 Thread llanitedave
(PyQt4 for now as that's what I have installed). For > the most part it worked out pretty well. It's been a while since I used > PyQt or PySide, and I had forgotten what a horrid Python experience Qt > really is, at least in PyQt4. Maybe the bindings for Qt5 are better... > I'll be

Getting back into PyQt and not loving it.

2016-06-26 Thread Michael Torrie
. It's been a while since I used PyQt or PySide, and I had forgotten what a horrid Python experience Qt really is, at least in PyQt4. Maybe the bindings for Qt5 are better... I'll be working with them next as I convert my working code. Qt's a fantastic toolkit, and the most mature of any of them

How to remember last position and size (geometry) of PyQt application?

2015-11-23 Thread Santosh Kumar
Hello all fellow Python programmers! I am using PyQt5 (5.5.1) with Python 3.4.0 (64-bit) on Windows 8.1 64-bit. I don't think this much data was needed. :P I am having trouble restoring the position and size (geometry) of my very simple PyQt app. What I read online is that this is the default

Re: How to remember last position and size (geometry) of PyQt application?

2015-11-23 Thread Santosh Kumar
This question was reasked and answered on StackOverflow: http://stackoverflow.com/q/33869721/939986 -- https://mail.python.org/mailman/listinfo/python-list

PyQt v5.5 Released

2015-07-19 Thread Phil Thompson
PyQt5 v5.5 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of The Qt Company's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release

PyQt v5.5 Released

2015-07-19 Thread Phil Thompson
PyQt5 v5.5 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of The Qt Company's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release

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

2015-03-20 Thread Timothy W. Grove
): AttributeError: 'NoneType' object has no attribute 'startswith' logout [Process completed] ___ PyQt mailing list p...@riverbankcomputing.com mailto:p...@riverbankcomputing.com http://www.riverbankcomputing.com/mailman

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

2015-03-19 Thread michael h
] ___ PyQt mailing listp...@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- https://mail.python.org/mailman/listinfo/python-list

ANN: PyQt v5.4 Released

2014-12-27 Thread Phil Thompson
PyQt5 v5.4 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

ANN: PyQt v5.4 Released

2014-12-26 Thread Phil Thompson
PyQt5 v5.4 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

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

2014-12-18 Thread Mark Summerfield
use exactly the same approach in PyQt and PySide. This chapter also discusses many issues related to Python concurrency. -- https://mail.python.org/mailman/listinfo/python-list

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 real

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

2014-12-12 Thread Marko Rauhamaa
Chris Angelico ros...@gmail.com: 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

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

2014-12-11 Thread iMath
through the list archives because in the last 3 or 4 weeks I and another Python user talked proper thread use with PyQt or PySide, with code examples. when it comes to I/O and GUIs, asynchronous calls are always better than threads. I cannot grasp your meaning here, IMO, asynchronous calls

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 Marko Rauhamaa
Michael Torrie torr...@gmail.com: 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

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 ma...@pacujo.net 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

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

2014-12-10 Thread iMath
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 freezed? code is here

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

2014-12-10 Thread Michael Torrie
user talked proper thread use with PyQt or PySide, with code examples. -- https://mail.python.org/mailman/listinfo/python-list

pyqt darg and drop

2014-10-04 Thread Sachin Tiwari
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 QtGui, QtCore class Button(QtGui.QPushButton): def mouseMoveEvent(self, e): if e.buttons() !=

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 QtGui, QtCore

pyqt problem

2014-10-02 Thread sachin . tiwari50
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 -- https://mail.python.org/mailman/listinfo/python-list

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 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] Automatic Crash Reporting

2014-09-26 Thread Detlev Offenbach
module that would work nicely with a python3/pyqt4 application? Thanks. Tim ___ PyQt mailing listp...@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt-- *Detlev Offenbach* det...@die-offenbachs.de -- https

Re: How to add ftp put function in PyQT network ftp demo

2014-07-02 Thread 不坏阿峰
在 2014年7月1日星期二UTC+7下午5时27分59秒,不坏阿峰写道: I want to modify the pyqt network ftp demo to include an upload function, but I am failing. Could someone can show me how to do this? I have tried to add this code, but it does not work. [Orignal demo]https://github.com/Werkov/PyQt4/blob/master

How to add ftp put function in PyQT network ftp demo

2014-07-01 Thread 不坏阿峰
I want to modify the pyqt network ftp demo to include an upload function, but I am failing. Could someone can show me how to do this? I have tried to add this code, but it does not work. [Orignal demo]https://github.com/Werkov/PyQt4/blob/master/examples/network/ftp/ftp.py at First, i add

ANN: PyQt v5.3 Released

2014-06-02 Thread Phil Thompson
PyQt5 v5.3 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

ANN: PyQt v5.3 Released

2014-05-28 Thread Phil Thompson
PyQt5 v5.3 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5978 ___ ___

  1   2   3   4   5   6   7   8   >