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.
27 lines
333 B
27 lines
333 B
15 years ago
|
#!/usr/bin/env kjscmd
|
||
|
|
||
|
// Usage: kjscmd --noexec opaque.js 2>/dev/null
|
||
|
|
||
|
//
|
||
|
// Test QVariant support
|
||
|
//
|
||
|
|
||
|
var w = new QLabel();
|
||
|
w.text = 'Test';
|
||
|
|
||
|
var sp = w.sizePolicy;
|
||
|
println(sp);
|
||
|
|
||
|
var cr = w.childrenRegion;
|
||
|
println(cr);
|
||
|
|
||
|
//
|
||
|
// Test void * support
|
||
|
//
|
||
|
|
||
|
var view = part.view();
|
||
|
println(view);
|
||
|
println(dump(view));
|
||
|
|
||
|
application.quit();
|