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/FilePropsPageBase.java

138 lines
4.2 KiB

/****************************************************************************
** Form interface generated from reading ui file 'filepropspagebase.ui'
**
** Created: Fri Nov 24 10:51:51 2000
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
import org.trinitydesktop.qt.*;
public class FilePropsPageBase extends TQWidget {
TQGroupBox GroupBox7;
TQLabel TextLabel1_2;
TQLineEdit classname_edit;
TQLabel TextLabel2_2;
TQLineEdit baseclass_edit;
TQLineEdit headerfile_edit;
TQLabel implfile_label;
TQLabel headerfile_label;
TQLineEdit implfile_edit;
TQLabel TextLabel5;
TQLabel TextLabel6;
TQListBox classes_listbox;
TQMultiLineEdit desc_textview;
TQGridLayout grid;
TQGridLayout grid_2;
/*
* Constructs a FilePropsPageBase which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
public FilePropsPageBase( TQWidget parent, String name, int fl )
{
super( parent, name, fl );
if ( name == null )
setName( "Form1" );
resize( 414, 366 );
setCaption( tr( "Form1" ) );
grid = new TQGridLayout( this );
grid.setSpacing( 6 );
grid.setMargin( 11 );
GroupBox7 = new TQGroupBox( this, "GroupBox7" );
GroupBox7.setTitle( tr( "Customize" ) );
GroupBox7.setColumnLayout(0, Qt.Vertical );
GroupBox7.layout().setSpacing( 0 );
GroupBox7.layout().setMargin( 0 );
grid_2 = new TQGridLayout( GroupBox7.layout() );
grid_2.setAlignment( Qt.AlignTop );
grid_2.setSpacing( 6 );
grid_2.setMargin( 11 );
TextLabel1_2 = new TQLabel( GroupBox7, "TextLabel1_2" );
TextLabel1_2.setText( tr( "Class name:" ) );
grid_2.addWidget( TextLabel1_2, 0, 0 );
classname_edit = new TQLineEdit( GroupBox7, "classname_edit" );
grid_2.addWidget( classname_edit, 1, 0 );
TextLabel2_2 = new TQLabel( GroupBox7, "TextLabel2_2" );
TextLabel2_2.setText( tr( "Base class:" ) );
grid_2.addWidget( TextLabel2_2, 2, 0 );
baseclass_edit = new TQLineEdit( GroupBox7, "baseclass_edit" );
grid_2.addWidget( baseclass_edit, 3, 0 );
headerfile_edit = new TQLineEdit( GroupBox7, "headerfile_edit" );
grid_2.addWidget( headerfile_edit, 1, 1 );
implfile_label = new TQLabel( GroupBox7, "implfile_label" );
implfile_label.setText( tr( "Implementation file:" ) );
grid_2.addWidget( implfile_label, 2, 1 );
headerfile_label = new TQLabel( GroupBox7, "headerfile_label" );
headerfile_label.setText( tr( "Header file:" ) );
grid_2.addWidget( headerfile_label, 0, 1 );
implfile_edit = new TQLineEdit( GroupBox7, "implfile_edit" );
grid_2.addWidget( implfile_edit, 3, 1 );
grid.addMultiCellWidget( GroupBox7, 2, 2, 0, 1 );
TextLabel5 = new TQLabel( this, "TextLabel5" );
TextLabel5.setText( tr( "Classes:" ) );
grid.addWidget( TextLabel5, 0, 0 );
TextLabel6 = new TQLabel( this, "TextLabel6" );
TextLabel6.setText( tr( "Description:" ) );
grid.addWidget( TextLabel6, 0, 1 );
classes_listbox = new TQListBox( this, "classes_listbox" );
grid.addWidget( classes_listbox, 1, 0 );
desc_textview = new TQMultiLineEdit( this, "desc_textview" );
desc_textview.setEnabled( true );
desc_textview.setText( tr( "" ) );
desc_textview.setWordWrap( TQMultiLineEdit.WidgetWidth );
desc_textview.setReadOnly( true );
grid.addWidget( desc_textview, 1, 1 );
// signals and slots connections
connect( classname_edit, SIGNAL( "textChanged(String)" ), this, SLOT( "slotClassnameChanged(String)" ) );
connect( classes_listbox, SIGNAL( "mouseButtonClicked(int,TQListBoxItem,TQPoint)" ), this, SLOT( "slotSelectionChanged()" ) );
// tab order
setTabOrder( classes_listbox, classname_edit );
setTabOrder( classname_edit, headerfile_edit );
setTabOrder( headerfile_edit, baseclass_edit );
setTabOrder( baseclass_edit, implfile_edit );
}
public void slotSelectionChanged()
{
tqWarning( "FilePropsPageBase.slotSelectionChanged(): Not implemented yet!" );
}
public void slotClassnameChanged(java.lang.String string)
{
tqWarning( "FilePropsPageBase.slotClassnameChanged(java.lang.String string): Not implemented yet!" );
}
}