/**************************************************************************** ** Form implementation generated from reading ui file './ksmpanelmatrixinterf.ui' ** ** Created: śro mar 20 18:52:44 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "ksmpanelmatrixinterf.h" #include #include #include #include #include #include #include #include #include #include "ksmpanel.h" /* * Constructs a KSMPanelMatrixInterf which is a child of 'parent', with the * name 'name'.' */ KSMPanelMatrixInterf::KSMPanelMatrixInterf( QWidget* parent, const char* name ) : KSMPanel( parent, name ) { if ( !name ) setName( "KSMPanelMatrixInterf" ); resize( 500, 140 ); setCaption( trUtf8( "KSMPanelForm" ) ); KSMPanelMatrixInterfLayout = new QHBoxLayout( this, 2, 2, "KSMPanelMatrixInterfLayout"); Frame3 = new QFrame( this, "Frame3" ); Frame3->setFrameShape( QFrame::StyledPanel ); Frame3->setFrameShadow( QFrame::Raised ); TextLabel1_2 = new QLabel( Frame3, "TextLabel1_2" ); TextLabel1_2->setGeometry( QRect( 10, 11, 65, 20 ) ); TextLabel1_2->setText( trUtf8( "Type" ) ); TextLabel1 = new QLabel( Frame3, "TextLabel1" ); TextLabel1->setGeometry( QRect( 10, 35, 65, 25 ) ); TextLabel1->setText( trUtf8( "Rows" ) ); matrixType = new QComboBox( FALSE, Frame3, "matrixType" ); matrixType->insertItem( trUtf8( "unsigned char" ) ); matrixType->insertItem( trUtf8( "unsigned short" ) ); matrixType->insertItem( trUtf8( "short" ) ); matrixType->insertItem( trUtf8( "long" ) ); matrixType->insertItem( trUtf8( "float" ) ); matrixType->insertItem( trUtf8( "double" ) ); matrixType->setGeometry( QRect( 75, 10, 125, 22 ) ); matrixRows = new QSpinBox( Frame3, "matrixRows" ); matrixRows->setGeometry( QRect( 75, 35, 70, 22 ) ); matrixRows->setMaxValue( 999999999 ); TextLabel2 = new QLabel( Frame3, "TextLabel2" ); TextLabel2->setGeometry( QRect( 10, 60, 65, 25 ) ); TextLabel2->setText( trUtf8( "Cols" ) ); matrixCols = new QSpinBox( Frame3, "matrixCols" ); matrixCols->setGeometry( QRect( 75, 60, 70, 22 ) ); matrixCols->setMaxValue( 999999999 ); KSMPanelMatrixInterfLayout->addWidget( Frame3 ); Frame4 = new QFrame( this, "Frame4" ); Frame4->setFrameShape( QFrame::StyledPanel ); Frame4->setFrameShadow( QFrame::Raised ); buttonApply = new QPushButton( Frame4, "buttonApply" ); buttonApply->setGeometry( QRect( 10, 10, 94, 27 ) ); buttonApply->setText( trUtf8( "Apply" ) ); buttonApply->setDefault( TRUE ); KSMPanelMatrixInterfLayout->addWidget( Frame4 ); } /* * Destroys the object and frees any allocated resources */ KSMPanelMatrixInterf::~KSMPanelMatrixInterf() { // no need to delete child widgets, Qt does it all for us } #include "ksmpanelmatrixinterf.moc"