Progress Popup

The progress popup is used to show messages of some actions to the user. These actions are currently SCPM::Enable (only when enabling first time or re-enabling), SCPM::PrepareSwitch, and SCPM::Switch.

General information

This window has informational purpose only. It is mainly used in the switch process to show the user what's going on. The Close button is initially disabled and gets enabled when the apropriate SCPM function retured.

Getting information

The information the popup shows directly come from SCPM, the two stream objects you passed to the constructor are used for it. The first stream object is the one, the messages get written to. Everything that comes on this object should be written in the rich text widget. The second stream object will get exactly 100 hash marks while the action is performed. You can use this information to display the progress bar.

Actions to perform