From e9ae80694875f869892f13f4fcaf1170a00dea41 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/examples/old/resize.kmdr | 217 +++++++++++++++++++++++++++++++++++++ 1 file changed, 217 insertions(+) create mode 100644 kommander/examples/old/resize.kmdr (limited to 'kommander/examples/old/resize.kmdr') diff --git a/kommander/examples/old/resize.kmdr b/kommander/examples/old/resize.kmdr new file mode 100644 index 00000000..27ff5309 --- /dev/null +++ b/kommander/examples/old/resize.kmdr @@ -0,0 +1,217 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 516 + 187 + + + + Batch Image Resizer + + + + unnamed + + + 11 + + + 6 + + + + Layout2 + + + + unnamed + + + 0 + + + 6 + + + + FileSelectorSrc + + + + @widgetText + + + + Directory + + + + + FileSelectorDst + + + + @widgetText + + + + Directory + + + + + TextLabel1 + + + Source directory: + + + + + TextLabel2 + + + Destination directory: + + + + + + + Layout3 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel3 + + + Width: + + + + + SpinBoxWidth + + + + @widgetText + + + + + + TextLabel4 + + + Height: + + + + + SpinBoxHeight + + + + @widgetText + + + + + + Spacer1 + + + Horizontal + + + Expanding + + + + 141 + 0 + + + + + + + + Layout4 + + + + unnamed + + + 0 + + + 6 + + + + Spacer2 + + + Horizontal + + + Expanding + + + + 251 + 0 + + + + + + ExecButton + + + &Resize + + + + width=@SpinBoxWidth +height=@SpinBoxHeight + +cd @FileSelectorSrc + +for file in * +do + echo $file + convert -resize ${width}x${height} $file @FileSelectorDst/$file +done + + + + + true + + + + + + + + -- cgit v1.2.1