/**************************************************************************** ** Form implementation generated from reading ui file './ksexportdlginterf.ui' ** ** Created: śro mar 20 18:53:14 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "ksexportdlginterf.h" #include #include #include #include #include #include #include #include #include "kschannellist.h" /* * Constructs a KSExportDlgInterf 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. */ KSExportDlgInterf::KSExportDlgInterf( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ) { if ( !name ) setName( "KSExportDlgInterf" ); resize( 430, 415 ); setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, sizePolicy().hasHeightForWidth() ) ); setMinimumSize( QSize( 430, 415 ) ); setCaption( trUtf8( "Export ASCII Octave" ) ); KSExportDlgInterfLayout = new QGridLayout( this, 1, 1, 11, 6, "KSExportDlgInterfLayout"); bcancel = new QPushButton( this, "bcancel" ); bcancel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, bcancel->sizePolicy().hasHeightForWidth() ) ); bcancel->setText( trUtf8( "Close" ) ); KSExportDlgInterfLayout->addWidget( bcancel, 2, 2 ); bok = new QPushButton( this, "bok" ); bok->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, bok->sizePolicy().hasHeightForWidth() ) ); bok->setText( trUtf8( "Create File" ) ); bok->setDefault( TRUE ); KSExportDlgInterfLayout->addWidget( bok, 2, 1 ); QGroupBox_1 = new QGroupBox( this, "QGroupBox_1" ); QGroupBox_1->setTitle( trUtf8( "Choose a file name and matrices to export" ) ); QGroupBox_1->setColumnLayout(0, Qt::Vertical ); QGroupBox_1->layout()->setSpacing( 6 ); QGroupBox_1->layout()->setMargin( 25 ); QGroupBox_1Layout = new QGridLayout( QGroupBox_1->layout() ); QGroupBox_1Layout->setAlignment( Qt::AlignTop ); chanList = new KSChannelList( QGroupBox_1, "chanList" ); chanList->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)7, 0, 0, chanList->sizePolicy().hasHeightForWidth() ) ); QGroupBox_1Layout->addMultiCellWidget( chanList, 1, 1, 0, 1 ); Frame3 = new QFrame( QGroupBox_1, "Frame3" ); Frame3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, Frame3->sizePolicy().hasHeightForWidth() ) ); Frame3->setFrameShape( QFrame::WinPanel ); Frame3->setFrameShadow( QFrame::Sunken ); Frame3->setMidLineWidth( 1 ); Frame3Layout = new QHBoxLayout( Frame3, 2, 0, "Frame3Layout"); filename = new QLineEdit( Frame3, "filename" ); filename->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, filename->sizePolicy().hasHeightForWidth() ) ); filename->setFrame( FALSE ); Frame3Layout->addWidget( filename ); bbrowse = new QPushButton( Frame3, "bbrowse" ); bbrowse->setText( trUtf8( "Browse ..." ) ); bbrowse->setAutoDefault( FALSE ); Frame3Layout->addWidget( bbrowse ); QGroupBox_1Layout->addMultiCellWidget( Frame3, 0, 0, 0, 1 ); bexport = new QPushButton( QGroupBox_1, "bexport" ); bexport->setText( trUtf8( "Mark/Unmark" ) ); QGroupBox_1Layout->addWidget( bexport, 2, 1 ); QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); QGroupBox_1Layout->addItem( spacer, 2, 0 ); KSExportDlgInterfLayout->addMultiCellWidget( QGroupBox_1, 0, 0, 0, 2 ); Line2 = new QFrame( this, "Line2" ); Line2->setProperty( "frameShape", (int)QFrame::HLine ); Line2->setFrameShadow( QFrame::Sunken ); Line2->setFrameShape( QFrame::HLine ); KSExportDlgInterfLayout->addMultiCellWidget( Line2, 1, 1, 0, 2 ); QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); KSExportDlgInterfLayout->addItem( spacer_2, 2, 0 ); } /* * Destroys the object and frees any allocated resources */ KSExportDlgInterf::~KSExportDlgInterf() { // no need to delete child widgets, Qt does it all for us } #include "ksexportdlginterf.moc"