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.
tdebindings/kjsembed/docs/examples/stdicons/stdicons.js

18 lines
485 B

#!/usr/bin/env kjscmd
var mainBox = new QVBox(this);
var Icon1 = new QLabel(mainBox);
var Icon2 = new QLabel(mainBox);
var Icon3 = new QLabel(mainBox);
var Icon4 = new QLabel(mainBox);
var Icon5 = new QLabel(mainBox);
Icon1.pixmap = StdIcons.BarIcon("openterm");
Icon2.pixmap = StdIcons.DesktopIcon("folder");
Icon3.pixmap = StdIcons.SmallIcon("folder");
Icon4.pixmap = StdIcons.MainBarIcon("fileclose");
Icon5.pixmap = StdIcons.UserIcon("ftp");
mainBox.show();
application.exec();