Fix track operations button alignment, size, and style (#7779)
Make the track ops button consistently sized and style it and the solo & mute buttons using CSS instead of SVG assets
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "AutomatableButton.h"
|
||||
#include "ModelView.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "SerializingObject.h"
|
||||
#include "PluginView.h"
|
||||
|
||||
@@ -148,8 +148,8 @@ private:
|
||||
Knob * m_volumeKnob;
|
||||
Knob * m_panningKnob;
|
||||
Knob * m_pitchKnob;
|
||||
PixmapButton *m_muteBtn;
|
||||
PixmapButton *m_soloBtn;
|
||||
AutomatableButton* m_muteBtn;
|
||||
AutomatableButton* m_soloBtn;
|
||||
QLabel * m_pitchLabel;
|
||||
LcdSpinBox* m_pitchRangeSpinBox;
|
||||
QLabel * m_pitchRangeLabel;
|
||||
|
||||
@@ -115,8 +115,8 @@ private:
|
||||
QLineEdit* m_renameLineEdit;
|
||||
QGraphicsView* m_renameLineEditView;
|
||||
QLabel* m_sendArrow;
|
||||
PixmapButton* m_muteButton;
|
||||
PixmapButton* m_soloButton;
|
||||
AutomatableButton* m_muteButton;
|
||||
AutomatableButton* m_soloButton;
|
||||
PeakIndicator* m_peakIndicator = nullptr;
|
||||
Fader* m_fader;
|
||||
EffectRackView* m_effectRackView;
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
#include <QWidget>
|
||||
|
||||
#include "ModelView.h"
|
||||
#include "PixmapButton.h"
|
||||
#include "SampleTrack.h"
|
||||
#include "SerializingObject.h"
|
||||
#include "AutomatableButton.h"
|
||||
|
||||
class QLineEdit;
|
||||
|
||||
@@ -91,8 +91,8 @@ private:
|
||||
QLineEdit * m_nameLineEdit;
|
||||
Knob * m_volumeKnob;
|
||||
Knob * m_panningKnob;
|
||||
PixmapButton *m_muteBtn;
|
||||
PixmapButton *m_soloBtn;
|
||||
AutomatableButton* m_muteBtn;
|
||||
AutomatableButton* m_soloBtn;
|
||||
MixerChannelLcdSpinBox * m_mixerChannelNumber;
|
||||
|
||||
EffectRackView * m_effectRack;
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define LMMS_GUI_TRACK_OPERATIONS_WIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "AutomatableButton.h"
|
||||
|
||||
class QPushButton;
|
||||
|
||||
@@ -69,8 +70,8 @@ private:
|
||||
|
||||
TrackGrip* m_trackGrip;
|
||||
QPushButton * m_trackOps;
|
||||
PixmapButton * m_muteBtn;
|
||||
PixmapButton * m_soloBtn;
|
||||
AutomatableButton* m_muteBtn;
|
||||
AutomatableButton* m_soloBtn;
|
||||
|
||||
|
||||
friend class TrackView;
|
||||
|
||||
Reference in New Issue
Block a user