Form1 Form1 0 0 494 473 Set wallpaper @Array.setValue(programs,0,kuickshow) @Array.setValue(programs,1,kview) @Array.setValue(programs,2,gimp) @fileSelector.setText(@dcop(kdesktop,KBackgroundIface,"currentWallpaper(int)",0)) @switch(@dcop(kdesktop,KDesktopIface,"isIconsEnabled()")) @case(1) @showIcons.setChecked(true) @case(0) @showIcons.setChecked(false) @end @position.setCurrentItem(6) unnamed 11 6 Layout11 unnamed 0 6 Label5 Image file: fileSelector StrongFocus *.jpg *.png|Images (*.jpg *.png) Choose background image Layout17 unnamed 0 6 Spacer12 Vertical Expanding 0 16 Spacer9 Horizontal Expanding 30 0 applySettings @dcop(kdesktop,KDesktopIface,"setIconsEnabled(bool)",@showIcons) @dcop(kdesktop,KBackgroundIface,"setWallpaper(QString,int)", @fileSelector.text,@position.currentItem) preview 40 30 400 300 GroupBoxPanel true Spacer11 Vertical Expanding 0 30 Spacer13 Horizontal Expanding 30 0 information Information: Information: @exec(file -b "@fileSelector.text") Layout10 unnamed 0 6 Layout8 unnamed 0 6 None Centered Tiled Centered tiled Centered maxpect Tiled maxpect Scaled Centered auto fit position 7 0 0 0 Kuickshow KView The GIMP viewingApplication 7 0 0 0 Label7 Viewing application: Label8 Wallpaper position: Spacer8 Horizontal Expanding 30 0 showIcons Show icons on desktop false true Layout7 unnamed 0 6 Spacer7 Horizontal Expanding 30 0 okButton 1 0 0 0 &OK true @applySettings applyButton 1 0 0 0 &Apply @applySettings viewButton 1 0 0 0 &View @Array.value(programs,@viewingApplication.currentItem) "@fileSelector.text" cancelButton 1 0 0 0 &Cancel fileSelector widgetTextChanged(const QString&) preview setWidgetText(const QString&) fileSelector widgetTextChanged(const QString&) information populate()