summaryrefslogtreecommitdiffstats
path: root/src/widget
diff options
context:
space:
mode:
authorOwen Williams <owilliams@mixxx.org>2020-12-16 18:58:46 -0500
committerOwen Williams <owilliams@mixxx.org>2020-12-16 18:58:46 -0500
commited720d1e859b5bd265595516424371e0d85f514a (patch)
tree69dbf0f632ea677000ebc80a278609e3a36da73a /src/widget
parent54fd72930c0082736202fe5bbfb767e8bb151693 (diff)
parentfa60e3dfee1ce7ccbc1c7820cdb99fa4bbef29dc (diff)
Merge branch '2.3' into column-cache-fix
Diffstat (limited to 'src/widget')
-rw-r--r--src/widget/controlwidgetconnection.cpp8
-rw-r--r--src/widget/controlwidgetconnection.h5
-rw-r--r--src/widget/effectwidgetutils.h5
-rw-r--r--src/widget/hexspinbox.cpp2
-rw-r--r--src/widget/hexspinbox.h5
-rw-r--r--src/widget/knobeventhandler.h5
-rw-r--r--src/widget/paintable.cpp1
-rw-r--r--src/widget/paintable.h6
-rw-r--r--src/widget/slidereventhandler.h5
-rw-r--r--src/widget/trackdroptarget.h6
-rw-r--r--src/widget/wanalysislibrarytableview.h5
-rw-r--r--src/widget/wbasewidget.h5
-rw-r--r--src/widget/wbattery.cpp4
-rw-r--r--src/widget/wbattery.h5
-rw-r--r--src/widget/wbeatspinbox.cpp5
-rw-r--r--src/widget/wbeatspinbox.h7
-rw-r--r--src/widget/wcolorpicker.cpp3
-rw-r--r--src/widget/wcolorpickeraction.cpp2
-rw-r--r--src/widget/wcombobox.cpp6
-rw-r--r--src/widget/wcombobox.h5
-rw-r--r--src/widget/wcoverart.cpp1
-rw-r--r--src/widget/wcoverart.h5
-rw-r--r--src/widget/wcoverartlabel.cpp1
-rw-r--r--src/widget/wcoverartmenu.cpp4
-rw-r--r--src/widget/wcoverartmenu.h5
-rw-r--r--src/widget/wcuemenupopup.cpp1
-rw-r--r--src/widget/wdisplay.cpp24
-rw-r--r--src/widget/wdisplay.h22
-rw-r--r--src/widget/weffect.cpp5
-rw-r--r--src/widget/weffect.h6
-rw-r--r--src/widget/weffectbuttonparameter.cpp4
-rw-r--r--src/widget/weffectbuttonparameter.h6
-rw-r--r--src/widget/weffectchain.cpp4
-rw-r--r--src/widget/weffectchain.h5
-rw-r--r--src/widget/weffectparameter.cpp4
-rw-r--r--src/widget/weffectparameter.h6
-rw-r--r--src/widget/weffectparameterbase.cpp4
-rw-r--r--src/widget/weffectparameterbase.h5
-rw-r--r--src/widget/weffectparameterknob.cpp4
-rw-r--r--src/widget/weffectparameterknob.h5
-rw-r--r--src/widget/weffectparameterknobcomposed.cpp4
-rw-r--r--src/widget/weffectparameterknobcomposed.h5
-rw-r--r--src/widget/weffectpushbutton.cpp5
-rw-r--r--src/widget/weffectpushbutton.h5
-rw-r--r--src/widget/weffectselector.cpp5
-rw-r--r--src/widget/weffectselector.h6
-rw-r--r--src/widget/whotcuebutton.cpp7
-rw-r--r--src/widget/wimagestore.cpp4
-rw-r--r--src/widget/wimagestore.h1
-rw-r--r--src/widget/wkey.cpp2
-rw-r--r--src/widget/wkey.h5
-rw-r--r--src/widget/wknob.cpp21
-rw-r--r--src/widget/wknob.h5
-rw-r--r--src/widget/wknobcomposed.cpp6
-rw-r--r--src/widget/wknobcomposed.h5
-rw-r--r--src/widget/wlabel.cpp18
-rw-r--r--src/widget/wlabel.h22
-rw-r--r--src/widget/wlibrary.cpp11
-rw-r--r--src/widget/wlibrarysidebar.cpp5
-rw-r--r--src/widget/wlibrarysidebar.h5
-rw-r--r--src/widget/wlibrarytableview.cpp1
-rw-r--r--src/widget/wlibrarytableview.h16
-rw-r--r--src/widget/wlibrarytextbrowser.cpp5
-rw-r--r--src/widget/wlibrarytextbrowser.h8
-rw-r--r--src/widget/wmainmenubar.cpp57
-rw-r--r--src/widget/wmainmenubar.h5
-rw-r--r--src/widget/wnumber.cpp19
-rw-r--r--src/widget/wnumber.h22
-rw-r--r--src/widget/wnumberdb.cpp4
-rw-r--r--src/widget/wnumberdb.h6
-rw-r--r--src/widget/wnumberpos.cpp6
-rw-r--r--src/widget/wnumberpos.h7
-rw-r--r--src/widget/wnumberrate.cpp28
-rw-r--r--src/widget/wnumberrate.h5
-rw-r--r--src/widget/woverview.cpp1
-rw-r--r--src/widget/woverview.h5
-rw-r--r--src/widget/woverviewhsv.h5
-rw-r--r--src/widget/woverviewlmh.h5
-rw-r--r--src/widget/woverviewrgb.h5
-rw-r--r--src/widget/wpixmapstore.h22
-rw-r--r--src/widget/wpushbutton.cpp30
-rw-r--r--src/widget/wpushbutton.h22
-rw-r--r--src/widget/wrecordingduration.cpp2
-rw-r--r--src/widget/wrecordingduration.h8
-rw-r--r--src/widget/wsearchlineedit.cpp10
-rw-r--r--src/widget/wsingletoncontainer.cpp4
-rw-r--r--src/widget/wsingletoncontainer.h6
-rw-r--r--src/widget/wsizeawarestack.cpp8
-rw-r--r--src/widget/wsizeawarestack.h5
-rw-r--r--src/widget/wskincolor.cpp1
-rw-r--r--src/widget/wskincolor.h23
-rw-r--r--src/widget/wslidercomposed.cpp29
-rw-r--r--src/widget/wslidercomposed.h31
-rw-r--r--src/widget/wspinny.cpp6
-rw-r--r--src/widget/wspinny.h7
-rw-r--r--src/widget/wsplitter.cpp4
-rw-r--r--src/widget/wsplitter.h5
-rw-r--r--src/widget/wstarrating.cpp1
-rw-r--r--src/widget/wstarrating.h5
-rw-r--r--src/widget/wstatuslight.cpp24
-rw-r--r--src/widget/wstatuslight.h25
-rw-r--r--src/widget/wtime.cpp8
-rw-r--r--src/widget/wtime.h8
-rw-r--r--src/widget/wtrackmenu.cpp34
-rw-r--r--src/widget/wtrackmenu.h2
-rw-r--r--src/widget/wtrackproperty.cpp3
-rw-r--r--src/widget/wtracktableview.cpp21
-rw-r--r--src/widget/wtracktableviewheader.cpp7
-rw-r--r--src/widget/wtracktableviewheader.h8
-rw-r--r--src/widget/wtracktext.cpp4
-rw-r--r--src/widget/wtrackwidgetgroup.cpp2
-rw-r--r--src/widget/wvumeter.cpp26
-rw-r--r--src/widget/wvumeter.h22
-rw-r--r--src/widget/wwaveformviewer.cpp1
-rw-r--r--src/widget/wwaveformviewer.h5
-rw-r--r--src/widget/wwidget.cpp21
-rw-r--r--src/widget/wwidget.h31
-rw-r--r--src/widget/wwidgetgroup.cpp7
-rw-r--r--src/widget/wwidgetgroup.h5
-rw-r--r--src/widget/wwidgetstack.cpp8
-rw-r--r--src/widget/wwidgetstack.h5
121 files changed, 322 insertions, 757 deletions
diff --git a/src/widget/controlwidgetconnection.cpp b/src/widget/controlwidgetconnection.cpp
index c198c45e0b..2822cb7f3d 100644
--- a/src/widget/controlwidgetconnection.cpp
+++ b/src/widget/controlwidgetconnection.cpp
@@ -1,11 +1,13 @@
-#include <QStyle>
#include "widget/controlwidgetconnection.h"
-#include "widget/wbasewidget.h"
+#include <QStyle>
+
#include "control/controlproxy.h"
+#include "moc_controlwidgetconnection.cpp"
+#include "util/assert.h"
#include "util/debug.h"
#include "util/valuetransformer.h"
-#include "util/assert.h"
+#include "widget/wbasewidget.h"
ControlWidgetConnection::ControlWidgetConnection(
WBaseWidget* pBaseWidget,
diff --git a/src/widget/controlwidgetconnection.h b/src/widget/controlwidgetconnection.h
index 36b8ef39d1..0b487dedd9 100644
--- a/src/widget/controlwidgetconnection.h
+++ b/src/widget/controlwidgetconnection.h
@@ -1,5 +1,4 @@
-#ifndef CONTROLWIDGETCONNECTION_H
-#define CONTROLWIDGETCONNECTION_H
+#pragma once
#include <QObject>
#include <QString>
@@ -140,5 +139,3 @@ class ControlWidgetPropertyConnection final : public ControlWidgetConnection {
private:
QByteArray m_propertyName;
};
-
-#endif /* CONTROLWIDGETCONNECTION_H */
diff --git a/src/widget/effectwidgetutils.h b/src/widget/effectwidgetutils.h
index f2fd08c1c7..3d2b2c75a9 100644
--- a/src/widget/effectwidgetutils.h
+++ b/src/widget/effectwidgetutils.h
@@ -1,5 +1,4 @@
-#ifndef EFFECTWIDGETUTILS_H
-#define EFFECTWIDGETUTILS_H
+#pragma once
#include <QDomNode>
@@ -121,5 +120,3 @@ class EffectWidgetUtils {
private:
EffectWidgetUtils() = default;
};
-
-#endif /* EFFECTWIDGETUTILS_H */
diff --git a/src/widget/hexspinbox.cpp b/src/widget/hexspinbox.cpp
index ab0c04d697..c58ef0fe88 100644
--- a/src/widget/hexspinbox.cpp
+++ b/src/widget/hexspinbox.cpp
@@ -1,5 +1,7 @@
#include "widget/hexspinbox.h"
+#include "moc_hexspinbox.cpp"
+
HexSpinBox::HexSpinBox(QWidget* pParent)
: QSpinBox(pParent) {
setRange(0, 255);
diff --git a/src/widget/hexspinbox.h b/src/widget/hexspinbox.h
index 6942000d3c..709bd99fa5 100644
--- a/src/widget/hexspinbox.h
+++ b/src/widget/hexspinbox.h
@@ -1,5 +1,4 @@
-#ifndef HEXSPINBOX_H
-#define HEXSPINBOX_H
+#pragma once
#include <QSpinBox>
#include <QValidator>
@@ -14,5 +13,3 @@ class HexSpinBox : public QSpinBox {
int valueFromText(const QString& text) const override;
QValidator::State validate(QString& input, int& pos) const override;
};
-
-#endif /* HEXSPINBOX_H */
diff --git a/src/widget/knobeventhandler.h b/src/widget/knobeventhandler.h
index e502336763..f06fbc26ce 100644
--- a/src/widget/knobeventhandler.h
+++ b/src/widget/knobeventhandler.h
@@ -1,5 +1,4 @@
-#ifndef KNOBEVENTHANDLER_H
-#define KNOBEVENTHANDLER_H
+#pragma once
#include <QMouseEvent>
#include <QWheelEvent>
@@ -110,5 +109,3 @@ class KnobEventHandler {
QPoint m_startPos;
QCursor m_blankCursor;
};
-
-#endif /* KNOBEVENTHANDLER_H */
diff --git a/src/widget/paintable.cpp b/src/widget/paintable.cpp
index 2b84241e91..073d7ba841 100644
--- a/src/widget/paintable.cpp
+++ b/