Form1 Form1 0 0 494 414 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) Layout7 20 380 450 27 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 Layout10 10 300 450 56 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 Layout11 10 10 350 27 unnamed 0 6 Label5 Image file: fileSelector StrongFocus *.jpg *.png|Images (*.jpg *.png) Choose background image information 10 240 440 20 Information: Information: @exec(file -b "@fileSelector.text") Layout17 70 50 206 192 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 fileSelector widgetTextChanged(const QString&) preview setWidgetText(const QString&) fileSelector widgetTextChanged(const QString&) information populate() fileSelector position viewingApplication showIcons okButton applyButton viewButton cancelButton