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.
166 lines
6.2 KiB
166 lines
6.2 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './kspanelfigureinterf.ui'
|
|
**
|
|
** Created: śro mar 20 18:52:58 2002
|
|
** by: The User Interface Compiler (uic)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
****************************************************************************/
|
|
#include "kspanelfigureinterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qcheckbox.h>
|
|
#include <qcombobox.h>
|
|
#include <qframe.h>
|
|
#include <qlabel.h>
|
|
#include <qpushbutton.h>
|
|
#include <qspinbox.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
#include "kspanel.h"
|
|
#include "kstextedit.h"
|
|
|
|
/*
|
|
* Constructs a KSPanelFigureInterf which is a child of 'parent', with the
|
|
* name 'name'.'
|
|
*/
|
|
KSPanelFigureInterf::KSPanelFigureInterf( QWidget* parent, const char* name )
|
|
: KSPanel( parent, name )
|
|
{
|
|
if ( !name )
|
|
setName( "KSPanelFigureInterf" );
|
|
resize( 500, 140 );
|
|
setCaption( trUtf8( "KSPanelForm" ) );
|
|
KSPanelFigureInterfLayout = new QHBoxLayout( this, 1, 1, "KSPanelFigureInterfLayout");
|
|
|
|
Frame5 = new QFrame( this, "Frame5" );
|
|
Frame5->setFrameShape( QFrame::StyledPanel );
|
|
Frame5->setFrameShadow( QFrame::Raised );
|
|
Frame5Layout = new QGridLayout( Frame5, 1, 1, 10, 1, "Frame5Layout");
|
|
|
|
TextLabel2 = new QLabel( Frame5, "TextLabel2" );
|
|
TextLabel2->setMinimumSize( QSize( 0, 25 ) );
|
|
QFont TextLabel2_font( TextLabel2->font() );
|
|
TextLabel2_font.setBold( TRUE );
|
|
TextLabel2_font.setUnderline( TRUE );
|
|
TextLabel2->setFont( TextLabel2_font );
|
|
TextLabel2->setText( trUtf8( "Title" ) );
|
|
|
|
Frame5Layout->addWidget( TextLabel2, 0, 0 );
|
|
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame5Layout->addItem( spacer, 2, 0 );
|
|
|
|
titlee = new KSTextEdit( Frame5, "titlee" );
|
|
titlee->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, titlee->sizePolicy().hasHeightForWidth() ) );
|
|
titlee->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame5Layout->addWidget( titlee, 1, 0 );
|
|
KSPanelFigureInterfLayout->addWidget( Frame5 );
|
|
|
|
Frame4 = new QFrame( this, "Frame4" );
|
|
Frame4->setFrameShape( QFrame::StyledPanel );
|
|
Frame4->setFrameShadow( QFrame::Raised );
|
|
Frame4Layout = new QGridLayout( Frame4, 1, 1, 10, 1, "Frame4Layout");
|
|
|
|
xaxisc = new QComboBox( FALSE, Frame4, "xaxisc" );
|
|
xaxisc->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 2, 0, xaxisc->sizePolicy().hasHeightForWidth() ) );
|
|
xaxisc->setInsertionPolicy( QComboBox::AtTop );
|
|
|
|
Frame4Layout->addWidget( xaxisc, 1, 1 );
|
|
|
|
zaxisc = new QComboBox( FALSE, Frame4, "zaxisc" );
|
|
zaxisc->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, zaxisc->sizePolicy().hasHeightForWidth() ) );
|
|
zaxisc->setInsertionPolicy( QComboBox::AtTop );
|
|
|
|
Frame4Layout->addWidget( zaxisc, 4, 1 );
|
|
|
|
QLabel_6 = new QLabel( Frame4, "QLabel_6" );
|
|
QLabel_6->setText( trUtf8( "Z-Axis " ) );
|
|
|
|
Frame4Layout->addWidget( QLabel_6, 4, 0 );
|
|
|
|
yaxisc = new QComboBox( FALSE, Frame4, "yaxisc" );
|
|
yaxisc->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, yaxisc->sizePolicy().hasHeightForWidth() ) );
|
|
yaxisc->setInsertionPolicy( QComboBox::AtTop );
|
|
|
|
Frame4Layout->addWidget( yaxisc, 2, 1 );
|
|
|
|
QLabel_7 = new QLabel( Frame4, "QLabel_7" );
|
|
QLabel_7->setText( trUtf8( "V-Axis " ) );
|
|
|
|
Frame4Layout->addWidget( QLabel_7, 3, 0 );
|
|
|
|
QLabel_2 = new QLabel( Frame4, "QLabel_2" );
|
|
QLabel_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, QLabel_2->sizePolicy().hasHeightForWidth() ) );
|
|
QLabel_2->setText( trUtf8( "X-Axis " ) );
|
|
|
|
Frame4Layout->addWidget( QLabel_2, 1, 0 );
|
|
|
|
vaxisc = new QComboBox( FALSE, Frame4, "vaxisc" );
|
|
vaxisc->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, vaxisc->sizePolicy().hasHeightForWidth() ) );
|
|
vaxisc->setInsertionPolicy( QComboBox::AtTop );
|
|
|
|
Frame4Layout->addWidget( vaxisc, 3, 1 );
|
|
|
|
QLabel_5 = new QLabel( Frame4, "QLabel_5" );
|
|
QLabel_5->setText( trUtf8( "Y-Axis " ) );
|
|
|
|
Frame4Layout->addWidget( QLabel_5, 2, 0 );
|
|
|
|
TextLabel1 = new QLabel( Frame4, "TextLabel1" );
|
|
TextLabel1->setMinimumSize( QSize( 0, 25 ) );
|
|
QFont TextLabel1_font( TextLabel1->font() );
|
|
TextLabel1_font.setBold( TRUE );
|
|
TextLabel1_font.setUnderline( TRUE );
|
|
TextLabel1->setFont( TextLabel1_font );
|
|
TextLabel1->setText( trUtf8( "Bind to" ) );
|
|
|
|
Frame4Layout->addMultiCellWidget( TextLabel1, 0, 0, 0, 1 );
|
|
QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame4Layout->addItem( spacer_2, 5, 1 );
|
|
KSPanelFigureInterfLayout->addWidget( Frame4 );
|
|
|
|
Frame3 = new QFrame( this, "Frame3" );
|
|
Frame3->setFrameShape( QFrame::StyledPanel );
|
|
Frame3->setFrameShadow( QFrame::Raised );
|
|
Frame3Layout = new QGridLayout( Frame3, 1, 1, 10, 1, "Frame3Layout");
|
|
|
|
accuracys = new QSpinBox( Frame3, "accuracys" );
|
|
accuracys->setMaxValue( 99 );
|
|
|
|
Frame3Layout->addWidget( accuracys, 1, 1 );
|
|
|
|
vertexl = new QLabel( Frame3, "vertexl" );
|
|
vertexl->setText( trUtf8( "VCR" ) );
|
|
|
|
Frame3Layout->addWidget( vertexl, 1, 0 );
|
|
|
|
legendc = new QCheckBox( Frame3, "legendc" );
|
|
legendc->setText( trUtf8( "Show legend item" ) );
|
|
|
|
Frame3Layout->addMultiCellWidget( legendc, 2, 2, 0, 1 );
|
|
QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame3Layout->addMultiCell( spacer_3, 3, 3, 0, 1 );
|
|
|
|
TextLabel1_2 = new QLabel( Frame3, "TextLabel1_2" );
|
|
QFont TextLabel1_2_font( TextLabel1_2->font() );
|
|
TextLabel1_2_font.setBold( TRUE );
|
|
TextLabel1_2_font.setUnderline( TRUE );
|
|
TextLabel1_2->setFont( TextLabel1_2_font );
|
|
TextLabel1_2->setText( trUtf8( "Options" ) );
|
|
|
|
Frame3Layout->addMultiCellWidget( TextLabel1_2, 0, 0, 0, 1 );
|
|
KSPanelFigureInterfLayout->addWidget( Frame3 );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSPanelFigureInterf::~KSPanelFigureInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
#include "kspanelfigureinterf.moc"
|