[Qt-interest] Progress Bar Logic
Ramesh
ramesh.bs at robosoftin.com
Thu May 27 12:16:57 CEST 2010
Yogesh,
I have not worked on Qt copy files. But as per my speculation, Qt has better
API than what linux command which you use to Copy.
Just googleit or look around the documentation , you may get solution.
From: yogesh upreti [mailto:yogesh.upreti at gmail.com]
Sent: Thursday, May 27, 2010 3:21 PM
To: Ramesh
Cc: qt-interest at trolltech.com
Subject: Re: Progress Bar Logic
Hallo Ramesh,
Thanks for reply. I am using system command ("copy" for windows and cp for
"unix") to copy files.
How do I get the ammount of data copied? or is there a better way to copy
file using any QT Function, so that I get also the ammount of data copied?
Thanks
Yogesh Upreti
On Thu, May 27, 2010 at 11:00 AM, Ramesh <ramesh.bs at robosoftin.com> wrote:
You need to set the maximum value based on the file size,
The increment should be done on the basis of amount of the data you receive
while copying.
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of yogesh upreti
Sent: Thursday, May 27, 2010 12:56 PM
To: qt-interest at trolltech.com
Subject: ***SPAM*** [Qt-interest] Progress Bar Logic
Hi All,
I need some help for setting up progress bar in my application, for two
tasks.
1. For reading an text file (it should show how much % of the file is read
already)
2. For copying file (it should show the progress of data copied)
Can any one tell me how should I set Max and currect value of progress bar
for these operations?
Thanks
Yogesh Upreti
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an
intended recipient, please notify the sender and delete all copies. Emails
to and from our network may be logged and monitored. This email and its
attachments are scanned for virus by our scanners and are believed to be
safe. However, no warranty is given that this email is free of malicious
content or virus.
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100527/0db1039d/attachment.html
More information about the Qt-interest-old
mailing list