|
|
@ -55,11 +55,12 @@ AboutDialog::AboutDialog(QWidget* parent):QDialog(parent) |
|
|
|
str+="</div><br><div style='margin-left:0px;'>"; |
|
|
|
str+="</div><br><div style='margin-left:0px;'>"; |
|
|
|
str+="<b>"+tr("Thanks To")+"</b><br>"; |
|
|
|
str+="<b>"+tr("Thanks To")+"</b><br>"; |
|
|
|
str+="</div><div style='margin-left:10px;'>"; |
|
|
|
str+="</div><div style='margin-left:10px;'>"; |
|
|
|
str+="<u>Matthias Miller</u><br>"+tr("Patches for better MacOS X support")+"<br>www.outofhanwell.com<br></div>"; |
|
|
|
str+="<u>Matthias Miller</u><br>"+tr("Patches for better MacOS X support")+"<br>www.outofhanwell.com<br>"; |
|
|
|
str+="<br>"; |
|
|
|
str+="<br>"; |
|
|
|
str+="<u>James Nicholls</u><br>"+tr("Main Application Icon")/*+"<br>"+tr("mailto:???")*/+"<br></div>"; |
|
|
|
str+="<u>James Nicholls</u><br>"+tr("Main Application Icon")/*+"<br>"+tr("mailto:???")*/+"<br>"; |
|
|
|
str+="<br>"; |
|
|
|
str+="<br>"; |
|
|
|
str+="<u>Constantin Makshin</u><br>"+tr("Various fixes and improvements")+"<br>dinosaur-rus@users.sourceforge.net<br></div>"; |
|
|
|
str+="<u>Constantin Makshin</u><br>"+tr("Various fixes and improvements")+"<br>dinosaur-rus@users.sourceforge.net<br>"; |
|
|
|
|
|
|
|
str+="</div>"; |
|
|
|
Edit_Thanks->setHtml(str); |
|
|
|
Edit_Thanks->setHtml(str); |
|
|
|
|
|
|
|
|
|
|
|
QFile gpl(DataDir+"/license.html"); |
|
|
|
QFile gpl(DataDir+"/license.html"); |
|
|
@ -80,3 +81,8 @@ void AboutDialog::paintEvent(QPaintEvent *event){ |
|
|
|
painter.setClipRegion(event->region()); |
|
|
|
painter.setClipRegion(event->region()); |
|
|
|
painter.drawPixmap(QPoint(0,0),BannerPixmap); |
|
|
|
painter.drawPixmap(QPoint(0,0),BannerPixmap); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void AboutDialog::resizeEvent(QResizeEvent* event){ |
|
|
|
|
|
|
|
createBanner(&BannerPixmap, getPixmap("keepassx"), QString("%1 %2").arg(APP_DISPLAY_NAME, APP_VERSION), width()); |
|
|
|
|
|
|
|
QDialog::resizeEvent(event); |
|
|
|
|
|
|
|
} |
|
|
|