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.
159 lines
5.3 KiB
159 lines
5.3 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './kspanelcrectinterf.ui'
|
|
**
|
|
** Created: śro mar 20 18:52:54 2002
|
|
** by: The User Interface Compiler (uic)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
****************************************************************************/
|
|
#include "kspanelcrectinterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qcheckbox.h>
|
|
#include <qframe.h>
|
|
#include <qlabel.h>
|
|
#include <qpushbutton.h>
|
|
#include <qspinbox.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
#include "ksattrbtn.h"
|
|
#include "kspanel.h"
|
|
|
|
/*
|
|
* Constructs a KSPanelCRectInterf which is a child of 'parent', with the
|
|
* name 'name'.'
|
|
*/
|
|
KSPanelCRectInterf::KSPanelCRectInterf( QWidget* parent, const char* name )
|
|
: KSPanel( parent, name )
|
|
{
|
|
if ( !name )
|
|
setName( "KSPanelCRectInterf" );
|
|
resize( 465, 140 );
|
|
setCaption( trUtf8( "KSPanelForm" ) );
|
|
KSPanelCRectInterfLayout = new QHBoxLayout( this, 1, 1, "KSPanelCRectInterfLayout");
|
|
|
|
Frame5 = new QFrame( this, "Frame5" );
|
|
Frame5->setFrameShape( QFrame::StyledPanel );
|
|
Frame5->setFrameShadow( QFrame::Raised );
|
|
Frame5Layout = new QGridLayout( Frame5, 1, 1, 11, 1, "Frame5Layout");
|
|
|
|
TextLabel1_2 = new QLabel( Frame5, "TextLabel1_2" );
|
|
TextLabel1_2->setMinimumSize( QSize( 0, 25 ) );
|
|
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( "Type" ) );
|
|
|
|
Frame5Layout->addWidget( TextLabel1_2, 0, 0 );
|
|
|
|
ellipse = new QCheckBox( Frame5, "ellipse" );
|
|
QFont ellipse_font( ellipse->font() );
|
|
ellipse->setFont( ellipse_font );
|
|
ellipse->setText( trUtf8( "Ellipse" ) );
|
|
|
|
Frame5Layout->addWidget( ellipse, 1, 0 );
|
|
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame5Layout->addItem( spacer, 2, 0 );
|
|
KSPanelCRectInterfLayout->addWidget( Frame5 );
|
|
|
|
Frame4 = new QFrame( this, "Frame4" );
|
|
Frame4->setFrameShape( QFrame::StyledPanel );
|
|
Frame4->setFrameShadow( QFrame::Raised );
|
|
Frame4Layout = new QGridLayout( Frame4, 1, 1, 10, 1, "Frame4Layout");
|
|
QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame4Layout->addMultiCell( spacer_2, 3, 3, 0, 1 );
|
|
|
|
QLabel_2 = new QLabel( Frame4, "QLabel_2" );
|
|
QLabel_2->setText( trUtf8( "Fill" ) );
|
|
|
|
Frame4Layout->addWidget( QLabel_2, 2, 0 );
|
|
|
|
QLabel_1 = new QLabel( Frame4, "QLabel_1" );
|
|
QLabel_1->setText( trUtf8( "Frame" ) );
|
|
|
|
Frame4Layout->addWidget( QLabel_1, 1, 0 );
|
|
|
|
rectFill = new KSFillBtn( Frame4, "rectFill" );
|
|
rectFill->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame4Layout->addWidget( rectFill, 2, 1 );
|
|
|
|
TextLabel2 = new QLabel( Frame4, "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( "Attributes" ) );
|
|
|
|
Frame4Layout->addMultiCellWidget( TextLabel2, 0, 0, 0, 1 );
|
|
|
|
rectFrame = new KSLineBtn( Frame4, "rectFrame" );
|
|
rectFrame->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame4Layout->addWidget( rectFrame, 1, 1 );
|
|
KSPanelCRectInterfLayout->addWidget( Frame4 );
|
|
|
|
Frame3 = new QFrame( this, "Frame3" );
|
|
Frame3->setFrameShape( QFrame::StyledPanel );
|
|
Frame3->setFrameShadow( QFrame::Raised );
|
|
Frame3Layout = new QGridLayout( Frame3, 1, 1, 10, 1, "Frame3Layout");
|
|
|
|
shadowdx = new QSpinBox( Frame3, "shadowdx" );
|
|
shadowdx->setMaxValue( 99 );
|
|
shadowdx->setMinValue( -99 );
|
|
|
|
Frame3Layout->addWidget( shadowdx, 1, 1 );
|
|
|
|
shadowdy = new QSpinBox( Frame3, "shadowdy" );
|
|
shadowdy->setMaxValue( 99 );
|
|
shadowdy->setMinValue( -99 );
|
|
|
|
Frame3Layout->addWidget( shadowdy, 2, 1 );
|
|
|
|
QLabel_15 = new QLabel( Frame3, "QLabel_15" );
|
|
QLabel_15->setText( trUtf8( "DY" ) );
|
|
|
|
Frame3Layout->addWidget( QLabel_15, 2, 0 );
|
|
|
|
QLabel_13 = new QLabel( Frame3, "QLabel_13" );
|
|
QLabel_13->setText( trUtf8( "DX" ) );
|
|
|
|
Frame3Layout->addWidget( QLabel_13, 1, 0 );
|
|
|
|
TextLabel1 = new QLabel( Frame3, "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( "Shadow" ) );
|
|
|
|
Frame3Layout->addMultiCellWidget( TextLabel1, 0, 0, 0, 1 );
|
|
QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame3Layout->addItem( spacer_3, 4, 1 );
|
|
|
|
TextLabel1_3 = new QLabel( Frame3, "TextLabel1_3" );
|
|
TextLabel1_3->setText( trUtf8( "Fill" ) );
|
|
|
|
Frame3Layout->addWidget( TextLabel1_3, 3, 0 );
|
|
|
|
shadowFill = new KSFillBtn( Frame3, "shadowFill" );
|
|
shadowFill->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame3Layout->addWidget( shadowFill, 3, 1 );
|
|
KSPanelCRectInterfLayout->addWidget( Frame3 );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSPanelCRectInterf::~KSPanelCRectInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
#include "kspanelcrectinterf.moc"
|