You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.5 KiB
68 lines
2.5 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './ksmpanelformulainterf.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 "ksmpanelformulainterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qframe.h>
|
|
#include <qmultilineedit.h>
|
|
#include <qpushbutton.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
#include "ksmpanel.h"
|
|
|
|
/*
|
|
* Constructs a KSMPanelFormulaInterf which is a child of 'parent', with the
|
|
* name 'name'.'
|
|
*/
|
|
KSMPanelFormulaInterf::KSMPanelFormulaInterf( QWidget* parent, const char* name )
|
|
: KSMPanel( parent, name )
|
|
{
|
|
if ( !name )
|
|
setName( "KSMPanelFormulaInterf" );
|
|
resize( 500, 140 );
|
|
setCaption( trUtf8( "KSMPanelForm" ) );
|
|
KSMPanelFormulaInterfLayout = new QHBoxLayout( this, 2, 2, "KSMPanelFormulaInterfLayout");
|
|
|
|
Frame3 = new QFrame( this, "Frame3" );
|
|
Frame3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, Frame3->sizePolicy().hasHeightForWidth() ) );
|
|
Frame3->setMinimumSize( QSize( 0, 0 ) );
|
|
Frame3->setMaximumSize( QSize( 32767, 140 ) );
|
|
Frame3->setFrameShape( QFrame::StyledPanel );
|
|
Frame3->setFrameShadow( QFrame::Raised );
|
|
Frame3Layout = new QHBoxLayout( Frame3, 11, 6, "Frame3Layout");
|
|
|
|
matrixFormula = new QMultiLineEdit( Frame3, "matrixFormula" );
|
|
matrixFormula->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, matrixFormula->sizePolicy().hasHeightForWidth() ) );
|
|
matrixFormula->setWordWrap( QMultiLineEdit::WidgetWidth );
|
|
matrixFormula->setWrapPolicy( QMultiLineEdit::Anywhere );
|
|
Frame3Layout->addWidget( matrixFormula );
|
|
KSMPanelFormulaInterfLayout->addWidget( Frame3 );
|
|
|
|
Frame4 = new QFrame( this, "Frame4" );
|
|
Frame4->setFrameShape( QFrame::StyledPanel );
|
|
Frame4->setFrameShadow( QFrame::Raised );
|
|
|
|
buttonApply = new QPushButton( Frame4, "buttonApply" );
|
|
buttonApply->setGeometry( QRect( 10, 5, 80, 28 ) );
|
|
buttonApply->setText( trUtf8( "Apply" ) );
|
|
buttonApply->setDefault( TRUE );
|
|
KSMPanelFormulaInterfLayout->addWidget( Frame4 );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSMPanelFormulaInterf::~KSMPanelFormulaInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
#include "ksmpanelformulainterf.moc"
|