Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIG_AddIndividualsDialog.cpp

00001 /****************************************************************************
00002 ** Form implementation generated from reading ui file 'SIG_AddIndividualsDialogBase.ui'
00003 **
00004 ** Created: Thu Mar 22 12:26:18 2001
00005 **      by:  The User Interface Compiler (uic)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 ****************************************************************************/
00009 #include "SIGEL_MasterGUI/SIG_AddIndividualsDialog.h"
00010 
00011 #include <qlabel.h>
00012 #include <qpushbutton.h>
00013 #include <qspinbox.h>
00014 #include <qlayout.h>
00015 #include <qvariant.h>
00016 #include <qtooltip.h>
00017 #include <qwhatsthis.h>
00018 
00019 namespace SIGEL_MasterGUI
00020 {
00021 
00022 /* 
00023  *  Constructs a SIG_AddIndividualsDialogBase which is a child of 'parent', with the 
00024  *  name 'name' and widget flags set to 'f' 
00025  *
00026  *  The dialog will by default be modeless, unless you set 'modal' to
00027  *  TRUE to construct a modal dialog.
00028  */
00029 SIG_AddIndividualsDialog::SIG_AddIndividualsDialog( QWidget* parent,  const char* name, bool modal, WFlags fl )
00030     : QDialog( parent, name, modal, fl )
00031 {
00032     if ( !name )
00033         setName( "SIG_AddIndividualsDialogBase" );
00034     resize( 222, 92 ); 
00035     setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, sizePolicy().hasHeightForWidth() ) );
00036     setCaption( tr( "Add individuals..." ) );
00037     SIG_AddIndividualsDialogBaseLayout = new QVBoxLayout( this ); 
00038     SIG_AddIndividualsDialogBaseLayout->setSpacing( 6 );
00039     SIG_AddIndividualsDialogBaseLayout->setMargin( 11 );
00040 
00041     Layout4 = new QHBoxLayout; 
00042     Layout4->setSpacing( 6 );
00043     Layout4->setMargin( 0 );
00044 
00045     textlabelNumber = new QLabel( this, "textlabelNumber" );
00046     textlabelNumber->setText( tr( "Number to add:" ) );
00047     Layout4->addWidget( textlabelNumber );
00048 
00049     spinboxNumber = new QSpinBox( this, "spinboxNumber" );
00050     spinboxNumber->setMaxValue( 999 );
00051     spinboxNumber->setMinValue( 1 );
00052     spinboxNumber->setValue( 1 );
00053     Layout4->addWidget( spinboxNumber );
00054     SIG_AddIndividualsDialogBaseLayout->addLayout( Layout4 );
00055 
00056     Layout1 = new QHBoxLayout; 
00057     Layout1->setSpacing( 6 );
00058     Layout1->setMargin( 0 );
00059     QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
00060     Layout1->addItem( spacer );
00061 
00062     pushbuttonOK = new QPushButton( this, "pushbuttonOK" );
00063     pushbuttonOK->setText( tr( "&OK" ) );
00064     pushbuttonOK->setDefault( TRUE );
00065     Layout1->addWidget( pushbuttonOK );
00066 
00067     pushbuttonCancel = new QPushButton( this, "pushbuttonCancel" );
00068     pushbuttonCancel->setText( tr( "&Cancel" ) );
00069     Layout1->addWidget( pushbuttonCancel );
00070     SIG_AddIndividualsDialogBaseLayout->addLayout( Layout1 );
00071 
00072     // signals and slots connections
00073     connect( pushbuttonOK, SIGNAL( clicked() ), this, SLOT( accept() ) );
00074     connect( pushbuttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
00075 };
00076 
00077 /*  
00078  *  Destroys the object and frees any allocated resources
00079  */
00080 SIG_AddIndividualsDialog::~SIG_AddIndividualsDialog()
00081 {
00082     // no need to delete child widgets, Qt does it all for us
00083 };
00084 
00085 }

Generated at Mon Sep 3 01:32:18 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000