Traveller Store CotI Features New Posts Mark Forums Read Register


Go Back TravellerRPG.com > Citizens of the Imperium > General Traveller Discussions > Software Solutions

Software Solutions Discussions on Traveller related software.

Reply
 
Thread Tools Display Modes
  #1  
Old November 20th, 2013, 05:46 PM
Shonner Shonner is offline
Citizen: SOC-14
 
Join Date: May 2009
Posts: 1,232
Gallery : 0
Shonner Citizen+Shonner Citizen+
Send a message via Skype™ to Shonner
Default GUI Travels

Thanks to Simon, I am now convinced that PyQt4, using Qt Designer, is far more smooth and easy compared to using wxGlade for building GUIs. Just need to mark up a GUI diagram for my next project. Been using Pyrcc4 to convert my PNG icons into raw data (Python resource files) that Python imports with the GUI I'm experimenting on. Been following YouTube videos on converting UI and QRC files into Python. Then I convert the whole thing into EXE using Py2exe.

Kind of cool so far.
__________________
April 28th, 2015 was my last day on this forum.
Reply With Quote
  #2  
Old November 21st, 2013, 03:22 AM
simonh simonh is offline
Citizen: SOC-12
 
Join Date: Jun 2008
Location: London
Posts: 447
Gallery : 0
simonh Citizen+simonh Citizen+
Default

Of course this also means every time you hit a roadblock it'll be my fault too, but I can take the hits

I followed the same route, starting with Wx, giving up and going to Qt.

QtDesigner is brilliant. Even if you end up doing the UI programmatically, it's a great way to explore the widget library, their properties and how they come together visually.

The are two things in Qt that took me a while to get my head around properly. Signals and slots is one, and the MVC framework is the other (which uses signals and slots), but learning to use them effectively is like gaining superpowers. That's how you can change a world's properties in the world editor and the change appears immediately in the map view, or you can add a route or change its colour if a dialogue and the map view updates instantly. No 'redraw map' button required.

Simon Hibbs
__________________
Check out StarBase, the open source science fiction campaign mapping application.
Reply With Quote
  #3  
Old February 28th, 2014, 06:53 PM
Shonner Shonner is offline
Citizen: SOC-14
 
Join Date: May 2009
Posts: 1,232
Gallery : 0
Shonner Citizen+Shonner Citizen+
Send a message via Skype™ to Shonner
Default

Thank goodness there is stackoverflow.com

That's where I been learning how PyQt works. Because others have run into and solved any problems already that I find myself in.
__________________
April 28th, 2015 was my last day on this forum.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

This website and its contents are copyright ©2010- Far Future Enterprises. All rights reserved. Traveller is a registered trademark of Far Future Enterprises .
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright (c) 2010-2013, Far Future Enterprises. All Rights Reserved.