Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/core/iconitem.h
Show First 20 Lines • Show All 196 Lines • ▼ Show 20 Line(s) | 196 | private: | |||
---|---|---|---|---|---|
197 | void loadPixmap(); | 197 | void loadPixmap(); | ||
198 | QSize paintedSize(const QSizeF &containerSize = QSizeF()) const; | 198 | QSize paintedSize(const QSizeF &containerSize = QSizeF()) const; | ||
199 | void updateImplicitSize(); | 199 | void updateImplicitSize(); | ||
200 | 200 | | |||
201 | //all the ways we can set an source. Only one of them will be valid | 201 | //all the ways we can set an source. Only one of them will be valid | ||
202 | QIcon m_icon; | 202 | QIcon m_icon; | ||
203 | Plasma::Svg *m_svgIcon; | 203 | Plasma::Svg *m_svgIcon; | ||
204 | QString m_svgIconName; | 204 | QString m_svgIconName; | ||
205 | QPixmap m_pixmapIcon; | | |||
206 | QImage m_imageIcon; | 205 | QImage m_imageIcon; | ||
207 | //this contains the raw variant it was passed | 206 | //this contains the raw variant it was passed | ||
208 | QVariant m_source; | 207 | QVariant m_source; | ||
209 | Plasma::Svg::Status m_status; | 208 | Plasma::Svg::Status m_status; | ||
210 | 209 | | |||
211 | QSizeF m_implicitSize; | | |||
212 | | ||||
213 | bool m_smooth; | 210 | bool m_smooth; | ||
214 | bool m_active; | 211 | bool m_active; | ||
215 | bool m_animated; | 212 | bool m_animated; | ||
216 | bool m_usesPlasmaTheme; | 213 | bool m_usesPlasmaTheme; | ||
217 | bool m_roundToIconSize; | 214 | bool m_roundToIconSize; | ||
218 | 215 | | |||
219 | bool m_textureChanged; | 216 | bool m_textureChanged; | ||
220 | bool m_sizeChanged; | 217 | bool m_sizeChanged; | ||
Show All 18 Lines |