[Interest] QDatastream, QMap, QImage serialization
Roland Hughes
roland at logikalsolutions.com
Mon May 21 22:23:33 CEST 2018
On 05/21/2018 10:53 AM, Thiago Macieira wrote:
> On Sunday, 20 May 2018 21:27:31 -03 Jason H wrote:
>> Why is QImage even a GUI type?
> "Has pixels" is the simplest defintiion of GUI.
Not exactly a definition which should actually be used though. While
facial recognition may make for impressive displays on cop shows and
seismic data make look wonderful in certain movies, the reality is that
it is just data bundles which an algorithm runs over looking for patters
much like a text search performed via a command line editor.
QColor could even be classified as such. Maybe.
Pen and brush though, they exist for the physical act of painting and
primarily for that.
Having said all of that though, and given QPixmap can be loaded in a
worker thread I don't have a major issue with the current split between
GUI and core.
It does make one wonder about what shortcuts were taken to require
painting only occur in the GUI. That would be a much more beneficial
conversation for the Qt community as a whole, especially since we can
paint off-screen then blit it on. It would seem that off-screen painting
should be threadable.
--
Roland Hughes, President
Logikal Solutions
(630)-205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us/
http://onedollarcontentstore.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180521/ac4174c9/attachment.html>
More information about the Interest
mailing list