Commit graph

62 commits

Author SHA1 Message Date
Ivailo Monev
6daac470e8 kdeui: drop unused KColorValueSelector, KGradientSelector, KSelector and KXYSelector classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-16 15:43:51 +03:00
Ivailo Monev
d47d67b645 kdeui: drop unused KRuler class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-16 05:44:42 +03:00
Ivailo Monev
3d311955ab kdeui: drop KRichTextEdit and KRichTextWidget
because KTextEdit inherits QTextEdit it is rich text-capable and the
actions that KRichTextEdit and KRichTextWidget provide are not used
anywhere (the actions require explicit setup)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 21:01:01 +03:00
Ivailo Monev
e6ae50ba6a kdeui: drop KTimeZoneWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 09:37:23 +03:00
Ivailo Monev
72daced852 kdeui: replace KColorDialog with QColorDialog
same reason as KFontDialog

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-03 10:44:38 +03:00
Ivailo Monev
45674c0c4e kdeui: replace KFontDialog and KFontChooser with QFontDialog
requires the following commit from the Katie repo:
97fea30784dfdc41a6599ea31219d0b366d8efaa

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-31 19:01:45 +03:00
Ivailo Monev
bb11a3e5f4 kdeui: replace KFontComboBox with QFontComboBox
one less class to maintain with substitute provided by Katie

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-31 01:40:10 +02:00
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
c0f69bf109 kdewidgets: remove unused picture
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-11 20:38:47 +03:00
Ivailo Monev
6d9beb3591 generic: remove useless AUTHORS files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-11 20:12:17 +03:00
Ivailo Monev
fa51ecdfaf kdecore: remove unused KAboutData methods and redundant constructor arguments
the homepage and the bugs email address shall always be defined in
kglobalsettings header for official Katana applications, libraries, etc.
the option to override them is still a thing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 17:41:54 +03:00
Ivailo Monev
4de3537a82 kdeui: new KTimeEdit widget
inspired by QTimeEdit but ment for timers

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-02 13:14:24 +03:00
Ivailo Monev
b9a20d1f09 kdewidgets: remove unused map entries
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-31 21:31:38 +00:00
Ivailo Monev
91120db60d kdewidgets: update README
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-31 21:25:18 +00:00
Ivailo Monev
12df438f1a kdewidgets: remove unused kcmodule picture
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-31 21:20:04 +00:00
Ivailo Monev
8583056683 kdewidgets: link the widgets plugin to KtUiTools component
for the reference to QCustomWidget, fixes loading of the plugin

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 22:56:44 +03:00
Ivailo Monev
b7e54f8e21 kdeui: stub KSwitchLanguageDialog
to be rewritten. date, time, days, etc. translation and conversion work
like a charm tho (when translated and supported by the locale classes
ofcourse):
https://ibb.co/hcW0dL3

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-28 00:40:39 +03:00
Ivailo Monev
061a11fd43 kdeui: replace KDatePicker/KDateTable with new KCalendarWidget class
interestingly QLocale is not used for many things but that is about to
change, Katie uses it a lot internally (e.g. for QDateTime formatting
and such) so instead of bolting a calendar system on top of KLocale
perhaps a QLocale wrapped around in KLocale will fit the general idea
of using QLocale in widgets when necessary (as does QCalendarWidget).

that however means no way to specify a calendar system (in general,
other than changing the widgets locale itself) but the QDateTime and
related classes are tied to gregorian calendar already - the system
time itself carries no information about the calendar and any
conversions from one calendar to another are basically made up stuff
(there is the time zone thing ofcourse but that is not a calendar)

another interesting thing to note is that KLocale was written such that
it is read-write - changing the date formats for example is possible
because there are public KLocale methods for that.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 06:16:56 +03:00
Ivailo Monev
000c8af989 kdeui: remove unused date and time related widget classes
some of the classes date back to 2001 and 2002, still unused

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 02:48:22 +03:00
Ivailo Monev
f2f37377e3 kdecore: reimplement KTimeZone
simpler, cleaner and most importantly - thread-safe (more than the
previous implementation anyway).

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-22 03:53:20 +03:00
Ivailo Monev
3e8f4e9424 plasma: remove unused test engine and containment
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 19:19:49 +03:00
Ivailo Monev
a6ffb2dbc0 kdeui: remove unused KPixmapRegionSelectorWidget and KPixmapRegionSelectorDialog classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 07:23:23 +03:00
Ivailo Monev
ed79c859b2 generic: merge KDELibs4ToolsTargets and KDELibs4LibraryTargets
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 23:57:38 +03:00
Ivailo Monev
5613e5483c generic: remove redundant build varibles
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 20:25:52 +03:00
Ivailo Monev
36c910c653 generic: move stuff from KDE4Internal module to KDELibs4Config
large-scale changes to the build system, nothing a user sees tho - it is
all under the hood

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 19:01:40 +03:00
Ivailo Monev
7f7eb09b35 kdeui: spelling classes reimplementation
not leaking enchant dictionaries, simpler implementation and its not
spread across 2 libraries (kdecore and kdeui)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 20:45:52 +03:00
Ivailo Monev
494cf231ce kdewidgets: minor optimization and description update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-23 05:35:50 +03:00
Ivailo Monev
8e5dd5ea50 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-14 15:50:30 +02:00
Ivailo Monev
cb621f540d kdewidgets: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-28 19:59:11 +03:00
Ivailo Monev
2fd512e502 generic: install modules in subdirectory of the library directory by default
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-10 15:05:17 +03:00
Ivailo Monev
6cf96c3a87 kdeui: remove unused KAnimatedButton class and KIconLoader getters for movies
KIconLoader::loadMovie() and KIconLoader::moviePath() are attempting to
load non-standard .mng files which, as far as I am aware, no icon theme
ships. for reference:
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#context

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-28 17:56:47 +03:00
Ivailo Monev
379600e61e kdeui: remove unused classes related to plotting
ksysguard library already has a plotting class (KSignalPlotter) which
should be moved to kdeui library, plasma library also has a plotting
class (SignalPlotter) very similar to the one from ksysguard library
(KGraphicsSignalPlotter)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 08:58:07 +03:00
Ivailo Monev
8a0c8cc6c4 kdewidgets: do not use resource files for widget icons 2022-05-29 13:15:31 +03:00
Ivailo Monev
27a81e078f kdewidgets: actually support init/destroy code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-03 18:36:14 +03:00
Ivailo Monev
31ee051ff4 generic: remove some compatibility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-27 08:58:02 +02:00
Ivailo Monev
8d3ea2c1bc generic: purge Qt support with fire
this includes QtWebKit support removal since it is not going to be
maintained, fancy headers removal, CMake modules rewrite/removal
and removing conditionals from the build system. Pre-processor
definitions checks are still in place on purpose

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 13:00:55 +00:00
Ivailo Monev
a6ed9873d8 kdewidgets: effectively revert 689b24bae9 and d431c9572f
due to comma signs in some values QSettings from Qt4 implicitly converts
them to QStringList, after that the list cannot be converted to QString
because Qt4 cannot handle the conversion when the list contains more than
one element thus for compatibility the change has to be reverted

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-04 19:35:21 +00:00
Ivailo Monev
d431c9572f kdewidgets: skip Global values from the loop
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-02 13:50:38 +00:00
Ivailo Monev
689b24bae9 kdewidgets: replace KConfig with KSettings
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-01 12:19:53 +00:00
Ivailo Monev
eda7c9685f generic: remove unused KCharSelect class
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-20 00:28:21 +00:00
Ivailo Monev
4cc545f43b kdewidgets: do not error if dialogs do not have parent, it is optional
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-13 16:46:28 +00:00
Ivailo Monev
36072e6f92 generic: remove now redundant QT_KATIE guards
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-13 22:43:04 +00:00
Ivailo Monev
1e26bf4a5d generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-03 00:05:54 +00:00
Ivailo Monev
cfff1dd53a generic: get rid of KTextBrowser
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-20 16:42:02 +00:00
Ivailo Monev
69961c966f kdewidgets: KAudioWidget is no more
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-10 14:33:53 +00:00
Ivailo Monev
0f3290da9a generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-27 23:02:44 +00:00
Ivailo Monev
bc3f57f89a generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-27 22:27:17 +00:00
Ivailo Monev
1ef7518fb0 kdewidgets: add entry for KAudioWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-31 17:32:59 +00:00
Ivailo Monev
d398932909 generic: drop Phonon in favour of MPV and custom player classes
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.

the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.

the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:43:02 +00:00
Ivailo Monev
02c10edfd2 kdewidgets: fix regression since a7b93fa3
the automatically generated widgets source were not included in
the target sources because the sources list variable was overriden
but should have not been the case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-10 16:15:40 +00:00