Merge remote-tracking branch 'upstream/master' into FadersWithDbScale

This commit is contained in:
Michael Gregorius
2025-01-12 15:48:15 +01:00
11 changed files with 123 additions and 63 deletions

View File

@@ -34,6 +34,7 @@
class QLabel;
class QLineEdit;
class QWidget;
class QMdiSubWindow;
namespace lmms
{
@@ -134,6 +135,9 @@ private:
//! required to keep the old look when using a variable sized tab widget
void adjustTabSize(QWidget *w);
QMdiSubWindow* findSubWindowInParents();
void updateSubWindow();
InstrumentTrack * m_track;
InstrumentTrackView * m_itv;

View File

@@ -71,6 +71,10 @@ public:
int titleBarHeight() const;
int frameWidth() const;
// TODO Needed to update the title bar when replacing instruments.
// Update works automatically if QMdiSubWindows are used.
void updateTitleBar();
protected:
// hook the QWidget move/resize events to update the tracked geometry
void moveEvent( QMoveEvent * event ) override;