author | mickeyl <mickeyl> | 2004-05-03 14:15:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-05-03 14:15:54 (UTC) |
commit | 1ca586e85263f06f0de2e58d174da34fee4bf937 (patch) (side-by-side diff) | |
tree | 2852372b1f8c8a143a8b8bb37d41842891c8ff73 /noncore/net/wellenreiter/gui/wellenreiterbase.cpp | |
parent | aad04cffe30ef133edcd5051ce7e486f27599d83 (diff) | |
download | opie-1ca586e85263f06f0de2e58d174da34fee4bf937.zip opie-1ca586e85263f06f0de2e58d174da34fee4bf937.tar.gz opie-1ca586e85263f06f0de2e58d174da34fee4bf937.tar.bz2 |
I hereby declare his Version 1.0.3.
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 @@ -24,24 +24,25 @@ #include "statwindow.h" #include "graphwindow.h" #ifdef QWS #include <qpe/resource.h> #include <opie2/otabwidget.h> using namespace Opie; #else #include "resource.h" #include <qtabwidget.h> #endif +#define WELLENREITER_VERSION "V1.0.3 (unofficial)" /* * Constructs a WellenreiterBase which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ using namespace Opie::Ui; using namespace Opie::Ui; using namespace Opie::Ui; WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { //ani1 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot0" ) ); @@ -96,25 +97,32 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f about = new QWidget( TabWidget, "about" ); aboutLayout = new QGridLayout( about ); aboutLayout->setSpacing( 6 ); aboutLayout->setMargin( 11 ); PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); PixmapLabel1_3_2->setLineWidth( 2 ); PixmapLabel1_3_2->setMargin( 0 ); 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 ); PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 ); TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" ); QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); TextLabel1_4_2_font.setPointSize( 10 ); TextLabel1_4_2->setFont( TextLabel1_4_2_font ); TextLabel1_4_2->setText( "<p align=center>" |