#ifndef QT_GRAPH_VIEW_STYLE_IMPL_H #define QT_GRAPH_VIEW_STYLE_IMPL_H #include "GraphViewStyleImpl.h" class QFont; class QtGraphViewStyleImpl : public GraphViewStyleImpl { public: virtual ~QtGraphViewStyleImpl() = default; float getCharWidth(const std::string& fontName, size_t fontSize) override; float getCharHeight(const std::string& fontName, size_t fontSize) override; float getGraphViewZoomDifferenceForPlatform() override; private: QFont getFontForStyleType(const std::string& fontName, size_t fontSize) const; }; #endif // QT_GRAPH_VIEW_STYLE_IMPL_H