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.
80 lines
2.7 KiB
80 lines
2.7 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './kssheetdlgvaluerangeinterf.ui'
|
|
**
|
|
** Created: śro mar 20 18:53:27 2002
|
|
** by: The User Interface Compiler (uic)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
****************************************************************************/
|
|
#include "kssheetdlgvaluerangeinterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qframe.h>
|
|
#include <qlabel.h>
|
|
#include <qlineedit.h>
|
|
#include <qpushbutton.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
|
|
/*
|
|
* Constructs a KSSheetDlgValueRangeInterf 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.
|
|
*/
|
|
KSSheetDlgValueRangeInterf::KSSheetDlgValueRangeInterf( QWidget* parent, const char* name, bool modal, WFlags fl )
|
|
: QDialog( parent, name, modal, fl )
|
|
{
|
|
if ( !name )
|
|
setName( "KSSheetDlgValueRangeInterf" );
|
|
resize( 224, 159 );
|
|
setCaption( trUtf8( "Enter value range" ) );
|
|
|
|
TextLabel2 = new QLabel( this, "TextLabel2" );
|
|
TextLabel2->setGeometry( QRect( 15, 40, 90, 25 ) );
|
|
TextLabel2->setText( trUtf8( "Minimum" ) );
|
|
|
|
TextLabel3 = new QLabel( this, "TextLabel3" );
|
|
TextLabel3->setGeometry( QRect( 15, 70, 90, 25 ) );
|
|
TextLabel3->setText( trUtf8( "Maximum" ) );
|
|
|
|
Line1 = new QFrame( this, "Line1" );
|
|
Line1->setGeometry( QRect( 10, 100, 210, 16 ) );
|
|
Line1->setFrameShape( QFrame::HLine );
|
|
|
|
rangeMin = new QLineEdit( this, "rangeMin" );
|
|
rangeMin->setGeometry( QRect( 105, 40, 110, 22 ) );
|
|
|
|
rangeMax = new QLineEdit( this, "rangeMax" );
|
|
rangeMax->setGeometry( QRect( 105, 70, 110, 22 ) );
|
|
|
|
buttonCancel = new QPushButton( this, "buttonCancel" );
|
|
buttonCancel->setGeometry( QRect( 130, 125, 90, 30 ) );
|
|
buttonCancel->setText( trUtf8( "Cancel" ) );
|
|
|
|
buttonOK = new QPushButton( this, "buttonOK" );
|
|
buttonOK->setGeometry( QRect( 35, 125, 91, 31 ) );
|
|
buttonOK->setText( trUtf8( "OK" ) );
|
|
|
|
infoText = new QLabel( this, "infoText" );
|
|
infoText->setGeometry( QRect( 15, 5, 201, 26 ) );
|
|
infoText->setText( trUtf8( "Fill with random numbers in <min,max)" ) );
|
|
infoText->setAlignment( int( QLabel::AlignCenter ) );
|
|
|
|
// signals and slots connections
|
|
connect( buttonOK, SIGNAL( clicked() ), this, SLOT( accept() ) );
|
|
connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSSheetDlgValueRangeInterf::~KSSheetDlgValueRangeInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
#include "kssheetdlgvaluerangeinterf.moc"
|