* removed paths in include directives * changed cmake to provide necessary header search paths * changed name of version.h to productVersion.h due to name conflict
23 lines
570 B
C++
23 lines
570 B
C++
#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
|