mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 15:25:17 +03:00
Further work in themes for the ui and some further bug fix.
This commit is contained in:
parent
540ca146b8
commit
a3a698181e
38 changed files with 849 additions and 222 deletions
|
@ -1484,3 +1484,10 @@ QString getCenterBeep(ModelData * g_model)
|
|||
if(g_model->beepANACenter & 0x80) strl << "LS";
|
||||
return strl.join(", ");
|
||||
}
|
||||
|
||||
void populate_icon(QIcon *Icon, QString usedtheme, QString baseimage) {
|
||||
Icon->addFile(":/themes/"+usedtheme+"/16/"+baseimage,QSize(16,16));
|
||||
Icon->addFile(":/themes/"+usedtheme+"/24/"+baseimage,QSize(24,24));
|
||||
Icon->addFile(":/themes/"+usedtheme+"/32/"+baseimage,QSize(32,32));
|
||||
Icon->addFile(":/themes/"+usedtheme+"/48/"+baseimage,QSize(48,48));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue