lh_class *LH_DataViewerConnector::classInfo() { static lh_class classInfo = { sizeof(lh_class), "Dynamic/DataViewer", "DataViewerConnector", "Data Connector", -1, -1, lh_object_calltable_NULL, lh_instance_calltable_NULL }; if( classInfo.width == -1 ) { QFont arial10("Arial",10); QFontMetrics fm( arial10 ); classInfo.height = fm.height(); classInfo.width = classInfo.height * 4; } return &classInfo; }
lh_class *LH_WeatherBrowserOpener::classInfo() { static lh_class classInfo = { sizeof(lh_class), "Weather", "WeatherBrowserOpener", "Weather Browser Opener", -1, -1, lh_object_calltable_NULL, lh_instance_calltable_NULL }; #if 0 if( classInfo.width == -1 ) { QFont arial10("Arial",10); QFontMetrics fm( arial10 ); classInfo.height = fm.height(); classInfo.width = classInfo.height * 4; } #endif return &classInfo; }