/********************************************************************** --- Qt Architect generated file --- File: latexEmtexOpData.cpp 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 "latexEmtexOpData.h" #define Inherited QDialog #include #include latexEmtexOpData::latexEmtexOpData ( QWidget* parent, const char* name ) : Inherited( parent, name, TRUE, 0 ) { QLabel* dlgedit_Label_1; dlgedit_Label_1 = new QLabel( this, "Label_1" ); dlgedit_Label_1->setGeometry( 10, 10, 30, 30 ); dlgedit_Label_1->setMinimumSize( 10, 10 ); dlgedit_Label_1->setMaximumSize( 32767, 32767 ); dlgedit_Label_1->setText( "Font:" ); dlgedit_Label_1->setAlignment( 289 ); dlgedit_Label_1->setMargin( -1 ); FontList = new QComboBox( FALSE, this, "ComboBox_1" ); FontList->setGeometry( 50, 10, 70, 28 ); FontList->setMinimumSize( 10, 10 ); FontList->setMaximumSize( 32767, 32767 ); FontList->setSizeLimit( 2 ); FontList->setAutoResize( FALSE ); FontList->insertItem( "roman" ); FontList->insertItem( "courier" ); QLabel* dlgedit_Label_2; dlgedit_Label_2 = new QLabel( this, "Label_2" ); dlgedit_Label_2->setGeometry( 130, 10, 30, 30 ); dlgedit_Label_2->setMinimumSize( 10, 10 ); dlgedit_Label_2->setMaximumSize( 32767, 32767 ); dlgedit_Label_2->setText( "Size:" ); dlgedit_Label_2->setAlignment( 289 ); dlgedit_Label_2->setMargin( -1 ); FontSizeList = new QComboBox( FALSE, this, "ComboBox_2" ); FontSizeList->setGeometry( 170, 10, 50, 30 ); FontSizeList->setMinimumSize( 10, 10 ); FontSizeList->setMaximumSize( 32767, 32767 ); FontSizeList->setSizeLimit( 3 ); FontSizeList->setAutoResize( FALSE ); FontSizeList->insertItem( "10" ); FontSizeList->insertItem( "11" ); FontSizeList->insertItem( "12" ); QLabel* dlgedit_Label_3; dlgedit_Label_3 = new QLabel( this, "Label_3" ); dlgedit_Label_3->setGeometry( 230, 10, 40, 30 ); dlgedit_Label_3->setMinimumSize( 10, 10 ); dlgedit_Label_3->setMaximumSize( 32767, 32767 ); dlgedit_Label_3->setText( "Other:" ); dlgedit_Label_3->setAlignment( 289 ); dlgedit_Label_3->setMargin( -1 ); FontSizeOther = new QLineEdit( this, "LineEdit_1" ); FontSizeOther->setGeometry( 280, 10, 30, 30 ); FontSizeOther->setMinimumSize( 10, 10 ); FontSizeOther->setMaximumSize( 32767, 32767 ); connect( FontSizeOther, SIGNAL(textChanged(const char*)), SLOT(setFontSize(const char*)) ); FontSizeOther->setText( "" ); FontSizeOther->setMaxLength( 32767 ); FontSizeOther->setEchoMode( QLineEdit::Normal ); FontSizeOther->setFrame( TRUE ); QPushButton* dlgedit_PushButton_1; dlgedit_PushButton_1 = new QPushButton( this, "PushButton_1" ); dlgedit_PushButton_1->setGeometry( 80, 50, 60, 30 ); dlgedit_PushButton_1->setMinimumSize( 10, 10 ); dlgedit_PushButton_1->setMaximumSize( 32767, 32767 ); connect( dlgedit_PushButton_1, SIGNAL(clicked()), SLOT(setTerm()) ); dlgedit_PushButton_1->setText( "OK" ); dlgedit_PushButton_1->setAutoRepeat( FALSE ); dlgedit_PushButton_1->setAutoResize( FALSE ); dlgedit_PushButton_1->setDefault(TRUE); QPushButton* dlgedit_PushButton_2; dlgedit_PushButton_2 = new QPushButton( this, "PushButton_2" ); dlgedit_PushButton_2->setGeometry( 180, 50, 60, 30 ); dlgedit_PushButton_2->setMinimumSize( 10, 10 ); dlgedit_PushButton_2->setMaximumSize( 32767, 32767 ); connect( dlgedit_PushButton_2, SIGNAL(clicked()), SLOT(reject()) ); dlgedit_PushButton_2->setText( "Cancel" ); dlgedit_PushButton_2->setAutoRepeat( FALSE ); dlgedit_PushButton_2->setAutoResize( FALSE ); resize( 320,90 ); setMinimumSize( 0, 0 ); setMaximumSize( 32767, 32767 ); } latexEmtexOpData::~latexEmtexOpData() { } void latexEmtexOpData::setFontSize(const char*) { } void latexEmtexOpData::setTerm() { }