Results 1 to 2 of 2

Thread: Envolve a non-QT client server mechanisim

  1. #1
    Join Date
    Oct 2009
    Posts
    25
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question Envolve a non-QT client server mechanisim

    Hi,
    I have a client server mechanism that works fine on many platforms but he isnt built with QT.
    I now have a function called Tile that gets a QPixmap and i want to show it on a QGraphicsScene (screen), Its important that it will be able refresh when a new picture came in from the server side.

    1) Does QGraphicsScene and QGraphicsView have to be declared in main?

    2) It is possible to use show() function in a non-QT class that have QT objects in it ?

    3) It is possible at all???

    thank you...

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Envolve a non-QT client server mechanisim

    What does this:
    I have a client server mechanism that works fine on many platforms but he isnt built with QT.
    have to do with this:
    I now have a function called Tile that gets a QPixmap and i want to show it on a QGraphicsScene (screen), Its important that it will be able refresh when a new picture came in from the server side.
    1) Does QGraphicsScene and QGraphicsView have to be declared in main?
    no.

    2) It is possible to use show() function in a non-QT class that have QT objects in it ?
    The question is not clear.
    You can call show() on objects that implement it.
    3) It is possible at all???
    What do you mean by "it"?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Commands exchange between Client and Server
    By QAlex in forum Qt Programming
    Replies: 8
    Last Post: 23rd November 2009, 16:59
  2. TCP server client threads
    By jmsbc in forum Qt Programming
    Replies: 0
    Last Post: 17th November 2009, 19:10
  3. [PyQt4] SSL server and client example
    By JoelG90 in forum Newbie
    Replies: 1
    Last Post: 24th May 2009, 09:09
  4. Replies: 0
    Last Post: 22nd February 2009, 13:15
  5. synching client readings to server output
    By OnionRingOfDoom in forum Qt Programming
    Replies: 14
    Last Post: 28th January 2006, 18:15

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.