Commit graph

11 commits

Author SHA1 Message Date
Ivailo Monev
88598523d0 kdeui: new KPixmapWidget
the idea for QImage/QPixmap-optimized widget occurred to me while
writing kimageviewer (see the kde-playground repo), unlike the widget I
wrote for kimageviewer this one supports drag-n-drop tho and is drop-in
replacement for QLabel when showing only a pixmap is required. the
widget also shows a small image while dragging ala ksnapshot

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-29 08:59:51 +03:00
Ivailo Monev
08a5c77e48 kio: compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-06 23:50:37 +02:00
Ivailo Monev
b5c5b5c85a kio: remove preview overlay icon alpha override
setting it to zero essentially disables it, an option for it will be
implemented instead

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-16 23:34:32 +02:00
Ivailo Monev
e742262399 kio: remove unused headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-28 19:48:22 +03:00
Ivailo Monev
ede7d4d831 kio: do not transition the preview image
fixes image not showing sometimes due to race-conditions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-28 19:46:14 +03:00
Ivailo Monev
05ab33ea75 kio: show disabled inode-directory image when the item is directory and preview fails
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-28 14:57:28 +03:00
Ivailo Monev
42000edda9 kio: stop painting busy indicator when the preview job result is emited
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-09 14:55:53 +03:00
Ivailo Monev
281e841358 kio: paint pixmap indicating the preview is being generated until the preview job is done
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-08 00:29:07 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03: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