summaryrefslogtreecommitdiffstats
path: root/src/widget/wpushbutton.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-10Remove long copyright headersxerus2000
2020-11-10Use #pragma once everywherexerus2000
2020-03-29consolidate WPushButton eventsronso0
2020-03-20Introduce HotcueButton[light/dark] for qssDaniel Schürmann
2020-03-05Merge pull request #2460 from ronso0/pushbutton-pressed-stateDaniel Schürmann
Prevent pushbuttons with 'blocked' controls getting stuck pressed
2020-02-02use QEvent::WindowDeactivate to reset the press stateDaniel Schürmann
2020-02-02WPushButton: add text elide pt.Ironso0
2020-02-02WPushButton: override hover property to also repaint its text labelronso0
2017-03-05use scaleFactor when loading imagesDaniel Schürmann
2016-05-07Switch a lot of function arguments to const references in LegacySkinParser.RJ Ryan
2016-04-27Move all Control classes to src/control.RJ Ryan
2016-04-26Delete default destructors.RJ Ryan
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)
2014-12-09Add scalemode support to most widget images.RJ Ryan
* Remove WStatusLight SizeMode as DrawMode is more general and covers its use cases. * Only call QWidget::setFixedSize if the DrawMode is FIXED. * Use FIXED as default DrawMode for most widgets for backwards compatibility. * Switch most Paintable::draw() calls to rectangle targets instead of (x,y) points. This allows the DrawMode to do the right behavior based on the mode.
2014-11-24Fix re-styling of WPushButton on state changes.RJ Ryan
This got broken somewhere along the way with the control widget connection refactorings.
2014-11-22Eliminate massive code duplication between WPushButton and WEffectPushButton.RJ Ryan
2014-11-21Fix log spew about displayValue being a read-only Qt property.RJ Ryan
2014-09-30PixmapSource passed by valueJean Claveau
2014-09-09cleaningJean Claveau
2014-09-09first working solutionJean Claveau
2014-09-05buildable wipJean Claveau
2014-04-21Move the unpolish/polish calls outside paint, because they call paint.Owen Williams
2014-04-20Allow the use of properties to change styling of pushbuttonsOwen Williams
CSS can be used that looks like: (hash)MyButton[displayValue="0"] { }
2014-04-20Merge branch 'master' into fordemo-backport-cleanOwen Williams
Conflicts: src/widget/wpushbutton.cpp
2014-04-03Supply parameter and value to widgets when a connected control changes. For ↵RJ Ryan
WNumber (and other widgets) base updates on value. Fixes Bug #1301994.
2014-03-11Various fixes for skin styling.Owen Williams
2014-02-18Merge remote-tracking branch 'upstream/master' into wpushbutton_defaultDaniel Schürmann
Conflicts: src/widget/knobeventhandler.h src/widget/wslidercomposed.cpp
2014-02-16implement mode="" attribute for all widgets that support BackPathOwen Williams
2014-02-15Complete rewrite of WPushbutton default connection calculationsDaniel Schürmann
2014-01-27calculating default direction is now working with developer_skinsDaniel Schürmann
2014-01-27Combined To and From Widget bools to one enum. Set up a way to read the ↵Daniel Schürmann
default connection direction from WPushButton
2014-01-26calculate the default emit option from WPushButtonDaniel Schürmann
2014-01-24Use <?ClickIsPushButton> parameter to calculate the effective m_?ButtonModeDaniel Schürmann
2014-01-23Some minor WPushbutton cleanupsDaniel Schürmann
2014-01-12Show debug tooltips when developer mode is enabled.RJ Ryan
Provides useful information for skin writers in widget tooltips when in debug mode.
2014-01-10Expose widget connections directly to WBaseWidget rather than using Qt signals.RJ Ryan
This paves the way for getting rid of widget values and adding the concept of a display value vs. a left/right connected widget value. An added benefit is that ControlObjectThreadWidget is now nothing more than a parameter-space translator on top of ControlObjectThreadMain.
2014-01-08Rename WWidget::setValue to WWidget::slotConnectedValueChanged.RJ Ryan
2014-01-01Add SkinContext, a class for tracking and evaluating skin nodes within a ↵RJ Ryan
context. * Remove WWidget::select* methods. * Update all WWidget-style setup() methods to take a constant. * Migrate all non-skin uses of WWidget::select* to use XmlParse::select*.
2013-12-30Fix SVG rendering to scale with higher fidelity.RJ Ryan
* Use QSvgRenderer to scale SVG files instead of converting to QPixmap and scaling the pixmap. * Introduces Paintable class that wraps pixmaps and SVG images.
2013-12-29Add <Text> node for each WPushButton <State>. Allows push-buttons without ↵RJ Ryan
pixmaps.
2013-12-29Add QProperty to WPushButton for whether the widget is pressed.RJ Ryan
2013-12-24Refactor WPushButton to use a QVector of pixmaps.RJ Ryan
2013-12-24Get rid of manual reference counting in WPixmapStore and just use ↵RJ Ryan
QSharedPointer.
2013-12-09Rename ControlPushButtonTest to WPushButtonTest.RJ Ryan
2013-12-08Merge remote-tracking branch 'ywwg/long_press_latch' into longpresslatchingDaniel Schürmann
Conflicts: src/control/controlbehavior.cpp src/control/controlbehavior.h src/controlpushbutton.h src/widget/wpushbutton.cpp src/widget/wpushbutton.h
2013-12-08revert a remaining unrelated changeDaniel Schürmann
2013-12-08Add testing -- failsOwen Williams
2013-12-08Make latching simply the opposite of powerwindowsOwen Williams