Commit Graph

375 Commits

Author SHA1 Message Date
John Maguire 55af2b1d3b Add image fetching from wikipedia
#5416
2016-06-28 15:34:14 +01:00
John Maguire a80e241bbe Make image requests follow redirects 2016-02-17 15:55:32 +00:00
John Maguire 20bfade965 Hide Application classes behind pimpl.
This should also fix the build on windows where gcc gets confused as
libmygpo declares DELETE as part of an enum and mingw #defines DELETE in
winnt.h
2016-02-15 17:39:50 +00:00
John Maguire 86a6345995 Merge pull request #5251 from santigl/gainLabel
EqualizerSlider: move include from .h to .cpp
2016-02-11 18:03:18 +00:00
Santi 1fa4201926 EqualizerSlider move include from .h to .cpp 2016-02-11 14:59:39 -03:00
John Maguire ea12cfacac Merge pull request #5209 from narunlifescience/patch-1
move duplicated code to annonymous namespace static function
2016-02-11 11:58:06 +00:00
Arun Narayanankutty b4fe7ac7e2 move duplicated code to annonymous namespace static function
update
2016-02-11 05:45:08 -06:00
John Maguire 0ea84e129e Merge pull request #5210 from narunlifescience/patch-2
Use icon loader for remaining icons
2016-02-11 11:24:09 +00:00
narunlifescience b6bf54be6c remove magic numbers 2016-02-11 04:41:37 -06:00
John Maguire 100222477c Merge pull request #5218 from santigl/gainLabel
Add gain label to EqualizerSlider
2016-02-10 15:46:47 +00:00
Santi ec89bd3ea2 Add gain label to equalizerSlider 2016-02-10 12:44:33 -03:00
John Maguire 05c0d647f8 Merge pull request #5219 from narunlifescience/patch-5
use normal text color for volume
2016-02-09 13:56:15 +00:00
Arun Narayanankutty dd1dcb0b6b use normal text color for volume 2016-01-20 19:51:34 -06:00
Ivan Leontiev e5be225a39 Collapse current "AutoExpandingTreeView" branch if you press "Left" key under its root 2016-01-15 07:55:56 +03:00
Ivan Leontiev 780a34c0bc Make "AutoExpandingTreeView" animated by default
This adds dropdown animation to views which are derived
from "AutoExpandingTreeView" (internet, library, global search etc.)
2016-01-15 07:55:46 +03:00
Ivan Leontiev b85d09cd9c Fix misbehavior when you double click after a single click on a tree item
This issue appeared as a side effect since the commit
bcaa9e4a37, which adds dropdown
animation to the library/internet view.

Reproduce:
Single/double click on a song item in library/internet view
then all double clicks on this item will be ignored, until you
single click on it once again.

The reason of this behavior in that the "setExpanded" method call from the
"ItemClicked" slot makes the invocation of the "mouseDoubleClickEvent"
method in the context where the view is in the "QAbstractTreeView::AnimatingState"
which makes impossible to emit "doubleClicked" signal, because it just
returns immediatelly (see http://code.qt.io/cgit/qt/qt.git/tree/src/gui/itemviews/qtreeview.cpp#n1849).

To get rid of this behavior we emit "doubleClicked" signal ourselves.
2016-01-15 07:55:19 +03:00
Arun Narayanankutty 29b8d308b3 Use icon loader for remaining icons 2016-01-14 06:10:54 -06:00
Santiago Gil 3ed298a73d Enable Enter key shortcut in file view 2016-01-04 18:17:58 -03:00
Eduard Braun f68e4c8c87 Improve the star icon of `favoritewidget`
* Use the star icon in its native size (16 px × 16 px) instead of unnecessarily scaling it down by 1 px
* Center the star icon vertically
2015-12-21 22:25:32 +01:00
narunlifescience 2603cf2088 use iconloader & cleanup previous remnants
update
2015-12-01 00:32:20 -06:00
John Maguire 2cd15ff430 Add NewClosure overload for QFuture 2015-11-26 18:35:17 +00:00
narunlifescience f03d5356c3 Make a slight modification to library view line & preferences header line 2015-11-24 11:48:16 -06:00
narunlifescience e1657ab2e8 Mouse wheel track slider Seeking
event accept

make format
2015-11-09 08:14:38 -06:00
narunlifescience 2b5ad90ea8 fix rating half star issue 2015-10-26 06:21:04 -06:00
narunlifescience dd953fd86c check custom icon location, then system theme & then fallback theme
icons added & replaced
2015-10-13 22:35:49 -05:00
John Maguire 3aac164f1e Reverse volume slider direction with horizontal scroll.
Fixes #5064
2015-10-08 13:31:29 +01:00
narunlifescience eaf79c3397 rename similar functions 2015-09-21 14:07:43 -05:00
narunlifescience c2e11bed30 move functions to private section & rename a function 2015-09-21 13:25:31 -05:00
narunlifescience 90c09d1d0a code optimized & added paintevent entry for theme change
Update sliderwidget.cpp
2015-09-19 00:28:59 -05:00
narunlifescience 85d4340bfe Merge remote-tracking branch 'upstream/master' 2015-09-18 14:57:32 -05:00
narunlifescience 4d75fc086b volume slider handle glow effect using system theme
clean up
2015-09-17 16:19:57 -05:00
John Maguire 8757cb36c6 Merge pull request #5035 from narunlifescience/master
Volume pixmap render on the fly using system theme
2015-09-16 12:18:56 +01:00
narunlifescience 785a7ee717 changed variable name & comments added 2015-09-16 06:10:13 -05:00
narunlifescience af8cccc1cd theme change check inside paint event 2015-09-15 16:43:52 -05:00
narunlifescience e269f7ae40 const & format 2015-09-14 07:38:07 -05:00
narunlifescience aaec092454 Volume Pixmap render
volume pixmap
2015-09-14 06:50:46 -05:00
John Maguire f657f438ff Merge pull request #5030 from narunlifescience/master
volume text color palette
2015-09-10 18:22:43 +01:00
Arun Narayanankutty 9d3e3eb33a Update sliderwidget.cpp 2015-09-10 12:14:32 -05:00
Arun Narayanankutty e2063fe78b volume text color palette
This modification makes the volume percentage text color match general text color.
2015-09-10 11:11:43 -05:00
Ivan Leontiev e85424cdd7 Fix time labels blinking when playing streams without known duration 2015-08-10 12:01:42 +00:00
Mark Furneaux 3265abfdfc Bask in his glory on multiple monitors 2015-08-02 13:52:21 -04:00
Ivan Leontiev fe555c4892 Don't update track slider position when you hold it. 2015-07-30 14:22:40 +00:00
Mark Furneaux faa3b8b022 Fix Pretty OSD positioning on Windows
Fixes #1218
Windows uses the primary monitor as the origin for coordinates, so any monitor to the left or above the primary uses negative coordinates.
This would cause the OSD to always be displayed on the primary as the negative values would be set to 0.
2015-07-04 14:24:12 -04:00
Eduardo Sánchez Muñoz 11b61c2a67 Use Player::SeekForward() and Player::SeekBackward() to handle seeking with arrow keys. 2015-07-02 14:59:30 +02:00
Eduardo Sánchez Muñoz 758444de5f Make seeking with keys behaviour consistent. 2015-07-02 13:54:11 +02:00
Mark Furneaux f4b7c22bc2 Revert "Revert "Add track intro mode""
This reverts commit ece262f7f4.
2015-06-15 16:27:40 -04:00
John Maguire ece262f7f4 Revert "Add track intro mode" 2015-06-15 15:49:08 -04:00
Mark Furneaux b57cebbf2d Add track intro mode
This repeat mode plays the beginning of each track, good for quickly getting a feel for a new album for example.
2015-06-14 13:32:58 -04:00
Martin Babutzka 0b16dad50f - Fixed decoding of non-ASCII lyric texts
- Lyrics can now be viewed/edited in the metadata-editor

Squashed commit of the following:

commit 0851f619c27348e3ceeaf31a8edc3a567ccee99c
Author: Martin Babutzka <martin.babutzka@online.de>
Date:   Wed Jun 10 21:21:50 2015 +0200

    'make format' and brackets in a condition clause.

commit bab7a1d07af3bc53034e3883d352ae6d4dd33e2a
Author: Martin Babutzka <martin.babutzka@online.de>
Date:   Sun Jun 7 01:51:31 2015 +0200

    Added capability to SAVE lyrics frames to mp3 files in tagreader.
    Improved scaling properties of edittags dialog.

commit 4bd71a2d6a4479a664bf8b5b3ead05c23c86e15d
Author: Martin Babutzka <martin.babutzka@online.de>
Date:   Sat Jun 6 23:33:22 2015 +0200

    Updated lyrics tag buddy to lyrics

commit 2ceb8967f67e76a0f78b25a7a128c4429a93bcd9
Author: Martin Babutzka <martin.babutzka@online.de>
Date:   Sun May 17 18:52:33 2015 +0200

    Add lyrics field to tag editor

commit 04b65e33a83e449055659a72a283954311a12fb7
Author: Martin Babutzka <martin.babutzka@online.de>
Date:   Fri May 8 23:24:02 2015 +0200

    Using decode method to fix non-ASCII letters.
2015-06-10 21:23:40 +02:00
Mark Furneaux c6ec4014a3 Fix contex menu for the NowPlayingWidget in Windows
Introduced in #4416, clicking the cover will show the large art. In Windows, it seems that the click event is also associated with the right mouse button, so it comes up when you bring up the context menu.
2015-06-05 13:17:04 -04:00