/********************************************************************** --- Qt Architect generated file --- File: funcLegendTitleData.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 "funcLegendTitleData.h" #define Inherited QDialog #include #include #include #include funcLegendTitleData::funcLegendTitleData ( QWidget* parent, const char* name ) : Inherited( parent, name, TRUE, 0 ) { QButtonGroup* ButtonGroup_2; ButtonGroup_2 = new QButtonGroup( this, "ButtonGroup_2" ); ButtonGroup_2->setMinimumSize( 410, 50 ); ButtonGroup_2->setMaximumSize( 32767, 32767 ); ButtonGroup_2->setFrameStyle( 49 ); ButtonGroup_2->setTitle( "" ); ButtonGroup_2->setAlignment( 1 ); ButtonGroup_2->setExclusive( TRUE ); QLabel* Label_3; Label_3 = new QLabel( this, "Label_3" ); Label_3->setMinimumSize( 140, 30 ); Label_3->setMaximumSize( 140, 30 ); Label_3->setText( "Function Legend Title:" ); Label_3->setAlignment( 289 ); Label_3->setMargin( -1 ); funcLegendTitleEdit = new QLineEdit( this, "LineEdit_3" ); funcLegendTitleEdit->setMinimumSize( 270, 30 ); funcLegendTitleEdit->setMaximumSize( 32767, 30 ); funcLegendTitleEdit->setText( "" ); funcLegendTitleEdit->setMaxLength( 32767 ); funcLegendTitleEdit->setEchoMode( QLineEdit::Normal ); funcLegendTitleEdit->setFrame( TRUE ); defaultCButton = new QCheckBox(ButtonGroup_2, "CheckBox_4" ); defaultCButton->setMinimumSize( 70, 30 ); defaultCButton->setMaximumSize( 70, 30 ); defaultCButton->setText( "&default" ); defaultCButton->setAutoRepeat( FALSE ); defaultCButton->setAutoResize( FALSE ); defaultCButton->setChecked( TRUE ); notitleCButton = new QCheckBox(ButtonGroup_2, "CheckBox_5" ); notitleCButton->setMinimumSize( 60, 30 ); notitleCButton->setMaximumSize( 60, 30 ); notitleCButton->setText( "¬itle" ); notitleCButton->setAutoRepeat( FALSE ); notitleCButton->setAutoResize( FALSE ); QPushButton* PushButton_5; PushButton_5 = new QPushButton( this, "PushButton_5" ); PushButton_5->setMinimumSize( 100, 40 ); PushButton_5->setMaximumSize( 100, 40 ); connect( PushButton_5, SIGNAL(clicked()), SLOT(setFuncLegendTitleOK()) ); PushButton_5->setText( "OK" ); PushButton_5->setAutoRepeat( FALSE ); PushButton_5->setAutoResize( FALSE ); PushButton_5->setDefault(TRUE); PushButton_5->setAutoDefault(TRUE); QPushButton* PushButton_6; PushButton_6 = new QPushButton( this, "PushButton_6" ); PushButton_6->setMinimumSize( 100, 30 ); PushButton_6->setMaximumSize( 100, 30 ); connect( PushButton_6, SIGNAL(clicked()), SLOT(reject()) ); PushButton_6->setText( "&Cancel" ); PushButton_6->setAutoRepeat( FALSE ); PushButton_6->setAutoResize( FALSE ); resize( 430,150 ); // ------------------------ create layouts // main column QVBoxLayout* mainColLayout = new QVBoxLayout(this,5); // row for legend title edit box QHBoxLayout* titleRowLayout = new QHBoxLayout(); // row for inside button group QHBoxLayout* insideBGRowLayout = new QHBoxLayout(ButtonGroup_2,5); // row for pushbuttons QHBoxLayout* buttonRowLayout = new QHBoxLayout(); // ------------------------ assemble layouts and widgets mainColLayout->addLayout(titleRowLayout); titleRowLayout->addWidget(Label_3); titleRowLayout->addWidget(funcLegendTitleEdit); mainColLayout->addWidget(ButtonGroup_2); insideBGRowLayout->addStretch(1); insideBGRowLayout->addWidget(defaultCButton); insideBGRowLayout->addStretch(1); insideBGRowLayout->addWidget(notitleCButton); insideBGRowLayout->addStretch(1); mainColLayout->addLayout(buttonRowLayout); buttonRowLayout->addStretch(1); buttonRowLayout->addWidget(PushButton_5); buttonRowLayout->addStretch(1); buttonRowLayout->addWidget(PushButton_6); buttonRowLayout->addStretch(1); mainColLayout->activate(); } funcLegendTitleData::~funcLegendTitleData() { } void funcLegendTitleData::setFuncLegendTitleOK() { }