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.
tdebindings/qtjava/javalib/test/AppWizardBase.java

210 lines
7.0 KiB

/****************************************************************************
** Form implementation generated from reading ui file 'appwizardbase.ui'
**
** Created: Mon Feb 19 01:02:06 2001
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
import org.trinitydesktop.qt.*;
public class AppWizardBase extends TQWizard {
TQGroupBox GroupBox8;
TQCheckBox lsm_checkbox;
TQLabel TextLabel7;
TQComboBox license_combobox;
TQLabel TextLabel2;
TQLineEdit version_edit;
TQLabel TextLabel5;
TQMultiLineEdit desc_multiedit;
TQGroupBox General;
TQLabel TextLabel4;
TQLabel TextLabel6;
TQLabel TextLabel3;
TQLineEdit company_edit;
TQLineEdit email_edit;
TQLineEdit author_edit;
TQLabel TextLabel1;
TQPushButton loadheader_button;
TQPushButton newheader_button;
TQMultiLineEdit header_multiedit;
TQGridLayout grid;
TQGridLayout GroupBox8Layout;
TQGridLayout GeneralLayout;
TQGridLayout grid_2;
TQHBoxLayout Layout5;
/*
* Constructs a AppWizardBase which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*
* The wizard will by default be modeless, unless you set 'modal' to
* true to construct a modal wizard.
*/
AppWizardBase( TQWidget parent, String name, boolean modal, int fl )
{
super( parent, name, modal, fl );
if ( name == null )
setName( "AppWizardBase" );
resize( 414, 437 );
setCaption( tr( "Application Wizard" ) );
TQToolTip.add( this, tr( "" ) );
TQWidget privateWidget = new TQWidget( this, "privateWidget" );
grid = new TQGridLayout( privateWidget );
grid.setSpacing( 6 );
grid.setMargin( 11 );
GroupBox8 = new TQGroupBox( privateWidget, "GroupBox8" );
GroupBox8.setTitle( tr( "Project" ) );
GroupBox8.setColumnLayout(0, Qt.Vertical );
GroupBox8.layout().setSpacing( 0 );
GroupBox8.layout().setMargin( 0 );
GroupBox8Layout = new TQGridLayout( GroupBox8.layout() );
GroupBox8Layout.setAlignment( Qt.AlignTop );
GroupBox8Layout.setSpacing( 6 );
GroupBox8Layout.setMargin( 11 );
lsm_checkbox = new TQCheckBox( GroupBox8, "lsm_checkbox" );
lsm_checkbox.setText( tr( "generate lsm-File - (Linux Software Map)" ) );
GroupBox8Layout.addMultiCellWidget( lsm_checkbox, 1, 1, 0, 3 );
TextLabel7 = new TQLabel( GroupBox8, "TextLabel7" );
TextLabel7.setText( tr( "License:" ) );
GroupBox8Layout.addWidget( TextLabel7, 0, 0 );
license_combobox = new TQComboBox( false, GroupBox8, "license_combobox" );
license_combobox.insertItem( tr( "GPL" ) );
license_combobox.insertItem( tr( "LGPL" ) );
license_combobox.insertItem( tr( "BSD" ) );
license_combobox.insertItem( tr( "Artistic" ) );
license_combobox.insertItem( tr( "TQPL" ) );
license_combobox.insertItem( tr( "Custom" ) );
GroupBox8Layout.addWidget( license_combobox, 0, 1 );
TextLabel2 = new TQLabel( GroupBox8, "TextLabel2" );
TextLabel2.setText( tr( "Version:" ) );
GroupBox8Layout.addWidget( TextLabel2, 0, 2 );
version_edit = new TQLineEdit( GroupBox8, "version_edit" );
version_edit.setText( tr( "0.1" ) );
GroupBox8Layout.addWidget( version_edit, 0, 3 );
TextLabel5 = new TQLabel( GroupBox8, "TextLabel5" );
TextLabel5.setText( tr( "Description:" ) );
GroupBox8Layout.addMultiCellWidget( TextLabel5, 2, 2, 0, 1 );
desc_multiedit = new TQMultiLineEdit( GroupBox8, "desc_multiedit" );
GroupBox8Layout.addMultiCellWidget( desc_multiedit, 3, 3, 0, 3 );
grid.addWidget( GroupBox8, 1, 0 );
General = new TQGroupBox( privateWidget, "General" );
General.setTitle( tr( "General" ) );
General.setColumnLayout(0, Qt.Vertical );
General.layout().setSpacing( 0 );
General.layout().setMargin( 0 );
GeneralLayout = new TQGridLayout( General.layout() );
GeneralLayout.setAlignment( Qt.AlignTop );
GeneralLayout.setSpacing( 6 );
GeneralLayout.setMargin( 11 );
TextLabel4 = new TQLabel( General, "TextLabel4" );
TextLabel4.setText( tr( "Company:" ) );
GeneralLayout.addWidget( TextLabel4, 2, 0 );
TextLabel6 = new TQLabel( General, "TextLabel6" );
TextLabel6.setText( tr( "Email:" ) );
GeneralLayout.addWidget( TextLabel6, 1, 0 );
TextLabel3 = new TQLabel( General, "TextLabel3" );
TextLabel3.setText( tr( "Author:" ) );
GeneralLayout.addWidget( TextLabel3, 0, 0 );
company_edit = new TQLineEdit( General, "company_edit" );
GeneralLayout.addWidget( company_edit, 2, 1 );
email_edit = new TQLineEdit( General, "email_edit" );
GeneralLayout.addWidget( email_edit, 1, 1 );
author_edit = new TQLineEdit( General, "author_edit" );
GeneralLayout.addWidget( author_edit, 0, 1 );
grid.addWidget( General, 0, 0 );
addPage( privateWidget, tr( "General" ) );
TQWidget privateWidget_2 = new TQWidget( this, "privateWidget_2" );
grid_2 = new TQGridLayout( privateWidget_2 );
grid_2.setSpacing( 6 );
grid_2.setMargin( 11 );
Layout5 = new TQHBoxLayout();
Layout5.setSpacing( 6 );
Layout5.setMargin( 0 );
TextLabel1 = new TQLabel( privateWidget_2, "TextLabel1" );
TextLabel1.setText( tr( "headertemplate for your files:" ) );
Layout5.addWidget( TextLabel1 );
TQSpacerItem spacer = new TQSpacerItem( 0, 0, TQSizePolicy.Expanding, TQSizePolicy.Minimum );
Layout5.addItem( spacer );
loadheader_button = new TQPushButton( privateWidget_2, "loadheader_button" );
loadheader_button.setText( tr( "Load..." ) );
TQToolTip.add( loadheader_button, tr( "" ) );
Layout5.addWidget( loadheader_button );
newheader_button = new TQPushButton( privateWidget_2, "newheader_button" );
newheader_button.setText( tr( "New" ) );
TQToolTip.add( newheader_button, tr( "Clears the pre-set headertemplate" ) );
Layout5.addWidget( newheader_button );
grid_2.addLayout( Layout5, 0, 0 );
header_multiedit = new TQMultiLineEdit( privateWidget_2, "header_multiedit" );
grid_2.addWidget( header_multiedit, 1, 0 );
addPage( privateWidget_2, tr( "Header" ) );
// signals and slots connections
connect( loadheader_button, TQ_SIGNAL( "clicked()" ), this, TQ_SLOT( "slotLoadHeader()" ) );
connect( newheader_button, TQ_SIGNAL( "clicked()" ), this, TQ_SLOT( "slotNewHeader()" ) );
// tab order
setTabOrder( loadheader_button, newheader_button );
setTabOrder( newheader_button, header_multiedit );
setTabOrder( header_multiedit, author_edit );
setTabOrder( author_edit, email_edit );
setTabOrder( email_edit, company_edit );
setTabOrder( company_edit, license_combobox );
setTabOrder( license_combobox, version_edit );
setTabOrder( version_edit, lsm_checkbox );
setTabOrder( lsm_checkbox, desc_multiedit );
}
public void slotLoadHeader()
{
tqWarning( "AppWizardBase.slotLoadHeader(): Not implemented yet!" );
}
public void slotNewHeader()
{
tqWarning( "AppWizardBase.slotNewHeader(): Not implemented yet!" );
}
}