Results 1 to 6 of 6

Thread: GraphicView Images or pictures in phonon

  1. #1
    Join Date
    Feb 2012
    Posts
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Unhappy GraphicView Images or pictures in phonon

    Hi....
    Whether the GraphicView Images or pictures can be displayed in a phonon video player.

    I mean I have designed a form which consist of a graphicview and video player. I want to use DragandDrop actions. That is I want to Drag the image from the Graphic view and drop it into video player. Please its urgent can anybody help me. Please...................

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: GraphicView Images or pictures in phonon

    How would that work? Do you want to display that image? You don't need a video player for that.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2012
    Posts
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GraphicView Images or pictures in phonon

    actually i am doing a simple project. where i have added 4 graphic views into form which will be receiving raw frames from analog cameras(the frames will be refreshed every 5 seconds) i have also added 4 phonon video players to display live videos from the analog cameras(initially the 4 video players will be blank) and when the graphic view image is dragged into video player ,that particular video player will display live video from the the specific camera .(Actually the 4 graphic views will act like a film strip or thumbnails which will be refreshed every time).

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: GraphicView Images or pictures in phonon

    If you encode the information about the source in the drag object, then you can extract that information in the drop and attach your player to the video source of your choice. Read the docs on handling custom drag and drop in Qt.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Feb 2012
    Posts
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GraphicView Images or pictures in phonon

    sir can you pleas help me sir...... I have added a graphic view and a video player but i am stuck. i Read the documents but i am not getting it sir

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: GraphicView Images or pictures in phonon

    I am sorry but you can't solve your problem with two lines of code or clicking around with your mouse. You have to have a deep understanding of what you have to implement. If you ask a specific question I will do my best to answer it but I will not code this solution for you. If all you can do is add widgets to forms then maybe you should learn more first before you start working on more difficult problems.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Add pictures to tableview
    By Goof in forum Newbie
    Replies: 3
    Last Post: 12th January 2011, 04:21
  2. Add pictures svg in QIcon
    By giorgik in forum Qt Programming
    Replies: 2
    Last Post: 7th September 2010, 09:00
  3. runing from .exe and pictures
    By Arisss in forum Qt Programming
    Replies: 2
    Last Post: 16th January 2010, 17:10
  4. grab images from Phonon video
    By Kraut~salat in forum Qt Programming
    Replies: 3
    Last Post: 19th January 2009, 09:53
  5. Help with opening many pictures
    By philipp1 in forum Qt Programming
    Replies: 3
    Last Post: 14th October 2006, 00:13

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
  •  
Qt is a trademark of The Qt Company.