/**************************************************************************** ** Form implementation generated from reading ui file './ksmpanelstringinterf.ui' ** ** Created: śro mar 20 18:52:46 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "ksmpanelstringinterf.h" #include #include #include #include #include #include #include #include #include "ksmpanel.h" /* * Constructs a KSMPanelStringInterf which is a child of 'parent', with the * name 'name'.' */ KSMPanelStringInterf::KSMPanelStringInterf( QWidget* parent, const char* name ) : KSMPanel( parent, name ) { if ( !name ) setName( "KSMPanelStringInterf" ); resize( 500, 140 ); setCaption( trUtf8( "KSMPanelForm" ) ); KSMPanelStringInterfLayout = new QHBoxLayout( this, 2, 2, "KSMPanelStringInterfLayout"); Frame3 = new QFrame( this, "Frame3" ); Frame3->setFrameShape( QFrame::StyledPanel ); Frame3->setFrameShadow( QFrame::Raised ); TextLabel3 = new QLabel( Frame3, "TextLabel3" ); TextLabel3->setGeometry( QRect( 10, 35, 90, 25 ) ); TextLabel3->setText( trUtf8( "Cols" ) ); TextLabel2 = new QLabel( Frame3, "TextLabel2" ); TextLabel2->setGeometry( QRect( 10, 10, 90, 25 ) ); TextLabel2->setText( trUtf8( "Rows" ) ); matrixRows = new QSpinBox( Frame3, "matrixRows" ); matrixRows->setGeometry( QRect( 55, 10, 85, 22 ) ); matrixRows->setMaxValue( 999999999 ); matrixCols = new QSpinBox( Frame3, "matrixCols" ); matrixCols->setGeometry( QRect( 55, 35, 85, 22 ) ); matrixCols->setMaxValue( 999999999 ); KSMPanelStringInterfLayout->addWidget( Frame3 ); Frame4 = new QFrame( this, "Frame4" ); Frame4->setFrameShape( QFrame::StyledPanel ); Frame4->setFrameShadow( QFrame::Raised ); buttonApply = new QPushButton( Frame4, "buttonApply" ); buttonApply->setGeometry( QRect( 15, 10, 94, 30 ) ); buttonApply->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, buttonApply->sizePolicy().hasHeightForWidth() ) ); buttonApply->setText( trUtf8( "Apply" ) ); buttonApply->setDefault( TRUE ); KSMPanelStringInterfLayout->addWidget( Frame4 ); } /* * Destroys the object and frees any allocated resources */ KSMPanelStringInterf::~KSMPanelStringInterf() { // no need to delete child widgets, Qt does it all for us } #include "ksmpanelstringinterf.moc"