#include <ProgressWin.h>
This class is part of the main application namespace IDVR and contains the definition of the Progressbar dialog window.
During several possible calculation processes like the loading of the volume data/mask data, the actual rendering or the video creation a progress bar should be shown to visualze the current status of the specific process. An instance of this class will be always created in the specific class which starts the choosen calculation process (e.g. the class Neu for loading volume/mask data).
Thus, this class defines the progressbar dialog window and provides an interface which is needed to update the current process status. Note that the actual progressbar is performed by a particular thread to garantuee correct functionality.
The API documentation for this class shows only the most important member variables and function. Event handling functions and GUI components (e.g. labels, textboxes,...) will not be included but all essential parts of the class are surely documented.
Public Member Functions | |
ProgressWin (String *n_Title, String *n_Description) | |
This is the unique constructor of this class. | |
ProgressWin (void) | |
This is the standard constructor. | |
__property void | set_Description (String *n_Description) |
Sets a new description for the current progressbar instance. | |
__property void | set_Title (String *n_Title) |
Sets a new title for the current progressbar instance. | |
void | setProgressbarStep () |
Increments the current progressbar about one single step. | |
void | setProgressbarToMaximum () |
Sets the progressbar to the maximum step count. | |
void | setProgressbarStepRange (int n_StepRange) |
Sets the range of the progressbar. | |
bool | isWindowActive (void) |
Returns the status of the progressbar dialog window. | |
void | resetGUIItems (String *n_Title, String *n_Description) |
Resets all GUI components of the progressbar dialog window to the corresponding parameters. | |
Protected Member Functions | |
void | Dispose (Boolean disposing) |
Destroys all GUI components before this current instance will be actually discarded. | |
Private Member Functions | |
void | InitializeComponent (void) |
The main function to create the all needed GUI components. | |
Private Attributes | |
System::ComponentModel::Container * | components |
Erforderliche Designervariable. |
|
This is the unique constructor of this class. It implements the standard initialization of the GUI window and actually start a thread to create and control a specific dialog window.
|
|
This is the standard constructor. It implements the standard initialization of the GUI window and actually start a thread to create and control a specific dialog window. |
|
Destroys all GUI components before this current instance will be actually discarded.
|
|
The main function to create the all needed GUI components. Furthermore, the linking of those created GUI components (e.g. labels, textboxes,...) to the current container is implemented. After the correct linking all GUI items will be shown on the screen.
|
|
Returns the status of the progressbar dialog window.
|
|
Resets all GUI components of the progressbar dialog window to the corresponding parameters. The actual progressbar will be set to step count zero (start status).
|
|
Sets a new description for the current progressbar instance. If the progressbar is actually active the new description will be instantly shown.
|
|
Sets a new title for the current progressbar instance. If the progressbar is actually active the new title will be instantly shown.
|
|
Increments the current progressbar about one single step.
|
|
Sets the range of the progressbar. This means the maximum count of steps of the current progressbar.
|
|
Sets the progressbar to the maximum step count. The progressbar will be shown fully filled. |