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.
98 lines
3.5 KiB
98 lines
3.5 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './ksdatasetdlginterf.ui'
|
|
**
|
|
** Created: śro mar 20 18:53:15 2002
|
|
** by: The User Interface Compiler (uic)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
****************************************************************************/
|
|
#include "ksdatasetdlginterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qframe.h>
|
|
#include <qgroupbox.h>
|
|
#include <qpushbutton.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
#include "kschannellist.h"
|
|
|
|
/*
|
|
* Constructs a KSDatasetDlgInterf which is a child of 'parent', with the
|
|
* name 'name' and widget flags set to 'f'.
|
|
*
|
|
* The dialog will by default be modeless, unless you set 'modal' to
|
|
* TRUE to construct a modal dialog.
|
|
*/
|
|
KSDatasetDlgInterf::KSDatasetDlgInterf( QWidget* parent, const char* name, bool modal, WFlags fl )
|
|
: QDialog( parent, name, modal, fl )
|
|
{
|
|
if ( !name )
|
|
setName( "KSDatasetDlgInterf" );
|
|
resize( 445, 364 );
|
|
setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) );
|
|
setCaption( trUtf8( "NoName" ) );
|
|
KSDatasetDlgInterfLayout = new QGridLayout( this, 1, 1, 11, 6, "KSDatasetDlgInterfLayout");
|
|
|
|
gchannels = new QGroupBox( this, "gchannels" );
|
|
gchannels->setTitle( trUtf8( "Datasets && Axes" ) );
|
|
gchannels->setColumnLayout(0, Qt::Vertical );
|
|
gchannels->layout()->setSpacing( 5 );
|
|
gchannels->layout()->setMargin( 11 );
|
|
gchannelsLayout = new QGridLayout( gchannels->layout() );
|
|
gchannelsLayout->setAlignment( Qt::AlignTop );
|
|
|
|
bback = new QPushButton( gchannels, "bback" );
|
|
bback->setText( trUtf8( " << To Back" ) );
|
|
|
|
gchannelsLayout->addWidget( bback, 1, 0 );
|
|
|
|
buttonLower = new QPushButton( gchannels, "buttonLower" );
|
|
buttonLower->setText( trUtf8( " < Lower" ) );
|
|
|
|
gchannelsLayout->addWidget( buttonLower, 1, 1 );
|
|
|
|
bfront = new QPushButton( gchannels, "bfront" );
|
|
bfront->setText( trUtf8( "To Front >>" ) );
|
|
|
|
gchannelsLayout->addWidget( bfront, 1, 4 );
|
|
|
|
buttonRaise = new QPushButton( gchannels, "buttonRaise" );
|
|
buttonRaise->setText( trUtf8( "Raise >" ) );
|
|
|
|
gchannelsLayout->addWidget( buttonRaise, 1, 3 );
|
|
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
|
|
gchannelsLayout->addItem( spacer, 1, 2 );
|
|
|
|
chanList = new KSChannelList( gchannels, "chanList" );
|
|
chanList->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, chanList->sizePolicy().hasHeightForWidth() ) );
|
|
|
|
gchannelsLayout->addMultiCellWidget( chanList, 0, 0, 0, 4 );
|
|
|
|
KSDatasetDlgInterfLayout->addMultiCellWidget( gchannels, 0, 0, 0, 1 );
|
|
|
|
Line1 = new QFrame( this, "Line1" );
|
|
Line1->setProperty( "frameShape", (int)QFrame::HLine );
|
|
Line1->setFrameShadow( QFrame::Sunken );
|
|
Line1->setFrameShape( QFrame::HLine );
|
|
|
|
KSDatasetDlgInterfLayout->addMultiCellWidget( Line1, 1, 1, 0, 1 );
|
|
|
|
bok = new QPushButton( this, "bok" );
|
|
bok->setText( trUtf8( "Close" ) );
|
|
|
|
KSDatasetDlgInterfLayout->addWidget( bok, 2, 1 );
|
|
QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
|
|
KSDatasetDlgInterfLayout->addItem( spacer_2, 2, 0 );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSDatasetDlgInterf::~KSDatasetDlgInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
#include "ksdatasetdlginterf.moc"
|