summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/demo/widgets/WidgetsBase.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/examples/demo/widgets/WidgetsBase.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/examples/demo/widgets/WidgetsBase.java')
-rw-r--r--qtjava/javalib/examples/demo/widgets/WidgetsBase.java416
1 files changed, 208 insertions, 208 deletions
diff --git a/qtjava/javalib/examples/demo/widgets/WidgetsBase.java b/qtjava/javalib/examples/demo/widgets/WidgetsBase.java
index 74382cee..857a8fb3 100644
--- a/qtjava/javalib/examples/demo/widgets/WidgetsBase.java
+++ b/qtjava/javalib/examples/demo/widgets/WidgetsBase.java
@@ -12,80 +12,80 @@ import java.util.Calendar;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
-public class WidgetsBase extends QWidget {
- QListBox ListBox3;
- QTextEdit TextEdit1;
- QTabWidget TabWidget2;
- QWidget tab;
- QIconView IconView1;
- QWidget tab_2;
- QTable Table1;
- QWidget tab_3;
- QListView ListView3;
- QGroupBox groupBox;
- QLCDNumber lcdDisplay;
- QSlider slider;
- QLabel TextLabel1_2;
- QPushButton pushButton;
- QComboBox buttonColorBox;
- QLineEdit lineEdit;
- QLabel TextLabel1_2_2;
- QSpinBox spinBox;
- QProgressBar progressBar;
- QLabel colorTest;
- QLabel PixmapLabel1;
- QButtonGroup ButtonGroup1;
- QCheckBox CheckBox1;
- QCheckBox CheckBox2;
- QCheckBox CheckBox3;
- QButtonGroup ButtonGroup2;
- QRadioButton RadioButton3;
- QRadioButton RadioButton4;
- QRadioButton RadioButton2;
- QGroupBox GroupBox1;
+public class WidgetsBase extends TQWidget {
+ TQListBox ListBox3;
+ TQTextEdit TextEdit1;
+ TQTabWidget TabWidget2;
+ TQWidget tab;
+ TQIconView IconView1;
+ TQWidget tab_2;
+ TQTable Table1;
+ TQWidget tab_3;
+ TQListView ListView3;
+ TQGroupBox groupBox;
+ TQLCDNumber lcdDisplay;
+ TQSlider slider;
+ TQLabel TextLabel1_2;
+ TQPushButton pushButton;
+ TQComboBox buttonColorBox;
+ TQLineEdit lineEdit;
+ TQLabel TextLabel1_2_2;
+ TQSpinBox spinBox;
+ TQProgressBar progressBar;
+ TQLabel colorTest;
+ TQLabel PixmapLabel1;
+ TQButtonGroup ButtonGroup1;
+ TQCheckBox CheckBox1;
+ TQCheckBox CheckBox2;
+ TQCheckBox CheckBox3;
+ TQButtonGroup ButtonGroup2;
+ TQRadioButton RadioButton3;
+ TQRadioButton RadioButton4;
+ TQRadioButton RadioButton2;
+ TQGroupBox GroupBox1;
AnalogClock clock;
- QDateEdit dateEdit;
- QTimeEdit timeEdit;
- QLabel dateTimeLabel;
-
- QGridLayout WidgetsBaseLayout;
- QGridLayout tabLayout;
- QGridLayout tabLayout_2;
- QGridLayout tabLayout_3;
- QGridLayout groupBoxLayout;
- QHBoxLayout Layout9;
- QGridLayout ButtonGroup1Layout;
- QGridLayout ButtonGroup2Layout;
- QGridLayout GroupBox1Layout;
- QHBoxLayout Layout5;
- QSizePolicy sizePolicy1;
- QSizePolicy sizePolicy2;
- QSizePolicy sizePolicy3;
-
- QIconViewItem item1;
- QIconViewItem item2;
- QIconViewItem item3;
- QIconViewItem item4;
- QIconViewItem item5;
- QIconViewItem item6;
- QIconViewItem item7;
- QIconViewItem item8;
- QIconViewItem item9;
- QIconViewItem item10;
- QIconViewItem item11;
- QIconViewItem item12;
- QIconViewItem item13;
- QIconViewItem item14;
- QIconViewItem item15;
- QIconViewItem item16;
- QIconViewItem item17;
-
- QListViewItem item_1;
- QListViewItem item_2;
- QListViewItem item_3;
- QListViewItem item_4;
- QListViewItem item_5;
- QListViewItem item_6;
+ TQDateEdit dateEdit;
+ TQTimeEdit timeEdit;
+ TQLabel dateTimeLabel;
+
+ TQGridLayout WidgetsBaseLayout;
+ TQGridLayout tabLayout;
+ TQGridLayout tabLayout_2;
+ TQGridLayout tabLayout_3;
+ TQGridLayout groupBoxLayout;
+ TQHBoxLayout Layout9;
+ TQGridLayout ButtonGroup1Layout;
+ TQGridLayout ButtonGroup2Layout;
+ TQGridLayout GroupBox1Layout;
+ TQHBoxLayout Layout5;
+ TQSizePolicy sizePolicy1;
+ TQSizePolicy sizePolicy2;
+ TQSizePolicy sizePolicy3;
+
+ TQIconViewItem item1;
+ TQIconViewItem item2;
+ TQIconViewItem item3;
+ TQIconViewItem item4;
+ TQIconViewItem item5;
+ TQIconViewItem item6;
+ TQIconViewItem item7;
+ TQIconViewItem item8;
+ TQIconViewItem item9;
+ TQIconViewItem item10;
+ TQIconViewItem item11;
+ TQIconViewItem item12;
+ TQIconViewItem item13;
+ TQIconViewItem item14;
+ TQIconViewItem item15;
+ TQIconViewItem item16;
+ TQIconViewItem item17;
+
+ TQListViewItem item_1;
+ TQListViewItem item_2;
+ TQListViewItem item_3;
+ TQListViewItem item_4;
+ TQListViewItem item_5;
+ TQListViewItem item_6;
static String[] image0_data = {
"16 16 92 2",
@@ -267,7 +267,7 @@ static String[] image1_data = {
"....#awjxjIEiJKl",
"....#eLxjIEjjjMl",
"....#axNIEJJOPQl",
-"....#RSTUVDWXQYl",
+"....#RSTUVDWXTQYl",
"....#lllllllllll"};
static String[] image2_data = {
@@ -1645,7 +1645,7 @@ static String[] image11_data = {
"..a#......jjvlEhhFGvwHIc........",
".cdh#b......jjJwKLGBlfMN........",
".cdGqzcc......jjhOvlBwEhc.......",
-".jdyvCKPcc.....bkEGlwQKRS.......",
+".jdyvCKPcc.....bkEGlwTQKRS.......",
".jkdeAlKEPcc...TxGBlwwtRc.......",
".jhkdyAJGEEhcccxlGGwUwgVWj......",
".jEhkdeyBlwftqtUwGwwlsXYZWjj....",
@@ -2719,7 +2719,7 @@ static String[] image16_data = {
"..........#gpgpgponmR#..........",
"...........#fpfgQqGS#...........",
"............#gffovA#............",
-".............rQQqz#.............",
+".............rTQQqz#.............",
".............TNqek#.............",
".............OeqvU#.............",
".............#Nqvc#.............",
@@ -5651,60 +5651,60 @@ static String[] image41_data = {
* Constructs a WidgetsBase which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
-WidgetsBase( QWidget parent, String name, int fl )
+WidgetsBase( TQWidget parent, String name, int fl )
{
super( parent, name, fl );
- QPixmap image0 = new QPixmap( ( String[] ) image0_data );
- QPixmap image1 = new QPixmap( ( String[] ) image1_data );
- QPixmap image2 = new QPixmap( ( String[] ) image2_data );
- QPixmap image3 = new QPixmap( ( String[] ) image3_data );
- QPixmap image4 = new QPixmap( ( String[] ) image4_data );
- QPixmap image5 = new QPixmap( ( String[] ) image5_data );
- QPixmap image6 = new QPixmap( ( String[] ) image6_data );
- QPixmap image7 = new QPixmap( ( String[] ) image7_data );
- QPixmap image8 = new QPixmap( ( String[] ) image8_data );
- QPixmap image9 = new QPixmap( ( String[] ) image9_data );
- QPixmap image10 = new QPixmap( ( String[] ) image10_data );
- QPixmap image11 = new QPixmap( ( String[] ) image11_data );
- QPixmap image12 = new QPixmap( ( String[] ) image12_data );
- QPixmap image13 = new QPixmap( ( String[] ) image13_data );
- QPixmap image14 = new QPixmap( ( String[] ) image14_data );
- QPixmap image15 = new QPixmap( ( String[] ) image15_data );
- QPixmap image16 = new QPixmap( ( String[] ) image16_data );
- QPixmap image17 = new QPixmap( ( String[] ) image17_data );
- QPixmap image18 = new QPixmap( ( String[] ) image18_data );
- QPixmap image19 = new QPixmap( ( String[] ) image19_data );
- QPixmap image20 = new QPixmap( ( String[] ) image20_data );
- QPixmap image21 = new QPixmap( ( String[] ) image21_data );
- QPixmap image22 = new QPixmap( ( String[] ) image22_data );
- QPixmap image23 = new QPixmap( ( String[] ) image23_data );
- QPixmap image24 = new QPixmap( ( String[] ) image24_data );
- QPixmap image25 = new QPixmap( ( String[] ) image25_data );
- QPixmap image26 = new QPixmap( ( String[] ) image26_data );
- QPixmap image27 = new QPixmap( ( String[] ) image27_data );
- QPixmap image28 = new QPixmap( ( String[] ) image28_data );
- QPixmap image29 = new QPixmap( ( String[] ) image29_data );
- QPixmap image30 = new QPixmap( ( String[] ) image30_data );
- QPixmap image31 = new QPixmap( ( String[] ) image31_data );
- QPixmap image32 = new QPixmap( ( String[] ) image32_data );
- QPixmap image33 = new QPixmap( ( String[] ) image33_data );
- QPixmap image34 = new QPixmap( ( String[] ) image34_data );
- QPixmap image35 = new QPixmap( ( String[] ) image35_data );
- QPixmap image36 = new QPixmap( ( String[] ) image36_data );
- QPixmap image37 = new QPixmap( ( String[] ) image37_data );
- QPixmap image38 = new QPixmap( ( String[] ) image38_data );
- QPixmap image39 = new QPixmap( ( String[] ) image39_data );
- QPixmap image40 = new QPixmap( ( String[] ) image40_data );
- QPixmap image41 = new QPixmap( ( String[] ) image41_data );
+ TQPixmap image0 = new TQPixmap( ( String[] ) image0_data );
+ TQPixmap image1 = new TQPixmap( ( String[] ) image1_data );
+ TQPixmap image2 = new TQPixmap( ( String[] ) image2_data );
+ TQPixmap image3 = new TQPixmap( ( String[] ) image3_data );
+ TQPixmap image4 = new TQPixmap( ( String[] ) image4_data );
+ TQPixmap image5 = new TQPixmap( ( String[] ) image5_data );
+ TQPixmap image6 = new TQPixmap( ( String[] ) image6_data );
+ TQPixmap image7 = new TQPixmap( ( String[] ) image7_data );
+ TQPixmap image8 = new TQPixmap( ( String[] ) image8_data );
+ TQPixmap image9 = new TQPixmap( ( String[] ) image9_data );
+ TQPixmap image10 = new TQPixmap( ( String[] ) image10_data );
+ TQPixmap image11 = new TQPixmap( ( String[] ) image11_data );
+ TQPixmap image12 = new TQPixmap( ( String[] ) image12_data );
+ TQPixmap image13 = new TQPixmap( ( String[] ) image13_data );
+ TQPixmap image14 = new TQPixmap( ( String[] ) image14_data );
+ TQPixmap image15 = new TQPixmap( ( String[] ) image15_data );
+ TQPixmap image16 = new TQPixmap( ( String[] ) image16_data );
+ TQPixmap image17 = new TQPixmap( ( String[] ) image17_data );
+ TQPixmap image18 = new TQPixmap( ( String[] ) image18_data );
+ TQPixmap image19 = new TQPixmap( ( String[] ) image19_data );
+ TQPixmap image20 = new TQPixmap( ( String[] ) image20_data );
+ TQPixmap image21 = new TQPixmap( ( String[] ) image21_data );
+ TQPixmap image22 = new TQPixmap( ( String[] ) image22_data );
+ TQPixmap image23 = new TQPixmap( ( String[] ) image23_data );
+ TQPixmap image24 = new TQPixmap( ( String[] ) image24_data );
+ TQPixmap image25 = new TQPixmap( ( String[] ) image25_data );
+ TQPixmap image26 = new TQPixmap( ( String[] ) image26_data );
+ TQPixmap image27 = new TQPixmap( ( String[] ) image27_data );
+ TQPixmap image28 = new TQPixmap( ( String[] ) image28_data );
+ TQPixmap image29 = new TQPixmap( ( String[] ) image29_data );
+ TQPixmap image30 = new TQPixmap( ( String[] ) image30_data );
+ TQPixmap image31 = new TQPixmap( ( String[] ) image31_data );
+ TQPixmap image32 = new TQPixmap( ( String[] ) image32_data );
+ TQPixmap image33 = new TQPixmap( ( String[] ) image33_data );
+ TQPixmap image34 = new TQPixmap( ( String[] ) image34_data );
+ TQPixmap image35 = new TQPixmap( ( String[] ) image35_data );
+ TQPixmap image36 = new TQPixmap( ( String[] ) image36_data );
+ TQPixmap image37 = new TQPixmap( ( String[] ) image37_data );
+ TQPixmap image38 = new TQPixmap( ( String[] ) image38_data );
+ TQPixmap image39 = new TQPixmap( ( String[] ) image39_data );
+ TQPixmap image40 = new TQPixmap( ( String[] ) image40_data );
+ TQPixmap image41 = new TQPixmap( ( String[] ) image41_data );
if ( name == null )
setName( "WidgetsBase" );
resize( 718, 565 );
setCaption( trUtf8( "Widgets" ) );
- WidgetsBaseLayout = new QGridLayout( this );
+ WidgetsBaseLayout = new TQGridLayout( this );
WidgetsBaseLayout.setSpacing( 6 );
WidgetsBaseLayout.setMargin( 11 );
- ListBox3 = new QListBox( this, "ListBox3" );
+ ListBox3 = new TQListBox( this, "ListBox3" );
ListBox3.insertItem( image0, trUtf8( "Applix", "" ) );
ListBox3.insertItem( image1, trUtf8( "Binary", "" ) );
ListBox3.insertItem( image2, trUtf8( "Core", "" ) );
@@ -5718,7 +5718,7 @@ WidgetsBase( QWidget parent, String name, int fl )
WidgetsBaseLayout.addWidget( ListBox3, 2, 0 );
- TextEdit1 = new QTextEdit( this, "TextEdit1" );
+ TextEdit1 = new TQTextEdit( this, "TextEdit1" );
TextEdit1.setText( trUtf8( "<p><h1><b><font size=\"5\" >Richtext </h1>\n"
+ "</p><p>Qt supports formatted rich text, such as the heading above, <i><font >emphasized</font></i>, <b><font >bold </font></b>and <u><font >underlined </font></u>text, as well as colored text. This is <font color=\"#ff0000\" >red</font>, while this is <font color=\"#00bb00\" >green</font>, and this is <font color=\"#0000ff\" >blue</font>. </p>\n"
+ "<> </>\n"
@@ -5726,43 +5726,43 @@ WidgetsBase( QWidget parent, String name, int fl )
WidgetsBaseLayout.addWidget( TextEdit1, 2, 1 );
- TabWidget2 = new QTabWidget( this, "TabWidget2" );
+ TabWidget2 = new TQTabWidget( this, "TabWidget2" );
- tab = new QWidget( TabWidget2, "tab" );
- tabLayout = new QGridLayout( tab );
+ tab = new TQWidget( TabWidget2, "tab" );
+ tabLayout = new TQGridLayout( tab );
tabLayout.setSpacing( 6 );
tabLayout.setMargin( 11 );
- IconView1 = new QIconView( tab, "IconView1" );
- item1 = new QIconViewItem( IconView1, trUtf8( "Item 1", "" ), image10 );
- item2 = new QIconViewItem( IconView1, trUtf8( "Item 2", "" ), image11 );
- item3 = new QIconViewItem( IconView1, trUtf8( "Item 3", "" ), image12 );
- item4 = new QIconViewItem( IconView1, trUtf8( "Item 4", "" ), image13 );
- item5 = new QIconViewItem( IconView1, trUtf8( "Item 5", "" ), image14 );
- item6 = new QIconViewItem( IconView1, trUtf8( "Item 6", "" ), image15 );
- item7 = new QIconViewItem( IconView1, trUtf8( "Item 7", "" ), image16 );
- item8 = new QIconViewItem( IconView1, trUtf8( "Item 8", "" ), image17 );
- item9 = new QIconViewItem( IconView1, trUtf8( "Item 9", "" ), image18 );
- item10 = new QIconViewItem( IconView1, trUtf8( "Item 10", "" ), image19 );
- item11 = new QIconViewItem( IconView1, trUtf8( "Item 11", "" ), image20 );
- item12 = new QIconViewItem( IconView1, trUtf8( "Item 12", "" ), image21 );
- item13 = new QIconViewItem( IconView1, trUtf8( "Item 13", "" ), image22 );
- item14 = new QIconViewItem( IconView1, trUtf8( "Item 14", "" ), image23 );
- item15 = new QIconViewItem( IconView1, trUtf8( "Item 15", "" ), image24 );
- item16 = new QIconViewItem( IconView1, trUtf8( "Item 16", "" ), image25 );
- item17 = new QIconViewItem( IconView1, trUtf8( "Item 17", "" ), image26 );
- IconView1.setArrangement( QIconView.LeftToRight );
- IconView1.setResizeMode( QIconView.Adjust );
+ IconView1 = new TQIconView( tab, "IconView1" );
+ item1 = new TQIconViewItem( IconView1, trUtf8( "Item 1", "" ), image10 );
+ item2 = new TQIconViewItem( IconView1, trUtf8( "Item 2", "" ), image11 );
+ item3 = new TQIconViewItem( IconView1, trUtf8( "Item 3", "" ), image12 );
+ item4 = new TQIconViewItem( IconView1, trUtf8( "Item 4", "" ), image13 );
+ item5 = new TQIconViewItem( IconView1, trUtf8( "Item 5", "" ), image14 );
+ item6 = new TQIconViewItem( IconView1, trUtf8( "Item 6", "" ), image15 );
+ item7 = new TQIconViewItem( IconView1, trUtf8( "Item 7", "" ), image16 );
+ item8 = new TQIconViewItem( IconView1, trUtf8( "Item 8", "" ), image17 );
+ item9 = new TQIconViewItem( IconView1, trUtf8( "Item 9", "" ), image18 );
+ item10 = new TQIconViewItem( IconView1, trUtf8( "Item 10", "" ), image19 );
+ item11 = new TQIconViewItem( IconView1, trUtf8( "Item 11", "" ), image20 );
+ item12 = new TQIconViewItem( IconView1, trUtf8( "Item 12", "" ), image21 );
+ item13 = new TQIconViewItem( IconView1, trUtf8( "Item 13", "" ), image22 );
+ item14 = new TQIconViewItem( IconView1, trUtf8( "Item 14", "" ), image23 );
+ item15 = new TQIconViewItem( IconView1, trUtf8( "Item 15", "" ), image24 );
+ item16 = new TQIconViewItem( IconView1, trUtf8( "Item 16", "" ), image25 );
+ item17 = new TQIconViewItem( IconView1, trUtf8( "Item 17", "" ), image26 );
+ IconView1.setArrangement( TQIconView.LeftToRight );
+ IconView1.setResizeMode( TQIconView.Adjust );
tabLayout.addWidget( IconView1, 0, 0 );
TabWidget2.insertTab( tab, trUtf8( "Iconview", "" ) );
- tab_2 = new QWidget( TabWidget2, "tab_2" );
- tabLayout_2 = new QGridLayout( tab_2 );
+ tab_2 = new TQWidget( TabWidget2, "tab_2" );
+ tabLayout_2 = new TQGridLayout( tab_2 );
tabLayout_2.setSpacing( 6 );
tabLayout_2.setMargin( 11 );
- Table1 = new QTable( tab_2, "Table1" );
+ Table1 = new TQTable( tab_2, "Table1" );
Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "Tables", "" ) );
Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "are", "" ) );
Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "easy", "" ) );
@@ -5775,9 +5775,9 @@ WidgetsBase( QWidget parent, String name, int fl )
Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "10", "" ) );
Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "11", "" ) );
Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "12", "" ) );
- Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new QIconSet(image27), trUtf8( "", "" ) );
- Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new QIconSet(image28), trUtf8( "", "" ) );
- Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new QIconSet(image29), trUtf8( "", "" ) );
+ Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new TQIconSet(image27), trUtf8( "", "" ) );
+ Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new TQIconSet(image28), trUtf8( "", "" ) );
+ Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new TQIconSet(image29), trUtf8( "", "" ) );
Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, trUtf8( "4", "" ) );
Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, trUtf8( "5", "" ) );
Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, trUtf8( "6", "" ) );
@@ -5794,37 +5794,37 @@ WidgetsBase( QWidget parent, String name, int fl )
tabLayout_2.addWidget( Table1, 0, 0 );
TabWidget2.insertTab( tab_2, trUtf8( "Table", "" ) );
- tab_3 = new QWidget( TabWidget2, "tab_3" );
- tabLayout_3 = new QGridLayout( tab_3 );
+ tab_3 = new TQWidget( TabWidget2, "tab_3" );
+ tabLayout_3 = new TQGridLayout( tab_3 );
tabLayout_3.setSpacing( 6 );
tabLayout_3.setMargin( 11 );
- ListView3 = new QListView( tab_3, "ListView3" );
+ ListView3 = new TQListView( tab_3, "ListView3" );
ListView3.addColumn( trUtf8( "Things", "" ) );
ListView3.addColumn( trUtf8( "Text", "" ) );
ListView3.addColumn( trUtf8( "Stuff", "" ) );
- item_1 = new QListViewItem( ListView3, "" );
+ item_1 = new TQListViewItem( ListView3, "" );
item_1.setPixmap( 0, image30 );
item_1.setText( 1, trUtf8( "Airbrush", "" ) );
item_1.setPixmap( 1, image31 );
item_1.setText( 2, trUtf8( "What stuff?", "" ) );
- item_4 = new QListViewItem( ListView3, item_1 );
+ item_4 = new TQListViewItem( ListView3, item_1 );
item_4.setPixmap( 0, image32 );
item_4.setText( 1, trUtf8( "Eraser", "" ) );
item_4.setPixmap( 1, image31 );
item_4.setText( 2, trUtf8( "Here?", "" ) );
- item_2 = new QListViewItem( ListView3, item_4 );
+ item_2 = new TQListViewItem( ListView3, item_4 );
item_2.setOpen( true );
- item_3 = new QListViewItem( item_2, item_4 );
+ item_3 = new TQListViewItem( item_2, item_4 );
item_3.setOpen( true );
- item_5 = new QListViewItem( item_3, item_4 );
+ item_5 = new TQListViewItem( item_3, item_4 );
item_5.setText( 0, trUtf8( "Subitem", "" ) );
item_5.setPixmap( 0, image28 );
item_3.setText( 0, trUtf8( "Pixmap subitem 1", "" ) );
item_2.setOpen( true );
- item_6 = new QListViewItem( item_2, item_3 );
+ item_6 = new TQListViewItem( item_2, item_3 );
item_6.setText( 0, trUtf8( "Pixmap subitem 2 ", "" ) );
item_2.setText( 0, trUtf8( "Pixmap item", "" ) );
item_2.setPixmap( 0, image33 );
@@ -5832,53 +5832,53 @@ WidgetsBase( QWidget parent, String name, int fl )
item_2.setText( 2, trUtf8( "Nothing Again", "" ) );
ListView3.setAllColumnsShowFocus( true );
- ListView3.setResizeMode( QListView.AllColumns );
+ ListView3.setResizeMode( TQListView.AllColumns );
tabLayout_3.addWidget( ListView3, 0, 0 );
TabWidget2.insertTab( tab_3, trUtf8( "Listview", "" ) );
WidgetsBaseLayout.addMultiCellWidget( TabWidget2, 3, 3, 0, 1 );
- groupBox = new QGroupBox( this, "groupBox" );
+ groupBox = new TQGroupBox( this, "groupBox" );
groupBox.setTitle( trUtf8( "Group box" ) );
groupBox.setColumnLayout(0, Qt.Vertical );
groupBox.layout().setSpacing( 0 );
groupBox.layout().setMargin( 0 );
- groupBoxLayout = new QGridLayout( groupBox.layout() );
+ groupBoxLayout = new TQGridLayout( groupBox.layout() );
groupBoxLayout.setAlignment( Qt.AlignTop );
groupBoxLayout.setSpacing( 6 );
groupBoxLayout.setMargin( 11 );
- lcdDisplay = new QLCDNumber( groupBox, "lcdDisplay" );
- sizePolicy1 = new QSizePolicy();
+ lcdDisplay = new TQLCDNumber( groupBox, "lcdDisplay" );
+ sizePolicy1 = new TQSizePolicy();
sizePolicy1.setHorData(7);
sizePolicy1.setVerData(7);
sizePolicy1.setHeightForWidth(lcdDisplay.sizePolicy().hasHeightForWidth());
lcdDisplay.setSizePolicy( sizePolicy1 );
lcdDisplay.setNumDigits( 2 );
- lcdDisplay.setSegmentStyle( QLCDNumber.Filled );
+ lcdDisplay.setSegmentStyle( TQLCDNumber.Filled );
groupBoxLayout.addMultiCellWidget( lcdDisplay, 0, 2, 3, 3 );
- slider = new QSlider( groupBox, "slider" );
- slider.setOrientation( QSlider.Horizontal );
- slider.setTickmarks( QSlider.Left );
+ slider = new TQSlider( groupBox, "slider" );
+ slider.setOrientation( TQSlider.Horizontal );
+ slider.setTickmarks( TQSlider.Left );
slider.setTickInterval( 5 );
groupBoxLayout.addWidget( slider, 2, 2 );
- TextLabel1_2 = new QLabel( groupBox, "TextLabel1_2" );
+ TextLabel1_2 = new TQLabel( groupBox, "TextLabel1_2" );
TextLabel1_2.setText( trUtf8( "Pick a base color:" ) );
groupBoxLayout.addWidget( TextLabel1_2, 0, 0 );
- pushButton = new QPushButton( groupBox, "pushButton" );
- pushButton.setCursor( new QCursor( 0 ) );
+ pushButton = new TQPushButton( groupBox, "pushButton" );
+ pushButton.setCursor( new TQCursor( 0 ) );
pushButton.setText( trUtf8( "&Reset colors" ) );
groupBoxLayout.addWidget( pushButton, 2, 0 );
- buttonColorBox = new QComboBox( false, groupBox, "buttonColorBox" );
+ buttonColorBox = new TQComboBox( false, groupBox, "buttonColorBox" );
buttonColorBox.insertItem( image34, trUtf8( "pale green", "" ) );
buttonColorBox.insertItem( image35, trUtf8( "deep sky blue", "" ) );
buttonColorBox.insertItem( image36, trUtf8( "steel blue", "" ) );
@@ -5889,101 +5889,101 @@ WidgetsBase( QWidget parent, String name, int fl )
groupBoxLayout.addWidget( buttonColorBox, 1, 0 );
- lineEdit = new QLineEdit( groupBox, "lineEdit" );
+ lineEdit = new TQLineEdit( groupBox, "lineEdit" );
lineEdit.setText( trUtf8( "hot pink" ) );
groupBoxLayout.addWidget( lineEdit, 1, 1 );
- TextLabel1_2_2 = new QLabel( groupBox, "TextLabel1_2_2" );
+ TextLabel1_2_2 = new TQLabel( groupBox, "TextLabel1_2_2" );
TextLabel1_2_2.setText( trUtf8( "Enter a color name and hit return:" ) );
groupBoxLayout.addWidget( TextLabel1_2_2, 0, 1 );
- spinBox = new QSpinBox( groupBox, "spinBox" );
+ spinBox = new TQSpinBox( groupBox, "spinBox" );
groupBoxLayout.addWidget( spinBox, 1, 2 );
- progressBar = new QProgressBar( groupBox, "progressBar" );
+ progressBar = new TQProgressBar( groupBox, "progressBar" );
groupBoxLayout.addWidget( progressBar, 0, 2 );
- colorTest = new QLabel( groupBox, "colorTest" );
- colorTest.setFrameShape( QLabel.Box );
- colorTest.setFrameShadow( QLabel.Sunken );
+ colorTest = new TQLabel( groupBox, "colorTest" );
+ colorTest.setFrameShape( TQLabel.Box );
+ colorTest.setFrameShadow( TQLabel.Sunken );
colorTest.setText( trUtf8( "Color test area" ) );
- colorTest.setAlignment( QLabel.AlignAuto | QLabel.AlignCenter );
+ colorTest.setAlignment( TQLabel.AlignAuto | TQLabel.AlignCenter );
groupBoxLayout.addWidget( colorTest, 2, 1 );
WidgetsBaseLayout.addMultiCellWidget( groupBox, 1, 1, 0, 1 );
- Layout9 = new QHBoxLayout();
+ Layout9 = new TQHBoxLayout();
Layout9.setSpacing( 6 );
Layout9.setMargin( 0 );
- PixmapLabel1 = new QLabel( this, "PixmapLabel1" );
- PixmapLabel1.setFrameShape( QLabel.Panel );
+ PixmapLabel1 = new TQLabel( this, "PixmapLabel1" );
+ PixmapLabel1.setFrameShape( TQLabel.Panel );
PixmapLabel1.setMargin( 1 );
PixmapLabel1.setPixmap( image41 );
PixmapLabel1.setScaledContents( true );
Layout9.addWidget( PixmapLabel1 );
- ButtonGroup1 = new QButtonGroup( this, "ButtonGroup1" );
+ ButtonGroup1 = new TQButtonGroup( this, "ButtonGroup1" );
ButtonGroup1.setTitle( trUtf8( "Check boxes" ) );
ButtonGroup1.setColumnLayout(0, Qt.Vertical );
ButtonGroup1.layout().setSpacing( 0 );
ButtonGroup1.layout().setMargin( 0 );
- ButtonGroup1Layout = new QGridLayout( ButtonGroup1.layout() );
+ ButtonGroup1Layout = new TQGridLayout( ButtonGroup1.layout() );
ButtonGroup1Layout.setAlignment( Qt.AlignTop );
ButtonGroup1Layout.setSpacing( 6 );
ButtonGroup1Layout.setMargin( 11 );
- CheckBox1 = new QCheckBox( ButtonGroup1, "CheckBox1" );
+ CheckBox1 = new TQCheckBox( ButtonGroup1, "CheckBox1" );
CheckBox1.setText( trUtf8( "Apples" ) );
ButtonGroup1Layout.addWidget( CheckBox1, 0, 0 );
- CheckBox2 = new QCheckBox( ButtonGroup1, "CheckBox2" );
+ CheckBox2 = new TQCheckBox( ButtonGroup1, "CheckBox2" );
CheckBox2.setText( trUtf8( "Banana" ) );
ButtonGroup1Layout.addWidget( CheckBox2, 1, 0 );
- CheckBox3 = new QCheckBox( ButtonGroup1, "CheckBox3" );
+ CheckBox3 = new TQCheckBox( ButtonGroup1, "CheckBox3" );
CheckBox3.setText( trUtf8( "Orange" ) );
CheckBox3.setChecked( true );
ButtonGroup1Layout.addWidget( CheckBox3, 2, 0 );
Layout9.addWidget( ButtonGroup1 );
- ButtonGroup2 = new QButtonGroup( this, "ButtonGroup2" );
+ ButtonGroup2 = new TQButtonGroup( this, "ButtonGroup2" );
ButtonGroup2.setTitle( trUtf8( "Radio buttons" ) );
ButtonGroup2.setColumnLayout(0, Qt.Vertical );
ButtonGroup2.layout().setSpacing( 0 );
ButtonGroup2.layout().setMargin( 0 );
- ButtonGroup2Layout = new QGridLayout( ButtonGroup2.layout() );
+ ButtonGroup2Layout = new TQGridLayout( ButtonGroup2.layout() );
ButtonGroup2Layout.setAlignment( Qt.AlignTop );
ButtonGroup2Layout.setSpacing( 6 );
ButtonGroup2Layout.setMargin( 11 );
- RadioButton3 = new QRadioButton( ButtonGroup2, "RadioButton3" );
+ RadioButton3 = new TQRadioButton( ButtonGroup2, "RadioButton3" );
RadioButton3.setText( trUtf8( "Sprite" ) );
ButtonGroup2Layout.addWidget( RadioButton3, 1, 0 );
- RadioButton4 = new QRadioButton( ButtonGroup2, "RadioButton4" );
+ RadioButton4 = new TQRadioButton( ButtonGroup2, "RadioButton4" );
RadioButton4.setText( trUtf8( "Farris" ) );
ButtonGroup2Layout.addWidget( RadioButton4, 2, 0 );
- RadioButton2 = new QRadioButton( ButtonGroup2, "RadioButton2" );
+ RadioButton2 = new TQRadioButton( ButtonGroup2, "RadioButton2" );
RadioButton2.setText( trUtf8( "Solo" ) );
RadioButton2.setChecked( true );
ButtonGroup2Layout.addWidget( RadioButton2, 0, 0 );
Layout9.addWidget( ButtonGroup2 );
- GroupBox1 = new QGroupBox( this, "GroupBox1" );
- sizePolicy2 = new QSizePolicy();
+ GroupBox1 = new TQGroupBox( this, "GroupBox1" );
+ sizePolicy2 = new TQSizePolicy();
sizePolicy2.setHorData(7);
sizePolicy2.setVerData(7);
sizePolicy2.setHeightForWidth(GroupBox1.sizePolicy().hasHeightForWidth());
@@ -5992,38 +5992,38 @@ WidgetsBase( QWidget parent, String name, int fl )
GroupBox1.setColumnLayout(0, Qt.Vertical );
GroupBox1.layout().setSpacing( 0 );
GroupBox1.layout().setMargin( 0 );
- GroupBox1Layout = new QGridLayout( GroupBox1.layout() );
+ GroupBox1Layout = new TQGridLayout( GroupBox1.layout() );
GroupBox1Layout.setAlignment( Qt.AlignTop );
GroupBox1Layout.setSpacing( 6 );
GroupBox1Layout.setMargin( 11 );
clock = new AnalogClock( GroupBox1, "clock" );
- sizePolicy3 = new QSizePolicy();
+ sizePolicy3 = new TQSizePolicy();
sizePolicy3.setHorData(0);
sizePolicy3.setVerData(0);
sizePolicy3.setHeightForWidth(clock.sizePolicy().hasHeightForWidth());
clock.setSizePolicy( sizePolicy3 );
- clock.setMinimumSize( new QSize( 100, 100 ) );
+ clock.setMinimumSize( new TQSize( 100, 100 ) );
GroupBox1Layout.addMultiCellWidget( clock, 0, 2, 0, 0 );
- dateEdit = new QDateEdit( GroupBox1, "dateEdit" );
+ dateEdit = new TQDateEdit( GroupBox1, "dateEdit" );
GroupBox1Layout.addWidget( dateEdit, 1, 1 );
- timeEdit = new QTimeEdit( GroupBox1, "timeEdit" );
+ timeEdit = new TQTimeEdit( GroupBox1, "timeEdit" );
timeEdit.setAutoAdvance( true );
GroupBox1Layout.addWidget( timeEdit, 2, 1 );
- Layout5 = new QHBoxLayout();
+ Layout5 = new TQHBoxLayout();
Layout5.setSpacing( 6 );
Layout5.setMargin( 0 );
- dateTimeLabel = new QLabel( GroupBox1, "dateTimeLabel" );
+ dateTimeLabel = new TQLabel( GroupBox1, "dateTimeLabel" );
dateTimeLabel.setText( trUtf8( "DateTime string goes here!" ) );
Layout5.addWidget( dateTimeLabel );
- QSpacerItem spacer = new QSpacerItem( 20, 20, QSizePolicy.Expanding, QSizePolicy.Minimum );
+ TQSpacerItem spacer = new TQSpacerItem( 20, 20, TQSizePolicy.Expanding, TQSizePolicy.Minimum );
Layout5.addItem( spacer );
GroupBox1Layout.addLayout( Layout5, 0, 1 );
@@ -6053,12 +6053,12 @@ WidgetsBase( QWidget parent, String name, int fl )
init();
}
-WidgetsBase( QWidget parent, String name)
+WidgetsBase( TQWidget parent, String name)
{
this(parent, name, 0);
}
-WidgetsBase( QWidget parent)
+WidgetsBase( TQWidget parent)
{
this(parent, null, 0);
}
@@ -6095,12 +6095,12 @@ public void destroy()
public void setColor(String color)
{
- groupBox.setPalette( new QPalette(new QColor( color )) );
+ groupBox.setPalette( new TQPalette(new TQColor( color )) );
}
public void updateColorTest(String color)
{
- colorTest.setPalette( new QPalette(new QColor( color )) );
+ colorTest.setPalette( new TQPalette(new TQColor( color )) );
}
public void updateDateTimeString()