#include <vhdXMLPropertyLoaderProgressGui.h>
Inheritance diagram for vhdXMLPropertyLoaderProgressGui:
Public Slots | |
virtual void | refreshSlot () |
Public Member Functions | |
vhdXMLPropertyLoaderProgressGui (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
~vhdXMLPropertyLoaderProgressGui () | |
virtual void | handleXMLLoaderPropertyTreeBuildStart (vhtSize32 totalNum) |
virtual void | handleXMLLoaderPrePropertyBuildStat (const std::string &propertyClassName, vhtSize32 totalNum, vhtSize32 serialIndex, vhtSize32 recurrencyDepth) |
virtual void | handleXMLLoaderPostPropertyBuildStat (vhtTime propertyBuildTime) |
virtual void | handleXMLLoaderPropertyTreeBuildTermination (vhtTime propertyTreeBuildTime) |
Private Member Functions | |
void | _refresh () |
Private Attributes | |
std::string | _propertyClassName |
vhtSize32 | _totalNum |
vhtSize32 | _serialIndex |
vhdXMLPropertyLoaderProgressGui::vhdXMLPropertyLoaderProgressGui | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
WFlags | fl = 0 | |||
) |
vhdXMLPropertyLoaderProgressGui::~vhdXMLPropertyLoaderProgressGui | ( | ) |
void vhdXMLPropertyLoaderProgressGui::refreshSlot | ( | ) | [virtual, slot] |
void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPropertyTreeBuildStart | ( | vhtSize32 | totalNum | ) | [virtual] |
vhdXMLPropertyLoader::buildPropertyTree() guts call this method just before the proeprty tree building starts. So this is the first shot that your handler gets. You get a total number of properties that will be loaded.
totalNum | you get total number of properties to be loaded. |
Implements vhdIXMLPropertyLoaderHandler.
void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPrePropertyBuildStat | ( | const std::string & | propertyClassName, | |
vhtSize32 | totalNum, | |||
vhtSize32 | serialIndex, | |||
vhtSize32 | recurrencyDepth | |||
) | [virtual] |
vhdXMLPropertyLoader::buildPropertyTree() guts call this method just before building of a new vhdProeprty instance so you get its class name, totla number of properties to be loaded in the session, serialIndexber (starting from 0) and recurrency depth.
In this method normally you implement updates of the progress bars of your splash screens.
propertyClassName | ||
totalNum | ||
serialIndex | ||
recurrencyDepth |
Implements vhdIXMLPropertyLoaderHandler.
void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPostPropertyBuildStat | ( | vhtTime | propertyBuildTime | ) | [virtual] |
vhdXMLPropertyLoader::buildPropertyTree() guts call this method just after a building of a property has completed so you get the time in seconds with millisecond precision that it took to build the property.
propertyBuildTime |
Implements vhdIXMLPropertyLoaderHandler.
void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPropertyTreeBuildTermination | ( | vhtTime | propertyTreeBuildTime | ) | [virtual] |
vhdXMLPropertyLoader::buildPropertyTree() guts call this method just after the whole property tree is built so you get the total time it took to build the whole tree.
propertyTreeBuildTime | total time spent on building of the whole property tree |
Implements vhdIXMLPropertyLoaderHandler.
void vhdXMLPropertyLoaderProgressGui::_refresh | ( | ) | [private] |
std::string vhdXMLPropertyLoaderProgressGui::_propertyClassName [private] |