summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/test/FilePropsPageBase.java
blob: 076ab62bc1d79abd623406fe7ee6b8c70ae3ba30 (plain)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/****************************************************************************
** 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 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!" );
}

}