Better headers and sorting

This commit is contained in:
Gaute Lindkvist
2020-05-05 07:55:21 +02:00
parent 27600fa57a
commit 70685b73b4
6 changed files with 33 additions and 14 deletions

View File

@@ -239,6 +239,18 @@ bool RiuQwtPlotWidget::plotTitleEnabled() const
return m_plotTitleEnabled;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RiuQwtPlotWidget::setPlotTitleFontSize( int titleFontSize )
{
auto title = this->title();
QFont font = title.font();
font.setPixelSize( RiaFontCache::pointSizeToPixelSize( titleFontSize ) );
title.setFont( font );
setTitle( title );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------