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.
23 lines
574 B
23 lines
574 B
#!/usr/bin/env kjscmd
|
|
|
|
// Create main view
|
|
var mw = new KMainWindow();
|
|
var box = new TQVBox( mw );
|
|
mw.setCentralWidget(box);
|
|
|
|
var lv = new KListView( box );
|
|
|
|
lv.addColumn('Pix');
|
|
lv.addColumn('One');
|
|
lv.addColumn('Two');
|
|
lv.addColumn('Three');
|
|
|
|
lv.insertItem( StdIcons.BarIcon("no"), 'Something', "Nothing", "Thing" );
|
|
lv.insertItem( StdIcons.BarIcon("no"), 'Something', "Nothing", "Thing" );
|
|
lv.insertItem( StdIcons.BarIcon("no"), 'Something', "Nothing", "Thing" );
|
|
lv.insertItem( StdIcons.BarIcon("no"), 'Something', "Nothing", "Thing" );
|
|
|
|
|
|
mw.show();
|
|
application.exec();
|