Ivailo Monev
cabf785eb5
plasma: scale the calculator applet widgets fonts to the width too
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-06 04:40:47 +03:00
Ivailo Monev
b4a526ef3a
plasma: use the paint text for calculations in calculator applet
...
now that the previous commit happened..
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-06 04:30:15 +03:00
Ivailo Monev
4ed371f5de
plasma: scale the calculator widgets fonts
...
that makes one of the applets that will not use the point size set in
configs, on purpose. it is like automatic DPI effect, real scalable fonts
but done programatically
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-06 04:14:32 +03:00
Ivailo Monev
aacbd1dbdd
plasma: limit everything that calculator applet displays
...
after testing it with significant digits rounding it turned out it displays
undesirable results tho so the feature to increment/decrement was dropped
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-06 01:54:10 +03:00
Ivailo Monev
89773cc69c
plasma: implement number increment/decrement on mouse wheel event for calculator applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-06 01:20:43 +03:00
Ivailo Monev
8c756d868f
plasma: handle key events in calculator applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-23 15:51:05 +03:00
Ivailo Monev
1cad595824
generic: drop scripting support
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:14:30 +03:00
Ivailo Monev
470df939a9
plasma: limit the numbers in calculator applet
...
otherwise the size of the applet may grow automatically
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-24 23:38:27 +03:00
Ivailo Monev
8b661c60c7
plasma: remove unused applet keys
...
see the following commit in the kdelibs repo:
9afe0d856617b16e873b95efeae1449070b7f3e9
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-24 21:58:48 +03:00
Ivailo Monev
002afc0ab2
plasma: setup calculator applet main layout contents margins
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-20 14:23:53 +03:00
Ivailo Monev
b261835f4d
plasma: disallow calculator operators for zero
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-19 22:19:06 +03:00
Ivailo Monev
57aee76feb
plasma: update calculator applet font based on KGlobalSettings::kdisplayFontChanged() signal
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-19 00:03:39 +03:00
Ivailo Monev
12b78f3d2e
plasma: disallow adding more than one decimal in calculator applet
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 23:58:04 +03:00
Ivailo Monev
50bd202229
plasma: reset calculator applet operator on equal operation
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 23:54:59 +03:00
Ivailo Monev
ac7474d362
plasma: calculator applet reimplementation
...
the old applet was in the kde-extraapps but it is so simple to and with
zero dependencies so I've decided to move it to the kde-workspace repo
while at it. the locale import will not be used (the old implementation
was using it so it is simply dropped)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 23:24:38 +03:00