AboutGelSignal Class Reference

#include <about-gelsignal.h>

List of all members.

Public Member Functions

 AboutGelSignal (QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
 ~AboutGelSignal ()

Public Attributes

QLabel * textLabel1
QLabel * textLabel1_3
QLabel * versionlabel
QLabel * textLabel1_2
QPushButton * pushButton1
QFrame * line1
QLabel * pixmapLabel1

Protected Slots

virtual void languageChange ()

Protected Attributes

QGridLayout * Form2Layout
QSpacerItem * spacer1

Private Attributes

QPixmap image0


Detailed Description

Definition at line 25 of file about-gelsignal.h.


Constructor & Destructor Documentation

AboutGelSignal::AboutGelSignal QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0
 

Definition at line 5576 of file about-gelsignal.cpp.

References Form2Layout, image0, languageChange(), line1, pixmapLabel1, pushButton1, spacer1, textLabel1, textLabel1_2, textLabel1_3, and versionlabel.

05577     : QDialog( parent, name, modal, fl ),
05578       image0( (const char **) image0_data )
05579 {
05580     if ( !name )
05581         setName( "Form2" );
05582     QPalette pal;
05583     QColorGroup cg;
05584     cg.setColor( QColorGroup::Foreground, black );
05585     cg.setColor( QColorGroup::Button, QColor( 246, 246, 246) );
05586     cg.setColor( QColorGroup::Light, white );
05587     cg.setColor( QColorGroup::Midlight, QColor( 250, 250, 250) );
05588     cg.setColor( QColorGroup::Dark, QColor( 123, 123, 123) );
05589     cg.setColor( QColorGroup::Mid, QColor( 164, 164, 164) );
05590     cg.setColor( QColorGroup::Text, black );
05591     cg.setColor( QColorGroup::BrightText, white );
05592     cg.setColor( QColorGroup::ButtonText, black );
05593     cg.setColor( QColorGroup::Base, white );
05594     cg.setColor( QColorGroup::Background, white );
05595     cg.setColor( QColorGroup::Shadow, black );
05596     cg.setColor( QColorGroup::Highlight, QColor( 0, 0, 128) );
05597     cg.setColor( QColorGroup::HighlightedText, white );
05598     cg.setColor( QColorGroup::Link, black );
05599     cg.setColor( QColorGroup::LinkVisited, black );
05600     pal.setActive( cg );
05601     cg.setColor( QColorGroup::Foreground, black );
05602     cg.setColor( QColorGroup::Button, QColor( 246, 246, 246) );
05603     cg.setColor( QColorGroup::Light, white );
05604     cg.setColor( QColorGroup::Midlight, white );
05605     cg.setColor( QColorGroup::Dark, QColor( 123, 123, 123) );
05606     cg.setColor( QColorGroup::Mid, QColor( 164, 164, 164) );
05607     cg.setColor( QColorGroup::Text, black );
05608     cg.setColor( QColorGroup::BrightText, white );
05609     cg.setColor( QColorGroup::ButtonText, black );
05610     cg.setColor( QColorGroup::Base, white );
05611     cg.setColor( QColorGroup::Background, white );
05612     cg.setColor( QColorGroup::Shadow, black );
05613     cg.setColor( QColorGroup::Highlight, QColor( 0, 0, 128) );
05614     cg.setColor( QColorGroup::HighlightedText, white );
05615     cg.setColor( QColorGroup::Link, QColor( 0, 0, 192) );
05616     cg.setColor( QColorGroup::LinkVisited, QColor( 128, 0, 128) );
05617     pal.setInactive( cg );
05618     cg.setColor( QColorGroup::Foreground, QColor( 128, 128, 128) );
05619     cg.setColor( QColorGroup::Button, QColor( 246, 246, 246) );
05620     cg.setColor( QColorGroup::Light, white );
05621     cg.setColor( QColorGroup::Midlight, white );
05622     cg.setColor( QColorGroup::Dark, QColor( 123, 123, 123) );
05623     cg.setColor( QColorGroup::Mid, QColor( 164, 164, 164) );
05624     cg.setColor( QColorGroup::Text, QColor( 128, 128, 128) );
05625     cg.setColor( QColorGroup::BrightText, white );
05626     cg.setColor( QColorGroup::ButtonText, QColor( 128, 128, 128) );
05627     cg.setColor( QColorGroup::Base, white );
05628     cg.setColor( QColorGroup::Background, white );
05629     cg.setColor( QColorGroup::Shadow, black );
05630     cg.setColor( QColorGroup::Highlight, QColor( 0, 0, 128) );
05631     cg.setColor( QColorGroup::HighlightedText, white );
05632     cg.setColor( QColorGroup::Link, QColor( 0, 0, 192) );
05633     cg.setColor( QColorGroup::LinkVisited, QColor( 128, 0, 128) );
05634     pal.setDisabled( cg );
05635     setPalette( pal );
05636     Form2Layout = new QGridLayout( this, 1, 1, 11, 6, "Form2Layout"); 
05637 
05638     textLabel1 = new QLabel( this, "textLabel1" );
05639     QFont textLabel1_font(  textLabel1->font() );
05640     textLabel1_font.setPointSize( 20 );
05641     textLabel1_font.setBold( TRUE );
05642     textLabel1->setFont( textLabel1_font ); 
05643 
05644     Form2Layout->addMultiCellWidget( textLabel1, 0, 0, 1, 2 );
05645 
05646     textLabel1_3 = new QLabel( this, "textLabel1_3" );
05647     QFont textLabel1_3_font(  textLabel1_3->font() );
05648     textLabel1_3_font.setPointSize( 16 );
05649     textLabel1_3->setFont( textLabel1_3_font ); 
05650 
05651     Form2Layout->addMultiCellWidget( textLabel1_3, 2, 2, 1, 2 );
05652 
05653     versionlabel = new QLabel( this, "versionlabel" );
05654     QFont versionlabel_font(  versionlabel->font() );
05655     versionlabel_font.setPointSize( 16 );
05656     versionlabel->setFont( versionlabel_font ); 
05657 
05658     Form2Layout->addMultiCellWidget( versionlabel, 1, 1, 1, 2 );
05659     spacer1 = new QSpacerItem( 20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding );
05660     Form2Layout->addItem( spacer1, 3, 1 );
05661 
05662     textLabel1_2 = new QLabel( this, "textLabel1_2" );
05663     QFont textLabel1_2_font(  textLabel1_2->font() );
05664     textLabel1_2_font.setPointSize( 12 );
05665     textLabel1_2->setFont( textLabel1_2_font ); 
05666     textLabel1_2->setTextFormat( QLabel::RichText );
05667     textLabel1_2->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter ) );
05668 
05669     Form2Layout->addMultiCellWidget( textLabel1_2, 4, 4, 1, 2 );
05670 
05671     pushButton1 = new QPushButton( this, "pushButton1" );
05672 
05673     Form2Layout->addWidget( pushButton1, 6, 2 );
05674 
05675     line1 = new QFrame( this, "line1" );
05676     line1->setFrameShape( QFrame::HLine );
05677     line1->setFrameShadow( QFrame::Sunken );
05678     line1->setFrameShape( QFrame::HLine );
05679 
05680     Form2Layout->addMultiCellWidget( line1, 5, 5, 1, 2 );
05681 
05682     pixmapLabel1 = new QLabel( this, "pixmapLabel1" );
05683     pixmapLabel1->setPixmap( image0 );
05684     pixmapLabel1->setScaledContents( TRUE );
05685 
05686     Form2Layout->addMultiCellWidget( pixmapLabel1, 0, 6, 0, 0 );
05687     languageChange();
05688     resize( QSize(517, 422).expandedTo(minimumSizeHint()) );
05689     clearWState( WState_Polished );
05690 
05691     // signals and slots connections
05692     connect( pushButton1, SIGNAL( clicked() ), this, SLOT( accept() ) );
05693 }

AboutGelSignal::~AboutGelSignal  ) 
 

Definition at line 5698 of file about-gelsignal.cpp.

05699 {
05700     // no need to delete child widgets, Qt does it all for us
05701 }


Member Function Documentation

void AboutGelSignal::languageChange  )  [protected, virtual, slot]
 

Definition at line 5707 of file about-gelsignal.cpp.

References pushButton1, textLabel1, textLabel1_2, textLabel1_3, and versionlabel.

Referenced by AboutGelSignal().

05708 {
05709     setCaption( tr( "About" ) );
05710     textLabel1->setText( tr( "GelSignal" ) );
05711     textLabel1_3->setText( tr( "http://www.sigtrans.org/2dgels\n"
05712 "(c) Werner Van Belle 2006" ) );
05713     versionlabel->setText( tr( "textLabel2" ) );
05714     textLabel1_2->setText( tr( "The development cost of this project is partly supported by \n"
05715 "the department of virology (University of Tromso, Norway).  If you \n"
05716 "want to support this product please ask for specific \n"
05717 "support actions or offer a generous donation.<br>\n"
05718 "<br>\n"
05719 "<b>Contact: </b>werner.van.belle@gmail.com, werner@onlinux.be" ) );
05720     pushButton1->setText( tr( "Yeah, mega cool soft !" ) );
05721 }


Member Data Documentation

QGridLayout* AboutGelSignal::Form2Layout [protected]
 

Definition at line 42 of file about-gelsignal.h.

Referenced by AboutGelSignal().

QPixmap AboutGelSignal::image0 [private]
 

Definition at line 49 of file about-gelsignal.h.

Referenced by AboutGelSignal().

QFrame* AboutGelSignal::line1
 

Definition at line 38 of file about-gelsignal.h.

Referenced by AboutGelSignal().

QLabel* AboutGelSignal::pixmapLabel1
 

Definition at line 39 of file about-gelsignal.h.

Referenced by AboutGelSignal().

QPushButton* AboutGelSignal::pushButton1
 

Definition at line 37 of file about-gelsignal.h.

Referenced by AboutGelSignal(), and languageChange().

QSpacerItem* AboutGelSignal::spacer1 [protected]
 

Definition at line 43 of file about-gelsignal.h.

Referenced by AboutGelSignal().

QLabel* AboutGelSignal::textLabel1
 

Definition at line 33 of file about-gelsignal.h.

Referenced by AboutGelSignal(), and languageChange().

QLabel* AboutGelSignal::textLabel1_2
 

Definition at line 36 of file about-gelsignal.h.

Referenced by AboutGelSignal(), and languageChange().

QLabel* AboutGelSignal::textLabel1_3
 

Definition at line 34 of file about-gelsignal.h.

Referenced by AboutGelSignal(), and languageChange().

QLabel* AboutGelSignal::versionlabel
 

Definition at line 35 of file about-gelsignal.h.

Referenced by AboutGelSignal(), ApplicationWindow::doAbout(), and languageChange().


The documentation for this class was generated from the following files:
Generated on Mon Jun 5 22:08:43 2006 for iis by  doxygen 1.4.6