summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiterbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiterbase.cpp10
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
@@ -33,6 +33,7 @@ using namespace Opie;
33#include <qtabwidget.h> 33#include <qtabwidget.h>
34#endif 34#endif
35 35
36#define WELLENREITER_VERSION "V1.0.3 (unofficial)"
36 37
37/* 38/*
38 * Constructs a WellenreiterBase which is a child of 'parent', with the 39 * Constructs a WellenreiterBase which is a child of 'parent', with the
@@ -105,7 +106,14 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f
105 PixmapLabel1_3_2->setLineWidth( 2 ); 106 PixmapLabel1_3_2->setLineWidth( 2 );
106 PixmapLabel1_3_2->setMargin( 0 ); 107 PixmapLabel1_3_2->setMargin( 0 );
107 PixmapLabel1_3_2->setMidLineWidth( 0 ); 108 PixmapLabel1_3_2->setMidLineWidth( 0 );
108 PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); 109
110 QPixmap logo = Resource::loadPixmap( "wellenreiter/logo" );
111 QPainter draw( &logo );
112 draw.setPen( Qt::black );
113 draw.setFont( QFont( "Fixed", 8 ) );
114 draw.drawText( 30, 10, WELLENREITER_VERSION );
115
116 PixmapLabel1_3_2->setPixmap( logo );
109 PixmapLabel1_3_2->setScaledContents( TRUE ); 117 PixmapLabel1_3_2->setScaledContents( TRUE );
110 PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); 118 PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) );
111 119