URL:
<http://gna.org/patch/?5760>
Summary: [Qt client] Use widgets instead of hand-drawing the
game info panel
Project: Freeciv
Submitted by: louis94
Submitted on: mar. 27 janv. 2015 00:19:10 UTC
Category: client-qt
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
This patch is a rewrite of the game information panel (the one with the 'Turn
Done' button) to be widget-based instead of drawing everything by hand. Not
having to manually layout & draw things simplifies the code a lot (-75
lines).
Qt stylesheets are used to customize the appearance; modifying it is now very
easy. I tried to mimic the old styling, but small differences remain.
Since everything in the map view layout seems to be tied very close together,
issues with other internal panels may appear. I could play a full game without
finding one, though.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mar. 27 janv. 2015 00:19:10 UTC Name: game_info_widgets.patch.bz2
Size: 6 ko By: louis94
<http://gna.org/patch/download.php?file_id=23632>
-------------------------------------------------------
Date: mar. 27 janv. 2015 00:19:10 UTC Name: game_info_widgets-s25.patch.bz2
Size: 6 ko By: louis94
<http://gna.org/patch/download.php?file_id=23633>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?5760>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev