Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/weather/WeatherItem.cpp
Show First 20 Lines • Show All 306 Lines • ▼ Show 20 Line(s) | 50 | public: | |||
---|---|---|---|---|---|
307 | LabelGraphicsItem m_conditionLabel; | 307 | LabelGraphicsItem m_conditionLabel; | ||
308 | LabelGraphicsItem m_temperatureLabel; | 308 | LabelGraphicsItem m_temperatureLabel; | ||
309 | LabelGraphicsItem m_windDirectionLabel; | 309 | LabelGraphicsItem m_windDirectionLabel; | ||
310 | LabelGraphicsItem m_windSpeedLabel; | 310 | LabelGraphicsItem m_windSpeedLabel; | ||
311 | WidgetGraphicsItem m_favoriteButton; | 311 | WidgetGraphicsItem m_favoriteButton; | ||
312 | }; | 312 | }; | ||
313 | 313 | | |||
314 | // FIXME: Fonts to be defined globally | 314 | // FIXME: Fonts to be defined globally | ||
315 | #ifdef Q_OS_MACX | 315 | #ifdef Q_OS_MACOS | ||
316 | QFont WeatherItemPrivate::s_font = QFont( QStringLiteral( "Sans Serif" ), 10 ); | 316 | QFont WeatherItemPrivate::s_font = QFont( QStringLiteral( "Sans Serif" ), 10 ); | ||
317 | #else | 317 | #else | ||
318 | QFont WeatherItemPrivate::s_font = QFont( QStringLiteral( "Sans Serif" ), 8 ); | 318 | QFont WeatherItemPrivate::s_font = QFont( QStringLiteral( "Sans Serif" ), 8 ); | ||
319 | #endif | 319 | #endif | ||
320 | 320 | | |||
321 | WeatherItem::WeatherItem(QObject *parent ) | 321 | WeatherItem::WeatherItem(QObject *parent ) | ||
322 | : AbstractDataPluginItem( parent ), | 322 | : AbstractDataPluginItem( parent ), | ||
323 | d( new WeatherItemPrivate( this ) ) | 323 | d( new WeatherItemPrivate( this ) ) | ||
▲ Show 20 Lines • Show All 257 Lines • Show Last 20 Lines |