mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 11:10:44 +00:00
More on graph legend markers
This commit is contained in:
parent
673b75d9f0
commit
9b51e2ecd3
@ -603,8 +603,8 @@ void gLineChart::paint(gGraph & w,int left, int top, int width, int height)
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
QFontMetrics fm(*defaultfont);
|
QFontMetrics fm(*defaultfont);
|
||||||
int bw=fm.xHeight();
|
int bw=fm.width('X');
|
||||||
int bh=fm.height()/1.5;
|
int bh=fm.height()/1.8;
|
||||||
|
|
||||||
if ((codepoints>0)) { //(m_codes.size()>1) &&
|
if ((codepoints>0)) { //(m_codes.size()>1) &&
|
||||||
QString text=schema::channel[code].label();
|
QString text=schema::channel[code].label();
|
||||||
|
@ -571,8 +571,8 @@ jumpnext:
|
|||||||
int x,y;
|
int x,y;
|
||||||
|
|
||||||
QFontMetrics fm(*defaultfont);
|
QFontMetrics fm(*defaultfont);
|
||||||
int bw=fm.xHeight();
|
int bw=fm.width('X');
|
||||||
int bh=fm.height()/1.5;
|
int bh=fm.height()/1.8;
|
||||||
|
|
||||||
bool ishours=false;
|
bool ishours=false;
|
||||||
int good=0;
|
int good=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user