mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML-UI: switch profile widget into print mode
We don't need any of the interactive features. Additionally this allows us to easily ask for slightly smaller fonts. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bcdd5645a6
commit
9df3835035
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ QMLProfile::QMLProfile(QQuickItem *parent) :
|
||||||
{
|
{
|
||||||
m_profileWidget = new ProfileWidget2(0);
|
m_profileWidget = new ProfileWidget2(0);
|
||||||
m_profileWidget->setProfileState();
|
m_profileWidget->setProfileState();
|
||||||
m_profileWidget->setToolTipVisibile(false);
|
m_profileWidget->setPrintMode(true);
|
||||||
|
m_profileWidget->setFontPrintScale(0.8);
|
||||||
//m_profileWidget->setGeometry(this->geometry());
|
//m_profileWidget->setGeometry(this->geometry());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue