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.
140 lines
4.8 KiB
140 lines
4.8 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './kspanelcarrowinterf.ui'
|
|
**
|
|
** Created: śro mar 20 18:52:48 2002
|
|
** by: The User Interface Compiler (uic)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
****************************************************************************/
|
|
#include "kspanelcarrowinterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qframe.h>
|
|
#include <qlabel.h>
|
|
#include <qpushbutton.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
#include "ksattrbtn.h"
|
|
#include "kspanel.h"
|
|
|
|
/*
|
|
* Constructs a KSPanelCArrowInterf which is a child of 'parent', with the
|
|
* name 'name'.'
|
|
*/
|
|
KSPanelCArrowInterf::KSPanelCArrowInterf( QWidget* parent, const char* name )
|
|
: KSPanel( parent, name )
|
|
{
|
|
if ( !name )
|
|
setName( "KSPanelCArrowInterf" );
|
|
resize( 500, 140 );
|
|
setCaption( trUtf8( "KSPanelForm" ) );
|
|
KSPanelCArrowInterfLayout = new QHBoxLayout( this, 1, 1, "KSPanelCArrowInterfLayout");
|
|
|
|
Frame5 = new QFrame( this, "Frame5" );
|
|
Frame5->setFrameShape( QFrame::StyledPanel );
|
|
Frame5->setFrameShadow( QFrame::Raised );
|
|
Frame5Layout = new QGridLayout( Frame5, 1, 1, 10, 1, "Frame5Layout");
|
|
|
|
TextLabel1_2 = new QLabel( Frame5, "TextLabel1_2" );
|
|
TextLabel1_2->setText( trUtf8( "Dart" ) );
|
|
|
|
Frame5Layout->addWidget( TextLabel1_2, 1, 0 );
|
|
|
|
TextLabel2_2 = new QLabel( Frame5, "TextLabel2_2" );
|
|
TextLabel2_2->setText( trUtf8( "Point" ) );
|
|
|
|
Frame5Layout->addWidget( TextLabel2_2, 2, 0 );
|
|
|
|
QLabel_1 = new QLabel( Frame5, "QLabel_1" );
|
|
QLabel_1->setMinimumSize( QSize( 0, 25 ) );
|
|
QFont QLabel_1_font( QLabel_1->font() );
|
|
QLabel_1_font.setBold( TRUE );
|
|
QLabel_1_font.setUnderline( TRUE );
|
|
QLabel_1->setFont( QLabel_1_font );
|
|
QLabel_1->setText( trUtf8( "Arrow origin" ) );
|
|
|
|
Frame5Layout->addMultiCellWidget( QLabel_1, 0, 0, 0, 1 );
|
|
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame5Layout->addMultiCell( spacer, 3, 3, 0, 1 );
|
|
|
|
originArrow = new KSArrowBtn( Frame5, "originArrow" );
|
|
originArrow->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame5Layout->addWidget( originArrow, 1, 1 );
|
|
|
|
originPoint = new KSPointBtn( Frame5, "originPoint" );
|
|
originPoint->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame5Layout->addWidget( originPoint, 2, 1 );
|
|
KSPanelCArrowInterfLayout->addWidget( Frame5 );
|
|
|
|
Frame4 = new QFrame( this, "Frame4" );
|
|
Frame4->setFrameShape( QFrame::StyledPanel );
|
|
Frame4->setFrameShadow( QFrame::Raised );
|
|
Frame4Layout = new QGridLayout( Frame4, 1, 1, 10, 1, "Frame4Layout");
|
|
|
|
QLabel_2 = new QLabel( Frame4, "QLabel_2" );
|
|
QLabel_2->setText( trUtf8( "Line" ) );
|
|
|
|
Frame4Layout->addWidget( QLabel_2, 1, 0 );
|
|
QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame4Layout->addItem( spacer_2, 2, 2 );
|
|
|
|
arrowLine = new KSLineBtn( Frame4, "arrowLine" );
|
|
arrowLine->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame4Layout->addMultiCellWidget( arrowLine, 1, 1, 1, 2 );
|
|
QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame4Layout->addItem( spacer_3, 0, 1 );
|
|
KSPanelCArrowInterfLayout->addWidget( Frame4 );
|
|
|
|
Frame3 = new QFrame( this, "Frame3" );
|
|
Frame3->setFrameShape( QFrame::StyledPanel );
|
|
Frame3->setFrameShadow( QFrame::Raised );
|
|
Frame3Layout = new QGridLayout( Frame3, 1, 1, 10, 1, "Frame3Layout");
|
|
|
|
QLabel_3 = new QLabel( Frame3, "QLabel_3" );
|
|
QLabel_3->setMinimumSize( QSize( 0, 25 ) );
|
|
QFont QLabel_3_font( QLabel_3->font() );
|
|
QLabel_3_font.setBold( TRUE );
|
|
QLabel_3_font.setUnderline( TRUE );
|
|
QLabel_3->setFont( QLabel_3_font );
|
|
QLabel_3->setText( trUtf8( "Arrow end" ) );
|
|
|
|
Frame3Layout->addMultiCellWidget( QLabel_3, 0, 0, 0, 1 );
|
|
|
|
TextLabel1 = new QLabel( Frame3, "TextLabel1" );
|
|
TextLabel1->setText( trUtf8( "Dart" ) );
|
|
|
|
Frame3Layout->addWidget( TextLabel1, 1, 0 );
|
|
|
|
TextLabel2 = new QLabel( Frame3, "TextLabel2" );
|
|
TextLabel2->setText( trUtf8( "Point" ) );
|
|
|
|
Frame3Layout->addWidget( TextLabel2, 2, 0 );
|
|
QSpacerItem* spacer_4 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
|
|
Frame3Layout->addItem( spacer_4, 3, 1 );
|
|
|
|
endArrow = new KSArrowBtn( Frame3, "endArrow" );
|
|
endArrow->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame3Layout->addWidget( endArrow, 1, 1 );
|
|
|
|
endPoint = new KSPointBtn( Frame3, "endPoint" );
|
|
endPoint->setMinimumSize( QSize( 0, 22 ) );
|
|
|
|
Frame3Layout->addWidget( endPoint, 2, 1 );
|
|
KSPanelCArrowInterfLayout->addWidget( Frame3 );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSPanelCArrowInterf::~KSPanelCArrowInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
#include "kspanelcarrowinterf.moc"
|