Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue #3009: Adapt the application to HD screen
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_Tools.h
diff --git
a/src/ModuleBase/ModuleBase_Tools.h
b/src/ModuleBase/ModuleBase_Tools.h
index d6e4c4c550ce7fb74d1510a9183f3d3e39e5ac96..2d1ad9227f50d12ab0d49e4da220256b374f5a77 100644
(file)
--- a/
src/ModuleBase/ModuleBase_Tools.h
+++ b/
src/ModuleBase/ModuleBase_Tools.h
@@
-404,6
+404,8
@@
bool MODULEBASE_EXPORT isSameShape(const TopoDS_Shape& theShape1, const TopoDS_S
std::string MODULEBASE_EXPORT generateName(const AttributePtr& theAttribute,
ModuleBase_IWorkshop* theWorkshop);
+/// Returns pixel ratio of a screen where main window is displayed
+qreal MODULEBASE_EXPORT currentPixelRatio();
}
#endif