mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Add overview button to welcome page
This commit is contained in:
parent
887273849f
commit
73b87f870e
@ -53,5 +53,6 @@
|
||||
<file>icons/prs1_960.png</file>
|
||||
<file>icons/daily.png</file>
|
||||
<file>icons/dv64.png</file>
|
||||
<file>icons/overview-page.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 32 KiB |
BIN
sleepyhead/icons/overview-page.png
Normal file
BIN
sleepyhead/icons/overview-page.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 63 KiB |
@ -98,7 +98,7 @@ QString GenerateWelcomeHTML()
|
||||
"<table cellpadding=4 border=0>";
|
||||
|
||||
int cols=2;
|
||||
if (havecpapdata || haveoximeterdata) cols=5;
|
||||
if (havecpapdata || haveoximeterdata) cols=6;
|
||||
|
||||
|
||||
html+=QString("<tr><td colspan=%1 align=center>").arg(cols)+
|
||||
@ -126,7 +126,13 @@ QString GenerateWelcomeHTML()
|
||||
" <table class=curved cellpadding=4>"
|
||||
" <tr><td align=center onmouseover='ChangeColor(this, \"#eeeeee\");' onmouseout='ChangeColor(this, \"#ffffff\");' onclick='alert(\"daily=1\");'><font size=+1><img src='qrc:/icons/daily.png' width=128px><br/>" + QObject::tr("View<br/>Daily")+"</font></td></tr>"
|
||||
" </table>"
|
||||
"</td>"
|
||||
"<td align=center>"
|
||||
" <table class=curved cellpadding=4>"
|
||||
" <tr><td align=center onmouseover='ChangeColor(this, \"#eeeeee\");' onmouseout='ChangeColor(this, \"#ffffff\");' onclick='alert(\"overview=1\");'><font size=+1><img src='qrc:/icons/overview-page.png' width=128px><br/>" + QObject::tr("View<br/>Overview")+"</font></td></tr>"
|
||||
" </table>"
|
||||
"</td>";
|
||||
|
||||
}
|
||||
html += "</tr></table>";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user