Commit 296d4ab5 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: InputStatsPanel: label graph

parent 014b4047
......@@ -600,6 +600,11 @@ InputStatsPanel::InputStatsPanel( QWidget *parent ): QWidget( parent )
statsView->setFrameStyle( QFrame::NoFrame );
statsView->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Fixed );
input_bitrate_graph->setSizeHint( 1, QSize(0, 100) );
QString graphlabel =
QString( "<font style=\"color:#ff8c00\">%1</font><br/>%2" )
.arg( qtr("Last 60 seconds") )
.arg( qtr("Overall") );
StatsTree->setItemWidget( input_bitrate_graph, 0, new QLabel( graphlabel ) );
StatsTree->setItemWidget( input_bitrate_graph, 1, statsView );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment