Commit graph

10 commits

Author SHA1 Message Date
Ivailo Monev
32d4c73c53 plasma: implement option to elide text from Plasma::Label
off by default for compat

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 18:27:26 +03:00
Ivailo Monev
19bded13ce plasma: automatically elide the text from Plasma::Label when not wrapping words
this may have to be made an option tho but for now it is not because word
wrapping is an option

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 17:39:55 +03:00
Ivailo Monev
b8325fec7e plasma: drop support for setting image instead of icon for widgets
mixing the usual icons with svg icons makes things look different, does it
not?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 10:10:13 +03:00
Ivailo Monev
2ee9256d1a plasma: use the native widget text interaction flags to check if context menu should be shown by Plasma::Label
the text interaction flags can be changed behind the back of Plasma::Label
so

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-23 09:20:01 +03:00
Ivailo Monev
2ad07c5a86 plasma: remove redundant widget properties
once used in qml bindings and such, now redundant

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-19 20:24:03 +03:00
Ivailo Monev
d21869a910 plasma: remove stylesheet getters and setters
slowly but surely stylesheets feature will dissapear

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-10 04:03:03 +03:00
Ivailo Monev
52a8caa5ee plasma: drop everything related to dataengines
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-08 11:32:12 +03:00
Ivailo Monev
8f1f10be6c plasma: do not fade the end of the text from Plasma::Label
it causes undesired look in the weather applet for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-23 09:10:43 +02:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00