Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Loading image
Qt 6.11 is out! See what's new in the release blog

Loading image

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    janaki
    wrote on last edited by
    #1

    i have to load the image which is received using udpsocket on line edit

    that i have to show using a progress bar

    how should i do it

    can any body give me the hint

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi
      [quote author="janaki" date="1373970322"]i have to load the image which is received using udpsocket on line edit[/quote]
      I think you mean QLabel

      [quote author="janaki" date="1373970322"]that i have to show using a progress bar[/quote]
      Progress bar is used to show percentage of completion of an operation, what operation would you show?

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • IamSumitI Offline
        IamSumitI Offline
        IamSumit
        wrote on last edited by
        #3

        Hello ,

        1. You cannot use QLineEdit to show an image.
          Use QLabel to do so.
          2)To show the Progress of receiving data of image You can use following calculation :
          value_To_Set=(Rec_Bytes*100)/Total_Bytes

        Where value_To_set is the value which would be set on QProgressBar.

        Be Cute

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved