QProgressIndicator
Qt Widgets
Score 70%
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

6 years ago

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

Report

gokmen

7 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

7 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

7 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

7 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

7 years ago

The good widget!!!!

Report

AlexBSnet

7 years ago

Please, log all of changes.

Report

GarryTheHotDog

7 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

8 years ago

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

Report

C

mojo2000

7 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

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.0.2
updated Oct 20 2011
added Nov 20 2009
downloads today
0
page views today 0