Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/graticule/GraticulePlugin.cpp
Show First 20 Lines • Show All 263 Lines • ▼ Show 20 Line(s) | 263 | { | |||
---|---|---|---|---|---|
264 | Q_UNUSED( layer ) | 264 | Q_UNUSED( layer ) | ||
265 | Q_UNUSED( renderPos ) | 265 | Q_UNUSED( renderPos ) | ||
266 | 266 | | |||
267 | if ( m_currentNotation != GeoDataCoordinates::defaultNotation() ) { | 267 | if ( m_currentNotation != GeoDataCoordinates::defaultNotation() ) { | ||
268 | initLineMaps( GeoDataCoordinates::defaultNotation() ); | 268 | initLineMaps( GeoDataCoordinates::defaultNotation() ); | ||
269 | } | 269 | } | ||
270 | 270 | | |||
271 | // Setting the label font for the coordinate lines. | 271 | // Setting the label font for the coordinate lines. | ||
272 | #ifdef Q_OS_MACX | 272 | #ifdef Q_OS_MACOS | ||
273 | int defaultFontSize = 10; | 273 | int defaultFontSize = 10; | ||
274 | #else | 274 | #else | ||
275 | int defaultFontSize = 8; | 275 | int defaultFontSize = 8; | ||
276 | #endif | 276 | #endif | ||
277 | 277 | | |||
278 | QFont gridFont("Sans Serif"); | 278 | QFont gridFont("Sans Serif"); | ||
279 | gridFont.setPointSize( defaultFontSize ); | 279 | gridFont.setPointSize( defaultFontSize ); | ||
280 | gridFont.setBold( true ); | 280 | gridFont.setBold( true ); | ||
▲ Show 20 Lines • Show All 513 Lines • Show Last 20 Lines |