summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/test/AppWizardBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/test/AppWizardBase.java')
-rw-r--r--qtjava/javalib/test/AppWizardBase.java209
1 files changed, 209 insertions, 0 deletions
diff --git a/qtjava/javalib/test/AppWizardBase.java b/qtjava/javalib/test/AppWizardBase.java
new file mode 100644
index 00000000..48ae0dd3
--- /dev/null
+++ b/qtjava/javalib/test/AppWizardBase.java
@@ -0,0 +1,209 @@
+/****************************************************************************
+** 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.kde.qt.*;
+
+public class AppWizardBase extends QWizard {
+ QGroupBox GroupBox8;
+ QCheckBox lsm_checkbox;
+ QLabel TextLabel7;
+ QComboBox license_combobox;
+ QLabel TextLabel2;
+ QLineEdit version_edit;
+ QLabel TextLabel5;
+ QMultiLineEdit desc_multiedit;
+ QGroupBox General;
+ QLabel TextLabel4;
+ QLabel TextLabel6;
+ QLabel TextLabel3;
+ QLineEdit company_edit;
+ QLineEdit email_edit;
+ QLineEdit author_edit;
+ QLabel TextLabel1;
+ QPushButton loadheader_button;
+ QPushButton newheader_button;
+ QMultiLineEdit header_multiedit;
+
+ QGridLayout grid;
+ QGridLayout GroupBox8Layout;
+ QGridLayout GeneralLayout;
+ QGridLayout grid_2;
+ QHBoxLayout 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( QWidget parent, String name, boolean modal, int fl )
+{
+ super( parent, name, modal, fl );
+ if ( name == null )
+ setName( "AppWizardBase" );
+ resize( 414, 437 );
+ setCaption( tr( "Application Wizard" ) );
+ QToolTip.add( this, tr( "" ) );
+
+ QWidget privateWidget = new QWidget( this, "privateWidget" );
+ grid = new QGridLayout( privateWidget );
+ grid.setSpacing( 6 );
+ grid.setMargin( 11 );
+
+ GroupBox8 = new QGroupBox( privateWidget, "GroupBox8" );
+ GroupBox8.setTitle( tr( "Project" ) );
+ GroupBox8.setColumnLayout(0, Qt.Vertical );
+ GroupBox8.layout().setSpacing( 0 );
+ GroupBox8.layout().setMargin( 0 );
+ GroupBox8Layout = new QGridLayout( GroupBox8.layout() );
+ GroupBox8Layout.setAlignment( Qt.AlignTop );
+ GroupBox8Layout.setSpacing( 6 );
+ GroupBox8Layout.setMargin( 11 );
+
+ lsm_checkbox = new QCheckBox( GroupBox8, "lsm_checkbox" );
+ lsm_checkbox.setText( tr( "generate lsm-File - (Linux Software Map)" ) );
+
+ GroupBox8Layout.addMultiCellWidget( lsm_checkbox, 1, 1, 0, 3 );
+
+ TextLabel7 = new QLabel( GroupBox8, "TextLabel7" );
+ TextLabel7.setText( tr( "License:" ) );
+
+ GroupBox8Layout.addWidget( TextLabel7, 0, 0 );
+
+ license_combobox = new QComboBox( 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( "QPL" ) );
+ license_combobox.insertItem( tr( "Custom" ) );
+
+ GroupBox8Layout.addWidget( license_combobox, 0, 1 );
+
+ TextLabel2 = new QLabel( GroupBox8, "TextLabel2" );
+ TextLabel2.setText( tr( "Version:" ) );
+
+ GroupBox8Layout.addWidget( TextLabel2, 0, 2 );
+
+ version_edit = new QLineEdit( GroupBox8, "version_edit" );
+ version_edit.setText( tr( "0.1" ) );
+
+ GroupBox8Layout.addWidget( version_edit, 0, 3 );
+
+ TextLabel5 = new QLabel( GroupBox8, "TextLabel5" );
+ TextLabel5.setText( tr( "Description:" ) );
+
+ GroupBox8Layout.addMultiCellWidget( TextLabel5, 2, 2, 0, 1 );
+
+ desc_multiedit = new QMultiLineEdit( GroupBox8, "desc_multiedit" );
+
+ GroupBox8Layout.addMultiCellWidget( desc_multiedit, 3, 3, 0, 3 );
+
+ grid.addWidget( GroupBox8, 1, 0 );
+
+ General = new QGroupBox( privateWidget, "General" );
+ General.setTitle( tr( "General" ) );
+ General.setColumnLayout(0, Qt.Vertical );
+ General.layout().setSpacing( 0 );
+ General.layout().setMargin( 0 );
+ GeneralLayout = new QGridLayout( General.layout() );
+ GeneralLayout.setAlignment( Qt.AlignTop );
+ GeneralLayout.setSpacing( 6 );
+ GeneralLayout.setMargin( 11 );
+
+ TextLabel4 = new QLabel( General, "TextLabel4" );
+ TextLabel4.setText( tr( "Company:" ) );
+
+ GeneralLayout.addWidget( TextLabel4, 2, 0 );
+
+ TextLabel6 = new QLabel( General, "TextLabel6" );
+ TextLabel6.setText( tr( "Email:" ) );
+
+ GeneralLayout.addWidget( TextLabel6, 1, 0 );
+
+ TextLabel3 = new QLabel( General, "TextLabel3" );
+ TextLabel3.setText( tr( "Author:" ) );
+
+ GeneralLayout.addWidget( TextLabel3, 0, 0 );
+
+ company_edit = new QLineEdit( General, "company_edit" );
+
+ GeneralLayout.addWidget( company_edit, 2, 1 );
+
+ email_edit = new QLineEdit( General, "email_edit" );
+
+ GeneralLayout.addWidget( email_edit, 1, 1 );
+
+ author_edit = new QLineEdit( General, "author_edit" );
+
+ GeneralLayout.addWidget( author_edit, 0, 1 );
+
+ grid.addWidget( General, 0, 0 );
+ addPage( privateWidget, tr( "General" ) );
+
+ QWidget privateWidget_2 = new QWidget( this, "privateWidget_2" );
+ grid_2 = new QGridLayout( privateWidget_2 );
+ grid_2.setSpacing( 6 );
+ grid_2.setMargin( 11 );
+
+ Layout5 = new QHBoxLayout();
+ Layout5.setSpacing( 6 );
+ Layout5.setMargin( 0 );
+
+ TextLabel1 = new QLabel( privateWidget_2, "TextLabel1" );
+ TextLabel1.setText( tr( "headertemplate for your files:" ) );
+ Layout5.addWidget( TextLabel1 );
+ QSpacerItem spacer = new QSpacerItem( 0, 0, QSizePolicy.Expanding, QSizePolicy.Minimum );
+ Layout5.addItem( spacer );
+
+ loadheader_button = new QPushButton( privateWidget_2, "loadheader_button" );
+ loadheader_button.setText( tr( "Load..." ) );
+ QToolTip.add( loadheader_button, tr( "" ) );
+ Layout5.addWidget( loadheader_button );
+
+ newheader_button = new QPushButton( privateWidget_2, "newheader_button" );
+ newheader_button.setText( tr( "New" ) );
+ QToolTip.add( newheader_button, tr( "Clears the pre-set headertemplate" ) );
+ Layout5.addWidget( newheader_button );
+
+ grid_2.addLayout( Layout5, 0, 0 );
+
+ header_multiedit = new QMultiLineEdit( privateWidget_2, "header_multiedit" );
+
+ grid_2.addWidget( header_multiedit, 1, 0 );
+ addPage( privateWidget_2, tr( "Header" ) );
+
+ // signals and slots connections
+ connect( loadheader_button, SIGNAL( "clicked()" ), this, SLOT( "slotLoadHeader()" ) );
+ connect( newheader_button, SIGNAL( "clicked()" ), this, 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()
+{
+ qWarning( "AppWizardBase.slotLoadHeader(): Not implemented yet!" );
+}
+
+public void slotNewHeader()
+{
+ qWarning( "AppWizardBase.slotNewHeader(): Not implemented yet!" );
+}
+
+}