Commit graph

28 commits

Author SHA1 Message Date
Ivailo Monev
2b2f82946a kutils: media classes copyright update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-09 04:24:09 +02:00
Ivailo Monev
6a087a072b kutils: media classes documentation review [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-09 04:21:54 +02:00
Ivailo Monev
f84a65e854 ktuils: do not include QSettings header in kmediaplayer header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-02 03:20:35 +02:00
Ivailo Monev
8dec70f6d1 kutils: fix KMediaWidget::KMediaOption overlapping
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-10 14:40:17 +02:00
Ivailo Monev
91e0870d9e kutils: mostly documentation updates
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-01 23:59:31 +00:00
Ivailo Monev
d69a9ac73b kutils: introduce KMediaWidget::resetControlsTimer()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-01 23:43:25 +00:00
Ivailo Monev
1e129fc882 kutils: fix hidden media controls bugs and declare API as stable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-01 21:59:08 +00:00
Ivailo Monev
09423d9589 ktuls: overhaul media classes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-24 20:29:43 +00:00
Ivailo Monev
6cdb77afd3 generic: various cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2018-07-17 15:35:02 +00:00
Ivailo Monev
8a50a80c4e kutils: minor media classes and documentation review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-12-19 05:56:33 +00:00
Ivailo Monev
8f1b574050 kutils: improve the position slider and hidden controls behaviour
now when the slider is being dragged the player does not continuesly seek,
it does it only when the slider is released to avoid bad noise during the
quick seeking.

also, the controls will not be hidden now while any of the controls is
being pressed by the user, it's still not perfect because once the user
releases it the controls will be hidden and then (most likely) shown again
(unless no mouse was used for the interactive, e.g. tab for selection and
then space for interaction) but that will require even more connections
to the controls so I'm leaving it as is for now.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-21 18:43:47 +00:00
Ivailo Monev
293536b688 kutils: const-fy the media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-21 17:58:44 +00:00
Ivailo Monev
e720461043 kutils: update example KMediaWidget code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-19 06:02:59 +00:00
Ivailo Monev
e73768a99a kutils: hide private members of media widget class behind KMediaWidgetPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-19 05:54:39 +00:00
Ivailo Monev
3e1adad878 kutils: remove KAudioWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-09 03:30:37 +00:00
Ivailo Monev
cb09d66b2f kutils: review media classes documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-22 21:12:03 +00:00
Ivailo Monev
17bdb396ea kutils: remove redudnant controls visibility variable
this improves on https://github.com/fluxer/kdelibs/commit/8e9028c4 because
it takes the initial state (so to say) into account (m_visible was not set
on initialization)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-12 09:48:04 +00:00
Ivailo Monev
66aa3a1ca4 kutils: provide minimum size hint for KMediaWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 16:26:12 +00:00
Ivailo Monev
8e9028c480 kutils: make emision of controls signal reliable for external use
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-29 06:32:50 +00:00
Ivailo Monev
fbf35f4caa kutils: improve media classes protocols check
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-28 23:59:21 +00:00
Ivailo Monev
483854d35a kutils: add bits to control audio output of media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 23:23:07 +00:00
Ivailo Monev
cdacdd9bc4 kutils: allow multiple options to be passed to the KMediaWidget constructor
and make use of it in KHTML

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 18:18:53 +00:00
Ivailo Monev
dd06909ffb kutils: when the parent widget is KMainWindow use setCaption() to set title
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 06:32:39 +00:00
Ivailo Monev
05dd897b78 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 03:17:36 +00:00
Ivailo Monev
73d50c52e9 kutils: for some media classes bugs
one bug was that replay was not possible after sucessfull finish, another
one was that controls remained hidden after finish because path is empty
and finally the play/pause button was not update on finish because MPV does
not emit the event on finish (noted in the API docs)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 04:43:58 +00:00
Ivailo Monev
3d92b0104f generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 03:23:43 +00:00
Ivailo Monev
a26021c35c kutils: rework some parts of the media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-23 04:16:54 +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