Update README.md

This commit is contained in:
Vova Shevchyk
2019-07-09 14:19:37 +03:00
committed by GitHub
parent 627868038c
commit db421b2f38
+1
View File
@@ -49,6 +49,7 @@ lInfo->setId(2);
lInfo->setBackGroundImage(":/resources/some_structure.png");
lInfo->setShowBackgroundImage(true);
lInfo->setShowMarkers(false);
mBoard->createNewObject(lInfo);
```
Creating object with specific parameters could be useful when restoring dashboard from project file.