QProgressIndicator

Qt Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

4
Score 67.1%
Description:

The QProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
Will work at any size.

Depends on Qt 4.4.x.

The source code is hosted on Github.
https://github.com/mojocorp/QProgressIndicator
Last changelog:

8 years ago

v1.0.2
-added isAnimated accessor
-added isDisplayedWhenStopped/setDisplayedWhenStopped accessors
-added color/setColor accessors
-added doxygen documentation
v1.0.1
-initial revision

geotavros

9 years ago

Thanks for this nice widget, this is just what I've been looking for

Report

gokmen

9 years ago

I just write it in PyQt, you can use it from Pardus repositories[1].

Cheers,

[1] http://svn.pardus.org.tr/uludag/trunk/pds/pds/qprogressindicator.py

Report

geekgyrl

9 years ago

Grabbed this class (BTW: it has been a
life saver) and tried to compile it.
Realized that I needed at minimum qt-4.4.
Might be goog to update the "Depends on"
line to state min. = qt-4.4.

Report

oseias

9 years ago

Hi,

I'm currently using this tool and I added a grayscale (I called it a grayscale but it's in fact an alphascale). That scale will make the animation all in same colour when it's not running.

to do that I just added these two methos to the cpp file:

bool QProgressIndicator::isGrayscale () const
{
return m_grayscale;
}
void QProgressIndicator::setGrayscale( bool isGrayscale )
{
m_grayscale = isGrayscale;
}

and changed this line at the paint event:

from: color.setAlphaF(1.0f - (i/12.0f));

to: color.setAlphaF( ( isAnimated() || !m_grayscale ? ( 1.0f - ( i/12.0f ) ) : 0.2f ) );

hope this helps :)

Report

GarryTheHotDog

9 years ago

You can still add a mapping per cent in the center of the circle, as is done in ProgressBar.
//----------------
void setRange(int maxValue, int minValue);
//-----
void setCurrentValue(int Value);
void ShowProgressText(bool AStatus);
-------
thank's;

Report

daimonKor

9 years ago

The good widget!!!!

Report

AlexBSnet

10 years ago

Please, log all of changes.

Report

GarryTheHotDog

10 years ago

hi, you also can add some function:

void setColor(QColor color)
// seting color of indicator
and
bool isAnimated( or getAnimationStatus )
//geting status of animation
---------
thank's

Report

GarryTheHotDog

10 years ago

Hello, try the QProgressIndicator class on qt4.5.2(msvc2008 sp1) - look nice and useful!!! thanks.

Report

C

mojo2000

10 years ago

Thank you ! It's great to have positive feedback !

Report

8 years ago

v1.0.2
-added isAnimated accessor
-added isDisplayedWhenStopped/setDisplayedWhenStopped accessors
-added color/setColor accessors
-added doxygen documentation
v1.0.1
-initial revision

12345678910
3
product-maker elmodos Jul 16 2012 9 excellent
product-maker cydside Feb 04 2012 9 excellent
product-maker Phisatho May 27 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
crophywan
Aug 05 2013
chriskon149
Feb 10 2012
Phisatho
May 27 2011
geotavros
Nov 29 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.0.2
updated Oct 20 2011
added Nov 20 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 5
System Tags