Commit graph

8 commits

Author SHA1 Message Date
Ivailo Monev
22e93f449e plasma: properly initialize internal class members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-17 19:57:40 +03:00
Ivailo Monev
f8955d1473 plasma: do not paint bars from Plasma::SignalPlotter, paint elided title instead
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-05 10:53:52 +03:00
Ivailo Monev
a0b4e27567 plasma: do not use different precision when drawing in Plasma::SignalPlotter
leads to inconsistencies

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-02 16:35:08 +03:00
Ivailo Monev
cabdebd649 plasma: remove unused Plasma::TextBrowserPrivate member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 19:07:05 +03:00
Ivailo Monev
6ed94914fe generic: get QImage and QPixmap objects width and height via the specialized methods
QImage::size() and QPixmap::size() construct QSize object from the internal
width and height members

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-30 03:45:25 +03:00
Ivailo Monev
8e79cf1d5a generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-11-03 12:19:19 +00:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00