Progress consists of a rectangular block that grows during an increment and shrinks during a decrement. The control can have progress text within the bar that provides updated information on how far the operation has progressed. The text can be displayed as either a percentage or a fraction. The bar can also have a series of invisible splits, or lines. These splits are displayed by the rectangular blocks as it fills the bar. When the control is in this mode progress text cannot be used.
|
Public Member Functions |
IMPORT_C | ~CEikProgressInfo () |
| Destructor.
|
IMPORT_C | CEikProgressInfo () |
| C++ default constructor.
|
IMPORT_C | CEikProgressInfo (const SInfo &aProgInfo) |
| Constructs a progress information control using the information held in the specified SInfo struct.
|
IMPORT_C void | IncrementAndDraw (TInt aInc) |
| Adds the specified increment to the current progress value and, if the progress value has increased, redraws the control.
|
IMPORT_C void | SetAndDraw (TInt aValue) |
| Sets the specified value as the new progress value and redraws the control if the new value differs from the old value.
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
| From CCoeControl .
|
IMPORT_C void | SetLayout (const SLayout &aLayout) |
| Sets the layout for the control.
|
IMPORT_C void | SetBorder (const TGulBorder &aBorder) |
| Sets the control's border.
|
IMPORT_C void | SetFinalValue (TInt aFinalValue) |
| Sets the final value for the progress information control.
|
IMPORT_C void | ConstructL () |
| By default Symbian 2nd phase constructor is private.
|
const SInfo & | Info () const |
| Gets a pointer to the information used to define the progress information control's type.
|
const SLayout & | Layout () const |
| Gets a pointer to the colours and layout of the progress information control.
|
TInt | CurrentValue () const |
| Gets the current value, indicating how far the operation has progressed.
|
IMPORT_C void | ActivateL () |
| From CCoeControl .
|
IMPORT_C TSize | MinimumSize () |
| From CCoeControl .
|
IMPORT_C void | SizeChanged () |
| From CCoeControl .
|
virtual IMPORT_C void | GetColorUseListL (CArrayFix< TCoeColorUse > &aColorUseList) const |
| From CCoeControl .
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
| From CCoeControl .
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| From CCoeControl .
|
Protected Member Functions |
virtual IMPORT_C const TDesC * | EvaluateText (TDes &aTextBuf) const |
| Evaluates the progress text.
|
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
| From CCoeControl .
|
Data Structures |
struct | SInfo |
| Defines the progress control's type. More...
|
struct | SLayout |
| Defines the layout and colours for a progress information control. More...
|