Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiterbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiterbase.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp index 9bdf3e0..a29d520 100644 --- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp @@ -35,2 +35,3 @@ using namespace Opie; +#define WELLENREITER_VERSION "V1.0.3 (unofficial)" @@ -107,3 +108,10 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f PixmapLabel1_3_2->setMidLineWidth( 0 ); - PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); + + QPixmap logo = Resource::loadPixmap( "wellenreiter/logo" ); + QPainter draw( &logo ); + draw.setPen( Qt::black ); + draw.setFont( QFont( "Fixed", 8 ) ); + draw.drawText( 30, 10, WELLENREITER_VERSION ); + + PixmapLabel1_3_2->setPixmap( logo ); PixmapLabel1_3_2->setScaledContents( TRUE ); |