/**************************************************************************** ** 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.kde.qt.*; public class FilePropsPageBase extends QWidget { QGroupBox GroupBox7; QLabel TextLabel1_2; QLineEdit classname_edit; QLabel TextLabel2_2; QLineEdit baseclass_edit; QLineEdit headerfile_edit; QLabel implfile_label; QLabel headerfile_label; QLineEdit implfile_edit; QLabel TextLabel5; QLabel TextLabel6; QListBox classes_listbox; QMultiLineEdit desc_textview; QGridLayout grid; QGridLayout grid_2; /* * Constructs a FilePropsPageBase which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ public FilePropsPageBase( QWidget parent, String name, int fl ) { super( parent, name, fl ); if ( name == null ) setName( "Form1" ); resize( 414, 366 ); setCaption( tr( "Form1" ) ); grid = new QGridLayout( this ); grid.setSpacing( 6 ); grid.setMargin( 11 ); GroupBox7 = new QGroupBox( this, "GroupBox7" ); GroupBox7.setTitle( tr( "Customize" ) ); GroupBox7.setColumnLayout(0, Qt.Vertical ); GroupBox7.layout().setSpacing( 0 ); GroupBox7.layout().setMargin( 0 ); grid_2 = new QGridLayout( GroupBox7.layout() ); grid_2.setAlignment( Qt.AlignTop ); grid_2.setSpacing( 6 ); grid_2.setMargin( 11 ); TextLabel1_2 = new QLabel( GroupBox7, "TextLabel1_2" ); TextLabel1_2.setText( tr( "Class name:" ) ); grid_2.addWidget( TextLabel1_2, 0, 0 ); classname_edit = new QLineEdit( GroupBox7, "classname_edit" ); grid_2.addWidget( classname_edit, 1, 0 ); TextLabel2_2 = new QLabel( GroupBox7, "TextLabel2_2" ); TextLabel2_2.setText( tr( "Base class:" ) ); grid_2.addWidget( TextLabel2_2, 2, 0 ); baseclass_edit = new QLineEdit( GroupBox7, "baseclass_edit" ); grid_2.addWidget( baseclass_edit, 3, 0 ); headerfile_edit = new QLineEdit( GroupBox7, "headerfile_edit" ); grid_2.addWidget( headerfile_edit, 1, 1 ); implfile_label = new QLabel( GroupBox7, "implfile_label" ); implfile_label.setText( tr( "Implementation file:" ) ); grid_2.addWidget( implfile_label, 2, 1 ); headerfile_label = new QLabel( GroupBox7, "headerfile_label" ); headerfile_label.setText( tr( "Header file:" ) ); grid_2.addWidget( headerfile_label, 0, 1 ); implfile_edit = new QLineEdit( GroupBox7, "implfile_edit" ); grid_2.addWidget( implfile_edit, 3, 1 ); grid.addMultiCellWidget( GroupBox7, 2, 2, 0, 1 ); TextLabel5 = new QLabel( this, "TextLabel5" ); TextLabel5.setText( tr( "Classes:" ) ); grid.addWidget( TextLabel5, 0, 0 ); TextLabel6 = new QLabel( this, "TextLabel6" ); TextLabel6.setText( tr( "Description:" ) ); grid.addWidget( TextLabel6, 0, 1 ); classes_listbox = new QListBox( this, "classes_listbox" ); grid.addWidget( classes_listbox, 1, 0 ); desc_textview = new QMultiLineEdit( this, "desc_textview" ); desc_textview.setEnabled( true ); desc_textview.setText( tr( "" ) ); desc_textview.setWordWrap( QMultiLineEdit.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,QListBoxItem,QPoint)" ), 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() { qWarning( "FilePropsPageBase.slotSelectionChanged(): Not implemented yet!" ); } public void slotClassnameChanged(java.lang.String string) { qWarning( "FilePropsPageBase.slotClassnameChanged(java.lang.String string): Not implemented yet!" ); } }