/**********************************************************************
--- Qt Architect generated file ---
File: rawGnuData.cpp
Note*: This file has been modified by hand for geometry management.
Xgfe: X Windows GUI front end to Gnuplot
Copyright (C) 1998 David Ishee
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*********************************************************************/
#include "rawGnuData.h"
#define Inherited QDialog
#include <qpushbt.h>
#include <qlayout.h>
rawGnuData::rawGnuData
(
QWidget* parent,
const char* name
)
:
Inherited( parent, name, TRUE, 36864 )
{
rawCommand = new QMultiLineEdit( this, "MultiLineEdit_1" );
rawCommand->setMinimumSize( 380, 180 );
rawCommand->setMaximumSize( 32767, 32767 );
rawCommand->insertLine( "" );
rawCommand->setReadOnly( FALSE );
rawCommand->setOverwriteMode( FALSE );
QPushButton* PushButton_1;
PushButton_1 = new QPushButton( this, "PushButton_1" );
PushButton_1->setMinimumSize( 100, 40 );
PushButton_1->setMaximumSize( 100, 40 );
connect( PushButton_1, SIGNAL(clicked()), SLOT(doCommand()) );
PushButton_1->setText( "OK" );
PushButton_1->setAutoRepeat( FALSE );
PushButton_1->setAutoResize( FALSE );
PushButton_1->setDefault(TRUE);
QPushButton* PushButton_2;
PushButton_2 = new QPushButton( this, "PushButton_2" );
PushButton_2->setMinimumSize( 100, 30 );
PushButton_2->setMaximumSize( 100, 30 );
connect( PushButton_2, SIGNAL(clicked()), SLOT(reject()) );
PushButton_2->setText( "Cancel" );
PushButton_2->setAutoRepeat( FALSE );
PushButton_2->setAutoResize( FALSE );
resize(390,225);
// create layouts
// main column layout
QVBoxLayout* mainColLayout = new QVBoxLayout(this,5);
// row layout for pushbuttons
QHBoxLayout* pbRowLayout = new QHBoxLayout();
// assemble layouts
mainColLayout->addWidget(rawCommand);
mainColLayout->addLayout(pbRowLayout);
pbRowLayout->addStretch(1);
pbRowLayout->addWidget(PushButton_1);
pbRowLayout->addStretch(1);
pbRowLayout->addWidget(PushButton_2);
pbRowLayout->addStretch(1);
mainColLayout->activate();
}
rawGnuData::~rawGnuData()
{
}
void rawGnuData::doCommand()
{
}
syntax highlighted by Code2HTML, v. 0.9.1