[PyQt] Well-designed semi-complex "content" oriented PyQt application?
Elvis Stansvik
elvstone at gmail.com
Tue Apr 19 13:43:50 BST 2016
2016-04-19 13:36 GMT+02:00 Julien Duponchelle <julien at gns3.net>:
> Hi,
>
> GNS3 use PyQT
>
> https://gns3.com/
>
> And source code:
> https://github.com/GNS3/gns3-gui
>
> But I will not describe it as well designed. We made a lot of mistake.
>
> My advices:
> * Keep your main window code small
> * Do not take a shortcut when you should use a signal slot instead
Thanks, that seems like good general advice.
When I have been looking around at PyQt (and Qt) applications, it's
striking how many of them have enormous MainWindow classes. I've been
guilty of this myself in the past :)
Elvis
>
> On Tue, Apr 19, 2016 at 1:04 PM Elvis Stansvik <elvstone at gmail.com> wrote:
>>
>> Hi David,
>>
>> 2016-04-19 12:47 GMT+02:00 David Boddie <david at boddie.org.uk>:
>> > On Tue Apr 19 10:54:12 BST 2016, Elvis Stansvik wrote:
>> >
>> >> Looking at real-world examples is always good inspiration. For that
>> >> reason, I'm looking for examples of semi-large well-designed/modern
>> >> "content" oriented PyQt applications. With "content" oriented I mean
>> >> the typical application where you work with some kind of "document"
>> >> (project, ..., etc), either SDI or MDI.
>> >
>> > It may be worth looking at this page:
>> >
>> > https://wiki.python.org/moin/PyQt/SomeExistingApplications
>> >
>> > The scientific/mathematical applications tend to use those kinds of
>> > GUIs.
>>
>> Thanks! I'll have a look.
>>
>> Of course still interested in if people have any favourites wrt to
>> application architecture/design.
>>
>> Elvis
>>
>> >
>> > David
>> > _______________________________________________
>> > PyQt mailing list PyQt at riverbankcomputing.com
>> > https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>> _______________________________________________
>> PyQt mailing list PyQt at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list