summaryrefslogtreecommitdiffstats
path: root/src/widget/wcoverart.h
AgeCommit message (Collapse)Author
2020-12-02Merge branch '2.3' of github.com:mixxxdj/mixxx into cleanup-headersJan Holthuis
2020-11-19Pass non-trivial/large function args by referenceJan Holthuis
Fixes a bunch of `-Wclazy-function-args-by-ref` warnings. See https://github.com/KDE/clazy/blob/master/docs/checks/README-function-args-by-ref.md for details. Most of these changes are automated, using the clazy fixit by setting the `CLAZY_EXPORT_FIXES` before compilation and then running: $ mkdir /tmp/patch $ find ../src -iname "*.yaml" -exec mv {} /tmp/patch \; $ clang-apply-replacements /tmp/patch
2020-11-10Use #pragma once everywherexerus2000
2020-09-29replace #include "track/track.h" by "track_decl.h" in all header filesDaniel Schürmann
2020-06-20Merge remote-tracking branch 'upstream/2.3' into wtrackwidgetgroupDaniel Schürmann
2020-06-11Make QString m_group constDaniel Schürmann
2020-06-07Added a Context menu to the WTrackWidgetGroup, ane accept() the context menu ↵Daniel Schürmann
event in other widgets.
2020-02-28Prepare CoverArtCache for migration to new hash functionUwe Klotz
2020-01-26add debug tooltip to coverart widgetronso0
2019-11-10Add missing override to fix clang's -Winconsistent-missing-override warningsJan Holthuis
2019-09-23open cover art view on left click releaseronso0
2019-02-08factor out track drag and drop codeMatthew Nicholson
This code was duplicated in a number of classes, now they all call a helper funciton that implements the logic. I attempted doing this with inhertiance, but I couldn't work around QWidget being inherited multiple times. This solution works just as well for eliminating code duplication.
2019-01-31perform a deck clone when dragging a track from one deck to anotherMatthew Nicholson
Instead of just loading the track that was dragged and dropped, clone the play state, play position, pitch/rate, and key.
2018-01-25Prefer CoverInfoRelative over CoverInfoUwe Klotz
2017-03-28DlgCoverArtFullSize revampbe_
* let DlgCoverArtFullSize have a border * set DlgCoverArtFullSize window title to "Album Artist - Album (Year)" (or Album instead of Album Artist if there is no Album Artist) * let DlgCoverArtFullSize be resized either by dragging the window border or using a mouse scroll wheel * update DlgCoverArtFullSize when cover art is changed * update DlgCoverArtFullSize when track is reloaded * show WCoverArtMenu on right click of DlgCoverArtFullSize * show WCoverArtMenu on right click of WSpinny when the track does not have cover art set * update WSpinny tooltip * don't hide DlgCoverArtFullSize when moving mouse off of WCoverArtLabel
2017-03-05don't close big cover art dialog when moving mouse cursor off WCoverArtbe_
2016-08-05Use the minimal coverInfo calss in various situations, to avoid passing ↵Daniel Schürmann
usless or redundant info.
2016-07-31Deduplicate some code, use always the hash as requestReferenceDaniel Schürmann
2016-05-07Switch a lot of function arguments to const references in LegacySkinParser.RJ Ryan
2016-04-26Rename TrackInfoObject to Track.RJ Ryan
At long last! Also move trackinfoobject.h/cpp to src/track/track.h/cpp.
2016-04-25Spring cleaning: Apply clang-tidy to src/widget.RJ Ryan
Using LLVM 3.8.0: $ clang-tidy --fix --checks="*,-llvm-header-guard,-readability-implicit-bool-cast,-readability-else-after-return,-google-readability-todo" $(git ls src/widget | xargs) -- (flags to compile)
2016-03-09Reworked the player signals, fixing Bug #1551019 and some race condition ↵Daniel Schürmann
with track load failures
2016-01-24Use UserSettings (typedef) instead of ConfigObject.RJ Ryan
This will allow us to experiment with different implementations for structured user preferences. It will also reduce repeated typing of template arguments and better represent the purpose of the object.
2016-01-24Tidy up the dialog mess in src/.RJ Ryan
2014-10-31Support multiple-selection for cover art menu in WTrackTableView.RJ Ryan
* Adds CoverArtCache::guessCover(s) methods for calling CoverArtUtils::guessCoverArt in a background thread. * Removes processing of reset menu option from WCoverArtMenu and instead sends a signal that the owner of the menu should handle.
2014-10-29Remove trackId from CoverInfo.RJ Ryan
* Add a request reference integer to CoverArtCache::requestCover. Use (pRequestor, requestReference) for de-duping requests instead of trackId.
2014-10-27Allow segregation of multiple users of CoverArtCache.RJ Ryan
* Provide a QObject* requestor pointer when calling requestCover. In practice this can be any number you want it to but it is particularly useful for the requestor class to pass a pointer to itself so it can compare the signal it gets to itself. * Provide the original CoverInfo request.
2014-10-27Add coverArtUpdated signal to TrackInfoObject.RJ Ryan
Listen to the signal in WCoverArt.
2014-10-27Improve connection between WCoverArtMenu, WCoverArtLabel, WCoverArt, and ↵RJ Ryan
DlgTrackInfo. * Remove copying of changed cover art into the folder (temporarily?). * Mark all user-generated change events as USER_SELECTED. * Remove reliance on CoverInfo::trackId in a couple places.
2014-10-27Support drag and drop to/from WCoverArt.RJ Ryan
2014-10-27Rework WCoverArt <-> WTrackTableView signal flow.RJ Ryan
* Communicate selected track instead of cover art. * Support connecting a WCoverArt to the track currently loaded to a deck.
2014-10-25Remove default cover handling from CoverArtCache.RJ Ryan
Add <DefaultCover> configuration option to WCoverArt to let skin authors pick a default cover.
2014-10-25Misc. fixes.RJ Ryan
2014-10-22Remove 'widget' from method / var names.RJ Ryan
2014-10-21Some NULL-safety changes.RJ Ryan
2014-10-20DlgFullSizeCover is no longer a singletonMarcos CARDINOT
2014-10-03wcoverart - rescaling cover when the widget size changesMarcos CARDINOT
2014-10-02cosmetic fix - wcoverart - getting CoverCache instance only once.Marcos CARDINOT
2014-10-02WCoverArt - storing defaultCover pixmap as a memberMarcos CARDINOT
2014-10-02WCoverArt - removing unused memberMarcos CARDINOT
2014-09-20WCoverArt - open fullsize cover by clicking instead of hoveringMarcos CARDINOT
2014-09-15wcoverart - stores fullsize pixmap in a new member (necessary to open the ↵Marcos CARDINOT
dlgfullsize)
2014-09-14DlgCoverArtFullSize - request only cached covers + init using CoverInfoMarcos CARDINOT
2014-09-14wcoverart - opens fullsize cover when hoveringMarcos CARDINOT
2014-09-14fixing bug when wcoverart first loadsMarcos CARDINOT
- it ensures the correct initial height when the user changes the skin
2014-09-14WCoverArt - handling show/hide stuff only by view menu and keyboard shortcutMarcos CARDINOT
2014-09-12use CoverInfo in every class that uses CoversMax Linke
This makes it easy now to send additional things around by just updating the CoverInfo struct.
2014-09-12Remove unused m_pConfig member from WCoverArt.Max Linke
2014-09-11Make cover in dlgtrackinfo work with cancelMax Linke
We want that changes to the cover in dlgtrackinfo behave similar to changing other values of the track. This required me to rework how WCoverArtMenu works. WCoverArtMenu is now only a common menu that DOES NOT CHANGE the database instead the widget implementing the menu does this now when it sees fit. Another important change to make this work is that 'CoverArtCache::searchImage' can now be called from any class without the need use 'requestCover'. This is necessary to reload the cover from the ID3tags/folder without updating the DB. This is ok in this case because we only search for 1 cover and we will only block the UI thread for a fraction of a second. I also think this is ok in this special case because changing covers won't happen very often and a user will to this one track at a time anyway, while the normal cover display requires us to provides covers for several tracks simultaneously.
2014-09-07Added cachedOnly flag to LoadCoverArtSignalDaniel Schürmann