scale palette, selection filter, and inspector with -x option
This commit is contained in:
parent
80a58a987e
commit
f01a42981b
6 changed files with 27 additions and 3 deletions
|
@ -792,6 +792,15 @@ InspectorEmpty::InspectorEmpty(QWidget* parent)
|
||||||
e.setupUi(addWidget());
|
e.setupUi(addWidget());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//---------------------------------------------------------
|
||||||
|
// sizeHint
|
||||||
|
//---------------------------------------------------------
|
||||||
|
|
||||||
|
QSize InspectorEmpty::sizeHint() const
|
||||||
|
{
|
||||||
|
return QSize(255 * guiScaling, 170 * guiScaling);
|
||||||
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
// InspectorBarLine
|
// InspectorBarLine
|
||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
|
|
|
@ -338,7 +338,7 @@ class InspectorEmpty : public InspectorBase {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
InspectorEmpty(QWidget* parent);
|
InspectorEmpty(QWidget* parent);
|
||||||
virtual QSize sizeHint() const {return QSize(255,170);}
|
virtual QSize sizeHint() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Ms
|
} // namespace Ms
|
||||||
|
|
|
@ -338,5 +338,15 @@ void PaletteBox::displayMore(const QString& s)
|
||||||
{
|
{
|
||||||
mscore->showMasterPalette(s);
|
mscore->showMasterPalette(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//---------------------------------------------------------
|
||||||
|
// sizeHint
|
||||||
|
//---------------------------------------------------------
|
||||||
|
|
||||||
|
QSize PaletteBoxScrollArea::sizeHint() const
|
||||||
|
{
|
||||||
|
return QSize(170 * guiScaling, 170 * guiScaling);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ class PaletteBoxScrollArea : public QScrollArea {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual QSize sizeHint() const {return QSize(170,170);}
|
virtual QSize sizeHint() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Ms
|
} // namespace Ms
|
||||||
|
|
|
@ -132,4 +132,9 @@ void SelectionWindow::setScore(Score* score)
|
||||||
updateFilteredElements();
|
updateFilteredElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QSize SelectionWindow::sizeHint() const
|
||||||
|
{
|
||||||
|
return QSize(170 * guiScaling, 170 * guiScaling);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ private slots:
|
||||||
public:
|
public:
|
||||||
SelectionWindow(QWidget *parent = 0, Score* score = 0);
|
SelectionWindow(QWidget *parent = 0, Score* score = 0);
|
||||||
~SelectionWindow();
|
~SelectionWindow();
|
||||||
virtual QSize sizeHint() const {return QSize(170,170);}
|
virtual QSize sizeHint() const;
|
||||||
void setScore(Score*);
|
void setScore(Score*);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue