SlicerT UI update (#7453)

* Update SlicerT UI

* Style review

Co-authored-by: Rossmaxx <74815851+Rossmaxx@users.noreply.github.com>

* Style fixes

---------

Co-authored-by: Rossmaxx <74815851+Rossmaxx@users.noreply.github.com>
This commit is contained in:
DanielKauss
2024-09-17 08:05:01 +02:00
committed by GitHub
parent 588aab3389
commit 7d35d4225e
20 changed files with 311 additions and 105 deletions

View File

@@ -29,6 +29,7 @@
#include "ModelView.h"
#include "SerializingObject.h"
#include "PluginView.h"
class QLabel;
class QLineEdit;
@@ -67,6 +68,9 @@ public:
InstrumentTrackWindow( InstrumentTrackView * _tv );
~InstrumentTrackWindow() override;
void resizeEvent(QResizeEvent* event) override;
// parent for all internal tab-widgets
TabWidget * tabWidgetParent()
{
@@ -152,6 +156,7 @@ private:
InstrumentSoundShapingView * m_ssView;
InstrumentFunctionNoteStackingView* m_noteStackingView;
InstrumentFunctionArpeggioView* m_arpeggioView;
QWidget* m_instrumentFunctionsView; // container of note stacking and arpeggio
InstrumentMidiIOView * m_midiView;
EffectRackView * m_effectView;
InstrumentTuningView *m_tuningView;

View File

@@ -27,23 +27,26 @@
#include <QWidget>
#include "Plugin.h"
#include "ModelView.h"
#include "Plugin.h"
namespace lmms::gui
{
namespace lmms::gui {
class LMMS_EXPORT PluginView : public QWidget, public ModelView
class LMMS_EXPORT PluginView : public QWidget, public ModelView
{
public:
PluginView( Plugin * _plugin, QWidget * _parent ) :
QWidget( _parent ),
ModelView( _plugin, this )
PluginView(Plugin* _plugin, QWidget* _parent)
: QWidget(_parent)
, ModelView(_plugin, this)
{
}
} ;
void setResizable(bool resizable) { m_isResizable = resizable; }
bool isResizable() { return m_isResizable; }
private:
bool m_isResizable = false;
};
} // namespace lmms::gui