ccp4 / DUI

CCP4 DIALS User Interface
GNU General Public License v2.0
5 stars 3 forks source link

Add Diamond and CCP4 logo #77

Closed dagewa closed 3 years ago

dagewa commented 5 years ago

Also funding statement in a Help --> About menu item (requires Help to exist...)

dagewa commented 4 years ago

@luisodls and I talked about adding a splash screen, so I worked on a demo in https://github.com/ccp4/DUI/tree/splash-screen. However, DUI does quite a lot before the QApplication is set up, so the splash screen appears pretty late. I don't know if there is an easy way around this.

ndevenish commented 3 years ago

The good news is that this is like three lines, but you just need to make the QApplication early; see https://github.com/ndevenish/DUI/commit/dab6ac3b0aa28cdb8adaeede3b73766492dd20d2

    splash_img = QPixmap(image_resource_name)
    splash = QSplashScreen(splash_img)
    splash.show()

The bad news is that this will need an image....