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.
228 lines
9.6 KiB
228 lines
9.6 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './kspanelaxisinterf.ui'
|
|
**
|
|
** Created: śro mar 20 18:52:47 2002
|
|
** by: The User Interface Compiler (uic)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
****************************************************************************/
|
|
#include "kspanelaxisinterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qcheckbox.h>
|
|
#include <qcombobox.h>
|
|
#include <qframe.h>
|
|
#include <qlabel.h>
|
|
#include <qlineedit.h>
|
|
#include <qpushbutton.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
#include "ksattrbtn.h"
|
|
#include "kspanel.h"
|
|
#include "kstextedit.h"
|
|
|
|
/*
|
|
* Constructs a KSPanelAxisInterf which is a child of 'parent', with the
|
|
* name 'name'.'
|
|
*/
|
|
KSPanelAxisInterf::KSPanelAxisInterf( QWidget* parent, const char* name )
|
|
: KSPanel( parent, name )
|
|
{
|
|
if ( !name )
|
|
setName( "KSPanelAxisInterf" );
|
|
resize( 537, 193 );
|
|
setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
|
|
setCaption( trUtf8( "KSPanelForm" ) );
|
|
KSPanelAxisInterfLayout = new QHBoxLayout( this, 1, 1, "KSPanelAxisInterfLayout");
|
|
|
|
Frame5 = new QFrame( this, "Frame5" );
|
|
Frame5->setFrameShape( QFrame::StyledPanel );
|
|
Frame5->setFrameShadow( QFrame::Raised );
|
|
Frame5Layout = new QGridLayout( Frame5, 1, 1, 10, 1, "Frame5Layout");
|
|
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame5Layout->addItem( spacer, 5, 1 );
|
|
|
|
QLabel_6 = new QLabel( Frame5, "QLabel_6" );
|
|
QFont QLabel_6_font( QLabel_6->font() );
|
|
QLabel_6_font.setBold( TRUE );
|
|
QLabel_6_font.setUnderline( TRUE );
|
|
QLabel_6->setFont( QLabel_6_font );
|
|
QLabel_6->setText( trUtf8( "Title" ) );
|
|
|
|
Frame5Layout->addMultiCellWidget( QLabel_6, 0, 0, 0, 1 );
|
|
|
|
titlePosPerp = new QLineEdit( Frame5, "titlePosPerp" );
|
|
titlePosPerp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)2, (QSizePolicy::SizeType)0, 0, 0, titlePosPerp->sizePolicy().hasHeightForWidth() ) );
|
|
titlePosPerp->setMaximumSize( QSize( 100, 32767 ) );
|
|
|
|
Frame5Layout->addWidget( titlePosPerp, 3, 1 );
|
|
|
|
TextLabel1 = new QLabel( Frame5, "TextLabel1" );
|
|
TextLabel1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, TextLabel1->sizePolicy().hasHeightForWidth() ) );
|
|
TextLabel1->setText( trUtf8( "Title pos." ) );
|
|
|
|
Frame5Layout->addWidget( TextLabel1, 4, 0 );
|
|
|
|
TextLabel2 = new QLabel( Frame5, "TextLabel2" );
|
|
TextLabel2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, TextLabel2->sizePolicy().hasHeightForWidth() ) );
|
|
TextLabel2->setText( trUtf8( "Title dist." ) );
|
|
|
|
Frame5Layout->addWidget( TextLabel2, 3, 0 );
|
|
|
|
titlePosPara = new QLineEdit( Frame5, "titlePosPara" );
|
|
titlePosPara->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)2, (QSizePolicy::SizeType)0, 0, 0, titlePosPara->sizePolicy().hasHeightForWidth() ) );
|
|
titlePosPara->setMaximumSize( QSize( 100, 32767 ) );
|
|
|
|
Frame5Layout->addWidget( titlePosPara, 4, 1 );
|
|
|
|
titleFont = new KSFontBtn( Frame5, "titleFont" );
|
|
titleFont->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame5Layout->addMultiCellWidget( titleFont, 2, 2, 0, 1 );
|
|
|
|
labele = new KSTextEdit( Frame5, "labele" );
|
|
labele->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, labele->sizePolicy().hasHeightForWidth() ) );
|
|
labele->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame5Layout->addMultiCellWidget( labele, 1, 1, 0, 1 );
|
|
KSPanelAxisInterfLayout->addWidget( Frame5 );
|
|
|
|
Frame6 = new QFrame( this, "Frame6" );
|
|
Frame6->setFrameShape( QFrame::StyledPanel );
|
|
Frame6->setFrameShadow( QFrame::Raised );
|
|
Frame6Layout = new QGridLayout( Frame6, 1, 1, 10, 1, "Frame6Layout");
|
|
|
|
TextLabel2_2 = new QLabel( Frame6, "TextLabel2_2" );
|
|
QFont TextLabel2_2_font( TextLabel2_2->font() );
|
|
TextLabel2_2_font.setBold( TRUE );
|
|
TextLabel2_2_font.setUnderline( TRUE );
|
|
TextLabel2_2->setFont( TextLabel2_2_font );
|
|
TextLabel2_2->setText( trUtf8( "Range" ) );
|
|
|
|
Frame6Layout->addMultiCellWidget( TextLabel2_2, 0, 0, 0, 2 );
|
|
QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame6Layout->addMultiCell( spacer_2, 5, 5, 1, 2 );
|
|
|
|
QLabel_2 = new QLabel( Frame6, "QLabel_2" );
|
|
QLabel_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, QLabel_2->sizePolicy().hasHeightForWidth() ) );
|
|
QLabel_2->setMinimumSize( QSize( 40, 0 ) );
|
|
QLabel_2->setText( trUtf8( "Max" ) );
|
|
|
|
Frame6Layout->addWidget( QLabel_2, 1, 0 );
|
|
|
|
QLabel_1 = new QLabel( Frame6, "QLabel_1" );
|
|
QLabel_1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, QLabel_1->sizePolicy().hasHeightForWidth() ) );
|
|
QLabel_1->setMinimumSize( QSize( 40, 0 ) );
|
|
QLabel_1->setText( trUtf8( "Min" ) );
|
|
|
|
Frame6Layout->addWidget( QLabel_1, 2, 0 );
|
|
|
|
QLabel_3 = new QLabel( Frame6, "QLabel_3" );
|
|
QLabel_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, QLabel_3->sizePolicy().hasHeightForWidth() ) );
|
|
QLabel_3->setMinimumSize( QSize( 55, 0 ) );
|
|
QLabel_3->setText( trUtf8( "Kind/Base" ) );
|
|
|
|
Frame6Layout->addWidget( QLabel_3, 3, 0 );
|
|
|
|
scrollable = new QCheckBox( Frame6, "scrollable" );
|
|
scrollable->setText( trUtf8( "Scrollable range" ) );
|
|
|
|
Frame6Layout->addMultiCellWidget( scrollable, 4, 4, 0, 2 );
|
|
|
|
abasee = new QLineEdit( Frame6, "abasee" );
|
|
abasee->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)2, (QSizePolicy::SizeType)0, 0, 0, abasee->sizePolicy().hasHeightForWidth() ) );
|
|
abasee->setMaximumSize( QSize( 55, 32767 ) );
|
|
|
|
Frame6Layout->addWidget( abasee, 3, 2 );
|
|
|
|
amine = new QLineEdit( Frame6, "amine" );
|
|
amine->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 1, 0, amine->sizePolicy().hasHeightForWidth() ) );
|
|
amine->setMaximumSize( QSize( 130, 32767 ) );
|
|
|
|
Frame6Layout->addMultiCellWidget( amine, 2, 2, 1, 2 );
|
|
|
|
amaxe = new QLineEdit( Frame6, "amaxe" );
|
|
amaxe->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 1, 0, amaxe->sizePolicy().hasHeightForWidth() ) );
|
|
amaxe->setMaximumSize( QSize( 130, 32767 ) );
|
|
|
|
Frame6Layout->addMultiCellWidget( amaxe, 1, 1, 1, 2 );
|
|
|
|
ascalel = new QComboBox( FALSE, Frame6, "ascalel" );
|
|
ascalel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)2, (QSizePolicy::SizeType)0, 0, 0, ascalel->sizePolicy().hasHeightForWidth() ) );
|
|
ascalel->setMaximumSize( QSize( 70, 32767 ) );
|
|
ascalel->setInsertionPolicy( QComboBox::AtTop );
|
|
|
|
Frame6Layout->addWidget( ascalel, 3, 1 );
|
|
KSPanelAxisInterfLayout->addWidget( Frame6 );
|
|
|
|
Frame7 = new QFrame( this, "Frame7" );
|
|
Frame7->setFrameShape( QFrame::StyledPanel );
|
|
Frame7->setFrameShadow( QFrame::Raised );
|
|
Frame7Layout = new QGridLayout( Frame7, 1, 1, 10, 1, "Frame7Layout");
|
|
|
|
visible = new QCheckBox( Frame7, "visible" );
|
|
QFont visible_font( visible->font() );
|
|
visible_font.setBold( TRUE );
|
|
visible_font.setUnderline( TRUE );
|
|
visible->setFont( visible_font );
|
|
visible->setText( trUtf8( "Appearance" ) );
|
|
|
|
Frame7Layout->addMultiCellWidget( visible, 0, 0, 0, 1 );
|
|
|
|
opposite = new QCheckBox( Frame7, "opposite" );
|
|
opposite->setText( trUtf8( "Opposite side" ) );
|
|
|
|
Frame7Layout->addMultiCellWidget( opposite, 3, 3, 0, 1 );
|
|
QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame7Layout->addItem( spacer_3, 5, 0 );
|
|
|
|
areversed = new QCheckBox( Frame7, "areversed" );
|
|
areversed->setText( trUtf8( "Reversed direction" ) );
|
|
|
|
Frame7Layout->addMultiCellWidget( areversed, 4, 4, 0, 1 );
|
|
|
|
lengthl_2 = new QLabel( Frame7, "lengthl_2" );
|
|
lengthl_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, lengthl_2->sizePolicy().hasHeightForWidth() ) );
|
|
lengthl_2->setText( trUtf8( "Position" ) );
|
|
|
|
Frame7Layout->addWidget( lengthl_2, 2, 0 );
|
|
|
|
alene = new QLineEdit( Frame7, "alene" );
|
|
alene->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)2, (QSizePolicy::SizeType)0, 0, 0, alene->sizePolicy().hasHeightForWidth() ) );
|
|
alene->setMaximumSize( QSize( 100, 32767 ) );
|
|
|
|
Frame7Layout->addWidget( alene, 2, 1 );
|
|
|
|
Layout3 = new QHBoxLayout( 0, 0, 1, "Layout3");
|
|
|
|
axisArrow1 = new KSArrowBtn( Frame7, "axisArrow1" );
|
|
axisArrow1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)5, 0, 0, axisArrow1->sizePolicy().hasHeightForWidth() ) );
|
|
axisArrow1->setMinimumSize( QSize( 35, 22 ) );
|
|
Layout3->addWidget( axisArrow1 );
|
|
|
|
axisLine = new KSLineBtn( Frame7, "axisLine" );
|
|
axisLine->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, axisLine->sizePolicy().hasHeightForWidth() ) );
|
|
axisLine->setMinimumSize( QSize( 0, 22 ) );
|
|
axisLine->setMaximumSize( QSize( 65, 32767 ) );
|
|
Layout3->addWidget( axisLine );
|
|
|
|
axisArrow2 = new KSArrowBtn( Frame7, "axisArrow2" );
|
|
axisArrow2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)5, 0, 0, axisArrow2->sizePolicy().hasHeightForWidth() ) );
|
|
axisArrow2->setMinimumSize( QSize( 35, 22 ) );
|
|
Layout3->addWidget( axisArrow2 );
|
|
|
|
Frame7Layout->addMultiCellLayout( Layout3, 1, 1, 0, 1 );
|
|
KSPanelAxisInterfLayout->addWidget( Frame7 );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSPanelAxisInterf::~KSPanelAxisInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
#include "kspanelaxisinterf.moc"
|