1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
/****************************************************************************
** Form implementation generated from reading ui file 'license/tolicenseui.ui'
**
** Created: Son Mär 10 10:28:35 2002
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "license/tolicenseui.h"
#include <qvariant.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qtextview.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
/*
* Constructs a toLicenseUI which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
toLicenseUI::toLicenseUI( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
{
if ( !name )
setName( "toLicenseUI" );
resize( 507, 487 );
setCaption( trUtf8( "This version of TOra is unregistered." ) );
toLicenseUILayout = new QGridLayout( this, 1, 1, 11, 6, "toLicenseUILayout");
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
toLicenseUILayout->addItem( spacer, 5, 1 );
QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
toLicenseUILayout->addItem( spacer_2, 5, 3 );
Button3 = new QPushButton( this, "Button3" );
Button3->setText( trUtf8( "3" ) );
toLicenseUILayout->addWidget( Button3, 5, 4 );
Button1 = new QPushButton( this, "Button1" );
Button1->setText( trUtf8( "1" ) );
Button1->setDefault( FALSE );
toLicenseUILayout->addWidget( Button1, 5, 0 );
Button2 = new QPushButton( this, "Button2" );
Button2->setText( trUtf8( "2" ) );
Button2->setDefault( FALSE );
toLicenseUILayout->addWidget( Button2, 5, 2 );
TextView = new QTextView( this, "TextView" );
TextView->setTextFormat( QTextView::RichText );
toLicenseUILayout->addMultiCellWidget( TextView, 0, 0, 0, 4 );
License = new QLineEdit( this, "License" );
toLicenseUILayout->addMultiCellWidget( License, 4, 4, 0, 4 );
TextLabel1 = new QLabel( this, "TextLabel1" );
TextLabel1->setText( trUtf8( "&Registration key" ) );
toLicenseUILayout->addMultiCellWidget( TextLabel1, 3, 3, 0, 4 );
Name = new QLineEdit( this, "Name" );
toLicenseUILayout->addMultiCellWidget( Name, 2, 2, 0, 4 );
TextLabel1_2 = new QLabel( this, "TextLabel1_2" );
TextLabel1_2->setText( trUtf8( "&Name" ) );
toLicenseUILayout->addMultiCellWidget( TextLabel1_2, 1, 1, 0, 4 );
// tab order
setTabOrder( TextView, Name );
setTabOrder( Name, License );
setTabOrder( License, Button1 );
setTabOrder( Button1, Button2 );
setTabOrder( Button2, Button3 );
// buddies
TextLabel1->setBuddy( License );
TextLabel1_2->setBuddy( Name );
}
/*
* Destroys the object and frees any allocated resources
*/
toLicenseUI::~toLicenseUI()
{
// no need to delete child widgets, Qt does it all for us
}
|