Spreadsheet: Added Python version of Spreadhseet::Sheet

This commit is contained in:
Yorik van Havre
2016-06-14 19:16:00 -03:00
parent e487633bc6
commit 8f45e13789
3 changed files with 18 additions and 0 deletions

View File

@@ -1336,3 +1336,17 @@ void PropertySpreadsheetQuantity::Paste(const Property &from)
_Unit = static_cast<const PropertySpreadsheetQuantity*>(&from)->_Unit;
hasSetValue();
}
// Python sheet feature ---------------------------------------------------------
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(Spreadsheet::SheetPython, Spreadsheet::Sheet)
template<> const char* Spreadsheet::SheetPython::getViewProviderName(void) const {
return "SpreadsheetGui::ViewProviderSheet";
}
/// @endcond
// explicit template instantiation
template class SpreadsheetExport FeaturePythonT<Spreadsheet::Sheet>;
}