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/Makefile.am | 7 + kommander/examples/old/checkmail.kmdr | 44 + kommander/examples/old/ex1.kmdr | 105 +++ kommander/examples/old/execprogram.kmdr | 104 +++ kommander/examples/old/firstform.kmdr.kmdr | 88 ++ kommander/examples/old/form1.kmdr | 96 ++ kommander/examples/old/form2.kmdr | 118 +++ kommander/examples/old/form3.kmdr | 62 ++ kommander/examples/old/form4.kmdr | 88 ++ kommander/examples/old/form5.kmdr | 346 +++++++ kommander/examples/old/newfile.kmdr | 934 +++++++++++++++++++ kommander/examples/old/populate.kmdr | 111 +++ kommander/examples/old/resize.kmdr | 217 +++++ kommander/examples/old/selectedwidgettext.kmdr | 105 +++ kommander/examples/old/settings.kmdr | 264 ++++++ kommander/examples/old/simplelist.kmdr | 214 +++++ kommander/examples/old/tar.kmdr | 479 ++++++++++ kommander/examples/old/tidy.kmdr | 1159 ++++++++++++++++++++++++ kommander/examples/old/widgetgenerator.kmdr | 438 +++++++++ kommander/examples/old/wizard.kmdr | 301 ++++++ 20 files changed, 5280 insertions(+) create mode 100644 kommander/examples/old/Makefile.am create mode 100644 kommander/examples/old/checkmail.kmdr create mode 100644 kommander/examples/old/ex1.kmdr create mode 100644 kommander/examples/old/execprogram.kmdr create mode 100644 kommander/examples/old/firstform.kmdr.kmdr create mode 100644 kommander/examples/old/form1.kmdr create mode 100644 kommander/examples/old/form2.kmdr create mode 100644 kommander/examples/old/form3.kmdr create mode 100644 kommander/examples/old/form4.kmdr create mode 100644 kommander/examples/old/form5.kmdr create mode 100644 kommander/examples/old/newfile.kmdr create mode 100644 kommander/examples/old/populate.kmdr create mode 100644 kommander/examples/old/resize.kmdr create mode 100644 kommander/examples/old/selectedwidgettext.kmdr create mode 100644 kommander/examples/old/settings.kmdr create mode 100644 kommander/examples/old/simplelist.kmdr create mode 100644 kommander/examples/old/tar.kmdr create mode 100644 kommander/examples/old/tidy.kmdr create mode 100644 kommander/examples/old/widgetgenerator.kmdr create mode 100755 kommander/examples/old/wizard.kmdr (limited to 'kommander/examples/old') diff --git a/kommander/examples/old/Makefile.am b/kommander/examples/old/Makefile.am new file mode 100644 index 00000000..4708d071 --- /dev/null +++ b/kommander/examples/old/Makefile.am @@ -0,0 +1,7 @@ +execkmdrdir = ${kde_datadir}/kmdr-editor/editor/old + +execkmdr_SCRIPTS = checkmail.kmdr execprogram.kmdr\ + form1.kmdr form3.kmdr form5.kmdr populate.kmdr selectedwidgettext.kmdr simplelist.kmdr tidy.kmdr\ + wizard.kmdr ex1.kmdr firstform.kmdr.kmdr form2.kmdr form4.kmdr newfile.kmdr resize.kmdr settings.kmdr \ + tar.kmdr widgetgenerator.kmdr + \ No newline at end of file diff --git a/kommander/examples/old/checkmail.kmdr b/kommander/examples/old/checkmail.kmdr new file mode 100644 index 00000000..d4fda432 --- /dev/null +++ b/kommander/examples/old/checkmail.kmdr @@ -0,0 +1,44 @@ + +mail + + + mail + + + + 0 + 0 + 155 + 47 + + + + Mail Checker + + + false + + + + ExecButton2 + + + + 10 + 10 + 133 + 29 + + + + Check &Mail + + + + @dcop("kmail", "KMailIface", "checkMail()", "") + + + + + + diff --git a/kommander/examples/old/ex1.kmdr b/kommander/examples/old/ex1.kmdr new file mode 100644 index 00000000..a916ee22 --- /dev/null +++ b/kommander/examples/old/ex1.kmdr @@ -0,0 +1,105 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 169 + 168 + + + + Sentence Generator + + + + unnamed + + + 11 + + + 6 + + + + sentenceGen + + + Words + + + + @lineEditOne@lineEditTwo@lineEditThree@lineEditFour@lineEditFive + + + + + unnamed + + + 11 + + + 6 + + + + lineEditOne + + + + @widgetText + + + + + + lineEditTwo + + + + @widgetText + + + + + + lineEditThree + + + + @widgetText + + + + + + lineEditFour + + + + @widgetText + + + + + + lineEditFive + + + + @widgetText + + + + + + + + + diff --git a/kommander/examples/old/execprogram.kmdr b/kommander/examples/old/execprogram.kmdr new file mode 100644 index 00000000..1149a3e2 --- /dev/null +++ b/kommander/examples/old/execprogram.kmdr @@ -0,0 +1,104 @@ + +Form2 + + + Form2 + + + + 0 + 0 + 243 + 79 + + + + Program Executor + + + + unnamed + + + 11 + + + 6 + + + + FileSelector3 + + + + @widgetText + + + + + + Layout2 + + + + unnamed + + + 0 + + + 6 + + + + Spacer1 + + + Horizontal + + + Expanding + + + + 30 + 0 + + + + + + ExecButton3 + + + &Run + + + + @FileSelector3 + + + + + + Spacer2 + + + Horizontal + + + Expanding + + + + 30 + 0 + + + + + + + + + diff --git a/kommander/examples/old/firstform.kmdr.kmdr b/kommander/examples/old/firstform.kmdr.kmdr new file mode 100644 index 00000000..68993392 --- /dev/null +++ b/kommander/examples/old/firstform.kmdr.kmdr @@ -0,0 +1,88 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 412 + 161 + + + + Text Editor + + + + unnamed + + + 11 + + + 6 + + + + textEdit + + + + @widgetText + + + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + fileChooser + + + + @widgetText + + + + + + saveButton + + + Save + + + + echo '@textEdit' > @fileChooser + + + + + + closeButton + + + Close + + + + + + + + diff --git a/kommander/examples/old/form1.kmdr b/kommander/examples/old/form1.kmdr new file mode 100644 index 00000000..e44b1e14 --- /dev/null +++ b/kommander/examples/old/form1.kmdr @@ -0,0 +1,96 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 124 + 130 + + + + Program Run Select + + + + unnamed + + + 11 + + + 6 + + + + programButtonGroup + + + Programs + + + + @widgetText + + + + + unnamed + + + 11 + + + 6 + + + + RadioButton2_2 + + + gvim + + + + + gvim + + + + + + RadioButton1 + + + gimp + + + + + gimp + + + + + + + + ExecButton1 + + + &Start + + + + @programButtonGroup + + + + + + + diff --git a/kommander/examples/old/form2.kmdr b/kommander/examples/old/form2.kmdr new file mode 100644 index 00000000..060fda56 --- /dev/null +++ b/kommander/examples/old/form2.kmdr @@ -0,0 +1,118 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 335 + 165 + + + + Form1 + + + + unnamed + + + 11 + + + 6 + + + + Layout3 + + + + unnamed + + + 0 + + + 6 + + + + GroupBox2 + + + + + + + @widgetText + + + + + unnamed + + + 11 + + + 6 + + + + programBox + + + + @widgetText + + + + + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + ExecButton1 + + + &Run + + + + @GroupBox2 + + + + + + CloseButton1 + + + &Close + + + + + + + + + + diff --git a/kommander/examples/old/form3.kmdr b/kommander/examples/old/form3.kmdr new file mode 100644 index 00000000..2b1ffbb2 --- /dev/null +++ b/kommander/examples/old/form3.kmdr @@ -0,0 +1,62 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 185 + 91 + + + + Form1 + + + + unnamed + + + 11 + + + 6 + + + + CheckBox1 + + + Check me + + + true + + + + unchecked + semichecked + checked + + + + + + ExecButton1 + + + &Run + + + + gvim @CheckBox1 + + + + + + + diff --git a/kommander/examples/old/form4.kmdr b/kommander/examples/old/form4.kmdr new file mode 100644 index 00000000..831c2878 --- /dev/null +++ b/kommander/examples/old/form4.kmdr @@ -0,0 +1,88 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 369 + 318 + + + + Form1 + + + + unnamed + + + 11 + + + 6 + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + TextEdit1 + + + + + + + + + + ExecButton1 + + + Run + + + + @LineEdit1 + + + + + + LineEdit1 + + + + @widgetText + + + + + + + + + + TextEdit1 + widgetTextChanged(const QString&) + LineEdit1 + setWidgetText(const QString&) + + + + diff --git a/kommander/examples/old/form5.kmdr b/kommander/examples/old/form5.kmdr new file mode 100644 index 00000000..7efeafda --- /dev/null +++ b/kommander/examples/old/form5.kmdr @@ -0,0 +1,346 @@ + +form1 + + + form1 + + + + 0 + 0 + 423 + 269 + + + + Echo Demo + + + + usetext + + + + 120 + 120 + 281 + 31 + + + + du -h + Test + + + + @widgetText + + + + + + ExecButton1_3 + + + + 230 + 170 + 90 + 30 + + + + Echo+Exec + + + + echo @usetext; @usetext + + + + true + + + true + + + + + TextLabel1 + + + + 10 + 121 + 101 + 30 + + + + Enter command: + + + + + FileSelector1 + + + + 10 + 30 + 401 + 30 + + + + + @widgetText + + + + + + ExecButton1_2 + + + + 120 + 170 + 90 + 30 + + + + Exec + + + + @usetext + + + + true + + + true + + + + + ExecButton7 + + + + 340 + 170 + 70 + 31 + + + + ls -l + + + + ls -l + + + + true + + + true + + + + + TextLabel1_2 + + + + 10 + 7 + 231 + 21 + + + + Select a file: + + + + + ExecButton1 + + + + 10 + 170 + 90 + 30 + + + + Echo + + + + echo @usetext + + + + true + + + true + + + + + ExecButton7_2 + + + + 150 + 70 + 91 + 31 + + + + Your File + + + + echo You chose @FileSelector1 + + + + true + + + + + CloseButton1 + + + + 340 + 210 + 70 + 31 + + + + Close + + + + echo "Thanks for testing" + + + + true + + + Try "What's this" on me! + + + Like you need someone to tell you what this is? +Wow that is so like lame man! + +Ha ha. We got it all with Kommander! + + + + + ExecButton5 + + + + 230 + 210 + 91 + 31 + + + + test + + + + echo "Thanks for testing" + + + + true + + + true + + + + + ExecButton9 + + + + 10 + 210 + 91 + 31 + + + + Count Files + + + + echo filecount: `ls | wc -l` + + + + false + + + + + ExecButton9_2 + + + + 120 + 210 + 91 + 31 + + + + Change Str + + + + echo "ls | wc -l" + + + + false + + + + + + ExecButton9 + widgetTextChanged(const QString&) + usetext + setWidgetText(const QString&) + + + ExecButton9_2 + widgetTextChanged(const QString&) + usetext + setText(const QString&) + + + + diff --git a/kommander/examples/old/newfile.kmdr b/kommander/examples/old/newfile.kmdr new file mode 100644 index 00000000..f02ca8e8 --- /dev/null +++ b/kommander/examples/old/newfile.kmdr @@ -0,0 +1,934 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 425 + 518 + + + + Quick Start + + + + TextLabel2 + + + + 40 + 140 + 40 + 21 + + + + Title: + + + + + TextLabel1 + + + + 21 + 5 + 410 + 36 + + + + + Helvetica + 14 + 1 + + + + HTML 4.01 Transitional - Quick Start + + + + + CBCVS + + + + 20 + 60 + 171 + 21 + + + + CVS tag in comment + + + + + + <!-- $Id$ --> + + + + + + CBHTML + + + + 20 + 80 + 131 + 21 + + + + HTML tag + + + true + + + + + + <html> + + + + + + LEBasedir + + + + 170 + 120 + 231 + 20 + + + + + @widgetText + + + + + + CBDTD + + + + 20 + 40 + 161 + 21 + + + + Show DTD + + + true + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> + + + + + + CBStyleArea + + + + 40 + 260 + 131 + 21 + + + + Style area + + + + + + <style> + + </style> + + + + + + CBMetaChar + + + + 40 + 200 + 140 + 21 + + + + Meta character set: + + + + + + <meta http-equiv="Content-Type" content="text/html; charset=@ComboMetachar"> + + + + + + CBStyle + + + + 40 + 240 + 140 + 21 + + + + Linked style sheet: + + + + + + <link rel="stylesheet" type="text/css" href="@LEStyle"> + + + + + + LEMetaAuthor + + + + 180 + 180 + 220 + 20 + + + + + @widgetText + + + + + + LEMetaKeywords + + + + 180 + 220 + 220 + 20 + + + + + @widgetText + + + + limit to 8, seperate with commas + + + + + LEStyle + + + + 180 + 240 + 220 + 20 + + + + + @widgetText + + + + + + + iso-8859-1 + + + + + iso-8859-2 + + + + + iso-8859-3 + + + + + iso-8859-4 + + + + + iso-8859-5 + + + + + iso-8859-6 + + + + + iso-8859-7 + + + + + iso-8859-8 + + + + + iso-8859-8i + + + + + iso-8859-9 + + + + + iso-8859-10 + + + + + iso-8859-11 + + + + + iso-8859-12 + + + + + iso-8859-13 + + + + + iso-8859-14 + + + + + iso-8859-15 + + + + + utf8 + + + + + utf16 + + + + ComboMetachar + + + + 180 + 200 + 221 + 21 + + + + + @widgetText + + + + + + CBMetaKeywords + + + + 40 + 220 + 130 + 20 + + + + Meta keywords: + + + + + + <meta name="KEYWORDS" content="@LEMetaKeywords"> + + + + + + CBMetaAuthor + + + + 40 + 180 + 130 + 20 + + + + Meta author: + + + + + + <meta name="AUTHOR" content="@LEMetaAuthor"> + + + + + + CBBasedir + + + + 40 + 120 + 120 + 21 + + + + Base directory: + + + + + + <base href="@LEBasedir"> + + + + + + CBHead + + + + 20 + 100 + 130 + 21 + + + + Head area + + + true + + + + + + <head> +@CBBasedir +@LETitle +@CBMetaQuanta +@CBMetaAuthor +@CBMetaChar +@CBMetaKeywords +@CBStyle +@CBStyleArea +@CBJavascript + + + + + + LETitle + + + + 90 + 140 + 311 + 20 + + + + + <title>@widgetText</title> + + + + + + CBBodyClose + + + false + + + + 20 + 380 + 91 + 21 + + + + /Body + + + true + + + + + + </body> + + + + + + CBHTMLClose + + + false + + + + 20 + 400 + 101 + 20 + + + + /HTML + + + true + + + + + + </html> + + + + + + CBHeadClose + + + false + + + + 20 + 300 + 70 + 21 + + + + /head + + + true + + + + + + </head> + + + + + + CBJavascript + + + + 40 + 280 + 140 + 21 + + + + JavaScript area + + + + + + <script language="javascript"> + + </script> + + + + + + CBBody + + + + 20 + 320 + 111 + 21 + + + + Body tag + + + true + + + + + + <body> + + + + + + ExecButton1 + + + + 170 + 480 + 81 + 31 + + + + &Test + + + false + + + + echo '@CBDTD +@CBCVS +@CBHTML +@CBHead +@CBHeadClose +@CBBody +@CBPHPHeader +@CBPHPFooter +@CBBodyClose +@CBHTMLClose' + + + + true + + + + + CloseButton1 + + + + 170 + 430 + 80 + 31 + + + + &OK + + + false + + + + echo '@CBDTD +@CBCVS +@CBHTML +@CBHead +@CBHeadClose +@CBBody +@CBPHPHeader +@CBPHPFooter +@CBBodyClose +@CBHTMLClose' + + + + true + + + + + LEPHPFooter + + + + 180 + 360 + 221 + 20 + + + + + @widgetText + + + + + + LEPHPHeader + + + + 180 + 340 + 220 + 20 + + + + + @widgetText + + + + + + CBPHPHeader + + + + 20 + 340 + 150 + 21 + + + + PHP header include: + + + + + + <? include ("@LEPHPHeader") ?> + + + + + + + CBPHPFooter + + + + 20 + 360 + 151 + 21 + + + + PHP footer include: + + + + + + +<? include ("@LEPHPFooter") ?> + + + + + + CBMetaQuanta + + + + 40 + 160 + 120 + 21 + + + + Meta Quanta + + + true + + + + + + <meta name="GENERATOR" content="Quanta Plus"> + + + + + + + CBHead + toggled(bool) + CBHeadClose + toggle() + + + CBBody + toggled(bool) + CBBodyClose + toggle() + + + CBHTML + toggled(bool) + CBHTMLClose + toggle() + + + CBHead + toggled(bool) + CBMetaAuthor + setEnabled(bool) + + + CBHead + toggled(bool) + CBMetaQuanta + setEnabled(bool) + + + CBHead + toggled(bool) + CBBasedir + setEnabled(bool) + + + CBHead + toggled(bool) + LEBasedir + setEnabled(bool) + + + CBHead + toggled(bool) + LETitle + setEnabled(bool) + + + CBHead + toggled(bool) + CBMetaChar + setEnabled(bool) + + + CBHead + toggled(bool) + CBMetaKeywords + setEnabled(bool) + + + CBHead + toggled(bool) + CBStyle + setEnabled(bool) + + + CBHead + toggled(bool) + CBStyleArea + setEnabled(bool) + + + CBHead + toggled(bool) + CBJavascript + setEnabled(bool) + + + CBHead + toggled(bool) + LEMetaKeywords + setEnabled(bool) + + + CBHead + toggled(bool) + LEStyle + setEnabled(bool) + + + CBHead + toggled(bool) + ComboMetachar + setEnabled(bool) + + + CBHead + toggled(bool) + LEMetaAuthor + setEnabled(bool) + + + + diff --git a/kommander/examples/old/populate.kmdr b/kommander/examples/old/populate.kmdr new file mode 100644 index 00000000..a5c5090d --- /dev/null +++ b/kommander/examples/old/populate.kmdr @@ -0,0 +1,111 @@ + +Populate_Dialog + + + Populate_Dialog + + + + 0 + 0 + 600 + 484 + + + + Population Dialog + + + + unnamed + + + 11 + + + 6 + + + + Layout2 + + + + unnamed + + + 0 + + + 6 + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + dirLineEdit + + + ~/ + + + + @widgetText + + + + + + populateButton + + + Update List + + + + + + + resultList + + + @exec("ls -1 @dirLineEdit") + + + + @widgetText + + + + + + + + + + populateButton + clicked() + resultList + populate() + + + dirLineEdit + widgetOpened() + resultList + populate() + + + + 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 + + + + + + + + diff --git a/kommander/examples/old/selectedwidgettext.kmdr b/kommander/examples/old/selectedwidgettext.kmdr new file mode 100644 index 00000000..058b6d86 --- /dev/null +++ b/kommander/examples/old/selectedwidgettext.kmdr @@ -0,0 +1,105 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 210 + 100 + + + + Selected Text Demo + + + + unnamed + + + 11 + + + 6 + + + + + gvim + + + + + xboard + + + + + kate + + + + commandListBox + + + + @selectedWidgetText + + + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + ExecButton1 + + + Run + + + + + + + @commandListBox + + + + + + Spacer1 + + + Vertical + + + Expanding + + + + 0 + 30 + + + + + + + + + diff --git a/kommander/examples/old/settings.kmdr b/kommander/examples/old/settings.kmdr new file mode 100644 index 00000000..1e028434 --- /dev/null +++ b/kommander/examples/old/settings.kmdr @@ -0,0 +1,264 @@ + +settingsDialog + + + settingsDialog + + + + 0 + 0 + 533 + 482 + + + + Settings Dialog + + + + + + + + + + + + + + unnamed + + + 11 + + + 6 + + + + Layout7 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel1 + + + Enter any text you want in the widgets below - Kommander will remember it! + + + + + lineEdit + + + @readSetting( "lineEditValue", "Default Line Edit Value" ) + + + + @widgetText + + + + + + textEdit + + + @readSetting("textEditValue", "Default Text Edit Value") + + + + @widgetText + + + + + + Layout6 + + + + unnamed + + + 0 + + + 6 + + + + Layout5 + + + + unnamed + + + 0 + + + 6 + + + + dirLineEdit + + + @readSetting("dirLineEdit", "~/") + + + + @widgetText + + + + + + ExecButton1 + + + Update + + + + ls -1 @dirLineEdit + + + + + + + + listBox + + + @readSetting("listBoxValue", "Default +List +Box +Items") + + + + + @widgetText + + + + + + + + Layout2 + + + + unnamed + + + 0 + + + 6 + + + + Spacer1 + + + Horizontal + + + Expanding + + + + 30 + 0 + + + + + + CloseButton1 + + + Close + + + + @writeSetting("lineEditValue", "@lineEdit" ) +@writeSetting("textEditValue", "@textEdit" ) +@writeSetting("listBoxValue", "@listBox" ) +@writeSetting("dirLineEdit", "@dirLineEdit") + + + + + + Spacer2 + + + Horizontal + + + Expanding + + + + 30 + 0 + + + + + + + + + + + + settingsDialog + widgetOpened() + lineEdit + populate() + + + settingsDialog + widgetOpened() + textEdit + populate() + + + settingsDialog + widgetOpened() + listBox + populate() + + + ExecButton1 + widgetTextChanged(const QString&) + listBox + setWidgetText(const QString&) + + + settingsDialog + widgetOpened() + dirLineEdit + populate() + + + + diff --git a/kommander/examples/old/simplelist.kmdr b/kommander/examples/old/simplelist.kmdr new file mode 100644 index 00000000..42a32323 --- /dev/null +++ b/kommander/examples/old/simplelist.kmdr @@ -0,0 +1,214 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 372 + 189 + + + + Form1 + + + + TextLabel1 + + + + 20 + 10 + 300 + 30 + + + + + Helvetica + 16 + 1 + + + + Simple List Short Demo + + + + + ExecButton12 + + + + 10 + 140 + 80 + 31 + + + + Echo + + + + echo ls @CheckBox17 @CheckBox18 @CheckBox19 + + + + true + + + + + ExecButton12_2 + + + + 100 + 140 + 80 + 31 + + + + Exec + + + + ls @CheckBox17 @CheckBox18 @CheckBox19 + + + + true + + + + + ExecButton12_3 + + + + 190 + 140 + 80 + 31 + + + + Echo+Exec + + + + echo ls @CheckBox17 @CheckBox18 @CheckBox19;ls @CheckBox17 @CheckBox18 @CheckBox19 + + + + true + + + + + CloseButton5 + + + + 280 + 140 + 81 + 31 + + + + Close + + + + echo "Thanks for testing" + + + + true + + + + + CheckBox17 + + + + 30 + 50 + 100 + 20 + + + + Long + + + false + + + false + + + + + + -l + + + + + + CheckBox18 + + + + 30 + 70 + 101 + 31 + + + + All + + + + + + -a + + + + + + CheckBox19 + + + + 30 + 100 + 110 + 31 + + + + Recursive + + + + + + -R + + + + + + diff --git a/kommander/examples/old/tar.kmdr b/kommander/examples/old/tar.kmdr new file mode 100644 index 00000000..37fcd10d --- /dev/null +++ b/kommander/examples/old/tar.kmdr @@ -0,0 +1,479 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 513 + 557 + + + + Tar + + + + unnamed + + + 11 + + + 6 + + + + mainChoice + + + Main Choice + + + + @widgetText + + + + + unnamed + + + 11 + + + 6 + + + + RadioButton1 + + + Append to archive + + + + + A + + + + + + RadioButton2 + + + Create archive + + + true + + + + + RadioButton3 + + + Find differences between archive and file system + + + false + + + + + RadioButton4 + + + Delete from archive + + + + + RadioButton5 + + + Append to the end of an archive + + + + + RadioButton6 + + + List contents + + + + + RadioButton7 + + + Update contents + + + + + + + + + + + RadioButton8 + + + Extract archive + + + + + + + Layout9 + + + + unnamed + + + 0 + + + 6 + + + + ButtonGroup2 + + + Read Options + + + + unnamed + + + 11 + + + 6 + + + + CheckBox1 + + + Ignore failed read + + + + + CheckBox2 + + + Keep existing files + + + + + CheckBox3 + + + Extract all protection information + + + + + CheckBox4 + + + Absolute path names + + + + + + + ButtonGroup3 + + + 1 + + + Write Options + + + + unnamed + + + 11 + + + 6 + + + + CheckBox5 + + + Dump files, not just symlinks + + + + + CheckBox6 + + + Remove files after adding to archive + + + + + CheckBox7 + + + Verbosely list files proceeded + + + + + CheckBox8 + + + Compression + + + + + ButtonGroup4 + + + 0 + + + 0 + + + + + + + unnamed + + + 0 + + + 0 + + + + Spacer4_2 + + + Horizontal + + + Fixed + + + + 30 + 16 + + + + + + Layout7 + + + + unnamed + + + 0 + + + 0 + + + + RadioButton9 + + + bzip + + + false + + + + + RadioButton10 + + + gzip + + + + + + + + + + + + + Layout5 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel1 + + + Archive name: + + + + + outputName + + + + + + + Layout6 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel2 + + + Files: + + + + + LineEdit1 + + + + + + + + + + Layout7 + + + + unnamed + + + 0 + + + 6 + + + + Spacer2 + + + Horizontal + + + Expanding + + + + 103 + 0 + + + + + + ExecButton1 + + + &Execute + + + + + Spacer3 + + + Horizontal + + + Expanding + + + + 104 + 0 + + + + + + CloseButton1 + + + &Close + + + + + Spacer4 + + + Horizontal + + + Expanding + + + + 103 + 0 + + + + + + + + + diff --git a/kommander/examples/old/tidy.kmdr b/kommander/examples/old/tidy.kmdr new file mode 100644 index 00000000..096dec40 --- /dev/null +++ b/kommander/examples/old/tidy.kmdr @@ -0,0 +1,1159 @@ + +Tidy + + + Tidy + + + + 0 + 0 + 578 + 611 + + + + Tidy by Kommander + + + + unnamed + + + 11 + + + 6 + + + + TabWidget1 + + + + tab + + + General Options + + + + GroupBox1 + + + + 11 + 11 + 437 + 110 + + + + Non Tidy Option + + + + TextLabel4 + + + + 10 + 50 + 310 + 40 + + + + + 1 + 1 + + + + Note: This will not work well if you have multiple +instances of Quanta running. + + + + + GUseDCOP + + + + 10 + 20 + 320 + 21 + + + + Use DCOP to send active page from Quanta+ to tidy + + + + + + 1 + + + + + + + GconfigF + + + false + + + + 11 + 377 + 437 + 32 + + + + + @widgetText + + + + + + TextLabel1 + + + + 11 + 127 + 437 + 40 + + + + Path to tidy (required): + + + + + GoutF + + + false + + + + 11 + 309 + 437 + 32 + + + + + @widgetText + + + + + + GinputEN + + + + 11 + 211 + 437 + 24 + + + + Input from file instead of stdin: + + + + 0 + + 1 + + + + + + GerrorEN + + + + 11 + 415 + 437 + 24 + + + + Write errors to file instead of stderr: + + + + 0 + + 1 + + + + + + GconfigEN + + + + 11 + 347 + 437 + 24 + + + + Use configuration from file: + + + + 0 + + 1 + + + + + + GoutputEN + + + + 11 + 279 + 437 + 24 + + + + Output to file instead of stdout: + + + + 0 + + 1 + + + + + + GinF + + + false + + + + 11 + 241 + 437 + 32 + + + + + @widgetText + + + + + + GerrorF + + + false + + + + 11 + 445 + 437 + 32 + + + + + @widgetText + + + + + + GmodF + + + false + + + + 11 + 483 + 437 + 24 + + + + Modify original input files + + + + 0 + + 1 + + + + + + GtidyPath + + + + 11 + 173 + 437 + 32 + + + + + @widgetText + + + + + + ExecButton2 + + + + 454 + 173 + 89 + 32 + + + + /usr/bin + + + + echo "/usr/bin/tidy" + + + + + + + tab + + + Processing Directives + + + + unnamed + + + 11 + + + 6 + + + + Layout1 + + + + unnamed + + + 0 + + + 6 + + + + ParseAsHTML + + + Force XHTML to well formed HTML + + + + + + 1 + + + + + + ParseAsXHTML + + + Convert HTML to well formed XHTML + + + + + + 1 + + + + + + ParseClean + + + Replace FONT, NOBR and CENTER tags by CSS + + + + 0 + + 1 + + + + + + ParseUpper + + + Force tags to upper case + + + + 0 + + 1 + + + + + + ParseXML + + + Specify the input is well formed XML + + + + + + 1 + + + + + + ParseOmit + + + Omit optional end tags + + + + + + 1 + + + + + + TextLabel1_2 + + + Do extra accessibility checks <level>: + + + + + ParseWrap + + + 500 + + + 68 + + + + @widgetText + + + + + + ParseNumeric + + + Output numeric rather than named entities + + + + + + 1 + + + + + + ParseErrors + + + Only show errors + + + + + + 1 + + + + + + ParseAccess + + + + @widgetText + + + + + + TextLabel2 + + + Wrap text at column: + + + + + ParseAsXML + + + Convert HTML to well formed XML + + + + + + 1 + + + + + + ParseIndent + + + Indent element content + + + + 0 + + 1 + + + + + + ParseBare + + + Strip out smart quotes and em dashes, etc. + + + + 0 + + 1 + + + + + + ParseQuiet + + + Suppress nonessential output + + + + + + 1 + + + + + + + + + + tab + + + Character Encodings + + + + unnamed + + + 11 + + + 6 + + + + CharEncoding + + + + + + + unnamed + + + 11 + + + 6 + + + + CEibm858 + + + (ibm858) use IBM-858 (CP850+Euro) for input, US-ASCII for output + + + + + -ibm858 + + + + + + CEraw + + + (raw) output values above 127 without conversion to entities + + + false + + + + + -raw + + + + + + CEutf16Le + + + (utf16le) use UTF-16LE for both input and output + + + + + -utf16le + + + + + + CElatin1 + + + (latin1) use ISO-8859-1 for both input and output + + + + + -latin1 + + + + + + CEwin1252 + + + (win1252) use Windows-1252 for input, US-ASCII for output + + + + + -win1252 + + + + + + CE + + + 2 + + + + + CEshiftjis + + + (shiftjis) use Shift_JIS for both input and output + + + + + -shiftjis + + + + + + CEutf16be + + + (utf16be) use UTF-16BE for both input and output + + + + + -utf16be + + + + + + CEascii + + + (ascii) use US-ASCII for output, ISO-8859-1 for input + + + + + -ascii + + + + + + CElangcode + + + Set the two-letter language code <lang> (for future use): + + + + + -language @CE + + + + + + CEutf16 + + + (utf16) use UTF-16 for both input and output + + + + + -utf16 + + + + + + CEbig5 + + + (big5) use Big5 for both input and output + + + + + -big5 + + + + + + CEutf8 + + + (utf8) use UTF-8 for both input and output + + + + + -utf8 + + + + + + CElatin0 + + + (latin0) use US-ASCII for output, ISO-8859-1 for input + + + + + -latin0 + + + + + + CEmac + + + (mac) use MacRoman for input, US-ASCII for output + + + + + -mac + + + + + + CEiso2022 + + + (iso2022) use ISO-2022 for both input and output + + + + + -iso2022 + + + + + + RadioButton16 + + + Bah, encoding, schmencoding + + + true + + + + + + + + + + + + + + + tab + + + About Tidy + + + + unnamed + + + 11 + + + 6 + + + + TextEdit1 + + + true + + + + 238 + 238 + 230 + + + + HTML Tidy Configuration Settings + +Within a file, use the form: + +wrap: 72 +split: no + +When specified on the command line, use the form: + +--wrap 72 --split no + +Name Type Allowable values +==================== ========= ============================== +indent-spaces Integer 0, 1, 2, ... +wrap Integer 0 (no wrapping), 1, 2, ... +tab-size Integer 0, 1, 2, ... +char-encoding Encoding ascii, latin0, latin1, raw, utf8, iso202 + utf16le, utf16be, utf16, + mac, win1252, ibm858, big5, shiftjis +input-encoding Encoding ascii, latin0, latin1, raw, utf8, iso202 + utf16le, utf16be, utf16, + mac, win1252, ibm858, big5, shiftjis +output-encoding Encoding ascii, latin0, latin1, raw, utf8, iso202 + utf16le, utf16be, utf16, + mac, win1252, ibm858, big5, shiftjis +newline enum LF, CRLF, CR +doctype DocType auto, omit, strict, loose, transitional, + user specified fpi (string) +repeated-attributes enum keep-first, keep-last +alt-text String - +slide-style String - +error-file String - +output-file String - +write-back Boolean y/n, yes/no, t/f, true/false, 1/0 +markup Boolean y/n, yes/no, t/f, true/false, 1/0 +show-warnings Boolean y/n, yes/no, t/f, true/false, 1/0 +quiet Boolean y/n, yes/no, t/f, true/false, 1/0 +indent AutoBool auto, y/n, yes/no, t/f, true/false, 1/0 +hide-endtags Boolean y/n, yes/no, t/f, true/false, 1/0 +input-xml Boolean y/n, yes/no, t/f, true/false, 1/0 +output-xml Boolean y/n, yes/no, t/f, true/false, 1/0 +output-xhtml Boolean y/n, yes/no, t/f, true/false, 1/0 +output-html Boolean y/n, yes/no, t/f, true/false, 1/0 +add-xml-decl Boolean y/n, yes/no, t/f, true/false, 1/0 +uppercase-tags Boolean y/n, yes/no, t/f, true/false, 1/0 +uppercase-attributes Boolean y/n, yes/no, t/f, true/false, 1/0 +bare Boolean y/n, yes/no, t/f, true/false, 1/0 +clean Boolean y/n, yes/no, t/f, true/false, 1/0 +logical-emphasis Boolean y/n, yes/no, t/f, true/false, 1/0 +drop-proprietary-attributes Boolean y/n, yes/no, t/f, true/false, 1/0 +drop-font-tags Boolean y/n, yes/no, t/f, true/false, 1/0 +drop-empty-paras Boolean y/n, yes/no, t/f, true/false, 1/0 +fix-bad-comments Boolean y/n, yes/no, t/f, true/false, 1/0 +break-before-br Boolean y/n, yes/no, t/f, true/false, 1/0 +split Boolean y/n, yes/no, t/f, true/false, 1/0 +numeric-entities Boolean y/n, yes/no, t/f, true/false, 1/0 +quote-marks Boolean y/n, yes/no, t/f, true/false, 1/0 +quote-nbsp Boolean y/n, yes/no, t/f, true/false, 1/0 +quote-ampersand Boolean y/n, yes/no, t/f, true/false, 1/0 +wrap-attributes Boolean y/n, yes/no, t/f, true/false, 1/0 +wrap-script-literals Boolean y/n, yes/no, t/f, true/false, 1/0 +wrap-sections Boolean y/n, yes/no, t/f, true/false, 1/0 +wrap-asp Boolean y/n, yes/no, t/f, true/false, 1/0 +wrap-jste Boolean y/n, yes/no, t/f, true/false, 1/0 +wrap-php Boolean y/n, yes/no, t/f, true/false, 1/0 +fix-backslash Boolean y/n, yes/no, t/f, true/false, 1/0 +indent-attributes Boolean y/n, yes/no, t/f, true/false, 1/0 +assume-xml-procins Boolean y/n, yes/no, t/f, true/false, 1/0 +add-xml-space Boolean y/n, yes/no, t/f, true/false, 1/0 +enclose-text Boolean y/n, yes/no, t/f, true/false, 1/0 +enclose-block-text Boolean y/n, yes/no, t/f, true/false, 1/0 +keep-time Boolean y/n, yes/no, t/f, true/false, 1/0 +word-2000 Boolean y/n, yes/no, t/f, true/false, 1/0 +tidy-mark Boolean y/n, yes/no, t/f, true/false, 1/0 +gnu-emacs Boolean y/n, yes/no, t/f, true/false, 1/0 +gnu-emacs-file String - +literal-attributes Boolean y/n, yes/no, t/f, true/false, 1/0 +show-body-only Boolean y/n, yes/no, t/f, true/false, 1/0 +fix-uri Boolean y/n, yes/no, t/f, true/false, 1/0 +lower-literals Boolean y/n, yes/no, t/f, true/false, 1/0 +hide-comments Boolean y/n, yes/no, t/f, true/false, 1/0 +indent-cdata Boolean y/n, yes/no, t/f, true/false, 1/0 +force-output Boolean y/n, yes/no, t/f, true/false, 1/0 +show-errors Integer 0, 1, 2, ... +ascii-chars Boolean y/n, yes/no, t/f, true/false, 1/0 +join-classes Boolean y/n, yes/no, t/f, true/false, 1/0 +join-styles Boolean y/n, yes/no, t/f, true/false, 1/0 +escape-cdata Boolean y/n, yes/no, t/f, true/false, 1/0 +language String - +ncr Boolean y/n, yes/no, t/f, true/false, 1/0 +output-bom AutoBool auto, y/n, yes/no, t/f, true/false, 1/0 +replace-color Boolean y/n, yes/no, t/f, true/false, 1/0 +css-prefix Name CSS1 selector +new-inline-tags Tag names tagX, tagY, ... +new-blocklevel-tags Tag names tagX, tagY, ... +new-empty-tags Tag names tagX, tagY, ... +new-pre-tags Tag names tagX, tagY, ... +accessibility-check Integer 0, 1, 2, ... + + + + true + + + + + + + + ExecButton1 + + + Process + + + + tidyargs="@GtidyPath @CharEncoding" + +[ 1 -eq @GmodF ] && tidyargs="$tidyargs -m" +[ 1 -eq @GoutputEN ] && tidyargs="$tidyargs -o @GoutF" +[ 1 -eq @GerrorEN ] && tidyargs="$tidyargs -f @GerrorF" +[ 1 -eq @GconfigEN ] && tidyargs="$tidyargs -config @GconfigF" +[ 1 -eq @GinputEN ] && tidyargs="$tidyargs @GinF" +[ 1 -eq @ParseIndent ] && tidyargs="$tidyargs -i" +[ 68 -lt @ParseWrap ] && tidyargs="$tidyargs -wrap @ParseWrap" +[ 1 -eq @ParseUpper ] && tidyargs="$tidyargs -u" +[ 1 -eq @ParseClean ] && tidyargs="$tidyargs -c" +[ 1 -eq @ParseBare ] && tidyargs="$tidyargs -b" +[ 1 -eq @ParseNumeric ] && tidyargs="$tidyargs -n" +[ 1 -eq @ParseErrors ] && tidyargs="$tidyargs -e" +[ 1 -eq @ParseQuiet ] && tidyargs="$tidyargs -q" +[ 1 -eq @ParseOmit ] && tidyargs="$tidyargs -omit" +[ 1 -eq @ParseXML ] && tidyargs="$tidyargs -xml" +[ 1 -eq @ParseAsHTML ] && tidyargs="$tidyargs -asxml" +[ 1 -eq @ParseAsXHTML ] && tidyargs="$tidyargs -asxhtml" +[ 1 -eq @ParseAsHTML ] && tidyargs="$tidyargs -ashtml" +[ 0 -lt @ParseAccess ] && tidyargs="$tidyargs -access @ParseAccess" + +if [ @GUseDCOP -eq 1 ]; then + dcopid=`dcop quanta*` + ifstr="EditInterface#"`dcop $dcopid WindowManagerIf currentEditorIfNum` + dcop $dcopid $ifstr text | $tidyargs +else + $tidyargs +fi + + + + + true + + + + + CloseButton1 + + + Eject! Eject! Eject! + + + + + Spacer1 + + + Horizontal + + + Expanding + + + + 131 + 0 + + + + + + Spacer2 + + + Horizontal + + + Expanding + + + + 121 + 0 + + + + + + + + GoutputEN + toggled(bool) + GoutF + setEnabled(bool) + + + GconfigEN + toggled(bool) + GconfigF + setEnabled(bool) + + + GerrorEN + toggled(bool) + GerrorF + setEnabled(bool) + + + GinputEN + toggled(bool) + GinF + setEnabled(bool) + + + GinputEN + toggled(bool) + GmodF + setEnabled(bool) + + + ExecButton2 + widgetTextChanged(const QString&) + GtidyPath + setWidgetText(const QString&) + + + + diff --git a/kommander/examples/old/widgetgenerator.kmdr b/kommander/examples/old/widgetgenerator.kmdr new file mode 100644 index 00000000..00ef6262 --- /dev/null +++ b/kommander/examples/old/widgetgenerator.kmdr @@ -0,0 +1,438 @@ + +widgetGen + + + widgetGen + + + + 0 + 0 + 470 + 267 + + + + Kommander Widget Source Generator + + + + unnamed + + + 11 + + + 6 + + + + Layout12 + + + + unnamed + + + 0 + + + 24 + + + + Spacer2 + + + Horizontal + + + Expanding + + + + 30 + 0 + + + + + + ExecButton1 + + + &Save + + + + +classNameLower=$(echo '@className' | tr "A-Z" "a-z") +classNameUpper=$(echo '@className' | tr "a-z" "A-Z") +inheritClassHeader=$(echo '@inheritClassName' | tr "A-Z" "a-z") + +headerContent="/*************************************************************************** + $classNameLower.h - @description + ------------------- + begin : @dateStarted + copyright : (C) @author + email : @email + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef _HAVE_${classNameUpper}_H_ +#define _HAVE_${classNameUpper}_H_ + +/* KDE INCLUDES */ + +/* QT INCLUDES */ +#include <$inheritClassHeader.h> +#include <qstring.h> +#include <qstringlist.h> + +/* OTHER INCLUDES */ +#include <kommanderwidget.h> + +class QWidget; + +class QShowEvent; +class @className : public @inheritClassName, public KommanderWidget +{ + Q_OBJECT + + Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false) + Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) + Q_PROPERTY(bool KommanderWidget READ isKommanderWidget) + +public: + @className(QWidget *a_parent, const char *a_name); + ~@className(); + + virtual QString widgetText() const; + + virtual bool isKommanderWidget() const; + virtual void setAssociatedText(QStringList); + virtual QStringList associatedText() const; + virtual QString currentState() const; + + virtual QString populationText() const; + virtual void setPopulationText(QString); + +public slots: + virtual void setWidgetText(const QString &); + virtual void populate(); +signals: + void widgetOpened(); + void widgetTextChanged(const QString &); +protected: + void showEvent( QShowEvent *e ); +private: +}; + +#endif" + +cppContent="/*************************************************************************** + $classNameLower.cpp - @description + ------------------- + begin : @dateStarted + copyright : (C) @author + email : @email + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +/* KDE INCLUDES */ +#include <klocale.h> + +/* QT INCLUDES */ +#include <qstring.h> +#include <qwidget.h> +#include <qstringlist.h> +#include <$inheritClassHeader.h> +#include <qevent.h> + +/* OTHER INCLUDES */ +#include <kommanderwidget.h> +#include \"$classNameLower.h\" + +@className::@className(QWidget *a_parent, const char *a_name) + : @inheritClassName(a_parent, a_name), KommanderWidget(this) +{ + QStringList states; + states << \"default\"; + setStates(states); + setDisplayStates(states); +} + +@className::~@className() +{ +} + +QString @className::currentState() const +{ + return QString(\"default\"); +} + +bool @className::isKommanderWidget() const +{ + return TRUE; +} + +QStringList @className::associatedText() const +{ + return KommanderWidget::associatedText(); +} + +void @className::setAssociatedText(QStringList a_at) +{ + KommanderWidget::setAssociatedText(a_at); +} + +void @className::populate() +{ + QString txt = KommanderWidget::evalAssociatedText( populationText() ); + setWidgetText( txt ); +} + +QString @className::populationText() const +{ + return KommanderWidget::populationText(); +} + +void @className::setPopulationText(QString a_text) +{ + KommanderWidget::setPopulationText(a_text); +} + +void @className::setWidgetText(const QString &a_text) +{ + //set the widget text of your widget here + emit widgetTextChanged(a_text); +} + +QString @className::widgetText() const +{ + // implement your widget text here + return QString::null; +} + +void @className::showEvent( QShowEvent *e ) +{ + @inheritClassName::showEvent( e ); + emit widgetOpened(); +} + +#include \"$classNameLower.moc\" +" + +echo "$headerContent" > @directory/$classNameLower.h +echo "$cppContent" > @directory/$classNameLower.cpp + + + + true + + + + + CloseButton1 + + + &Close + + + + + Spacer3 + + + Horizontal + + + Expanding + + + + 30 + 0 + + + + + + + + Layout37 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel1 + + + Author: + + + + + TextLabel6 + + + Email: + + + + + TextLabel2 + + + Description: + + + + + TextLabel3 + + + Date started: + + + + + TextLabel4 + + + Class name: + + + + + TextLabel7 + + + Base class name: + + + + + TextLabel5 + + + Directory to save in: + + + + + + + Layout36 + + + + unnamed + + + 0 + + + 6 + + + + author + + + + @widgetText + + + + + + email + + + + @widgetText + + + + + + description + + + + @widgetText + + + + + + dateStarted + + + + @widgetText + + + + + + className + + + + @widgetText + + + + + + inheritClassName + + + + @widgetText + + + + + + directory + + + + @widgetText + + + + + + + + + diff --git a/kommander/examples/old/wizard.kmdr b/kommander/examples/old/wizard.kmdr new file mode 100755 index 00000000..87f50c38 --- /dev/null +++ b/kommander/examples/old/wizard.kmdr @@ -0,0 +1,301 @@ + +Wizard1 + + + Wizard1 + + + + 0 + 0 + 473 + 346 + + + + Demo Wizard + + + + page + + + Page 1 + + + + ScriptObject1 + + + + 131 + 159 + 32 + 32 + + + + + + + + @dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1.checked) + + + + + + + + CheckBox1 + + + + 131 + 70 + 199 + 24 + + + + Select this t&o enable Next + + + + + + + + + + + + + + + Label1 + + + + 0 + 220 + 320 + 21 + + + + Try the help button from any page! + + + + + ScriptObject8 + + + + 200 + 160 + 32 + 32 + + + + + @Message.info(Help was pressed for @LineEdit6.text, Help) + + + + + + LineEdit6 + + + + 130 + 100 + 141 + 31 + + + + + + ScriptObject60 + + + + 34 + 114 + 32 + 32 + + + + + + + page + + + Page 2 + + + + ScriptObject1_2 + + + + 141 + 169 + 32 + 32 + + + + + + + + @dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1_2.checked) + + + + + + + + CheckBox1_2 + + + + 141 + 80 + 199 + 24 + + + + Select this t&o enable Next + + + + + + + + + + + + + + + + page + + + Page 3 + + + + ScriptObject2 + + + + 138 + 169 + 32 + 32 + + + + + + + + @dcop(@dcopid, KommanderIf, enableWidget(QString,bool), finish, @CheckBox2.checked) + + + + + + + + CheckBox2 + + + + 138 + 80 + 204 + 24 + + + + Select this t&o enable finish + + + + + + + + + + + + + + + + + CheckBox1 + widgetOpened() + ScriptObject1 + execute() + + + CheckBox1 + stateChanged(int) + ScriptObject1 + execute() + + + Wizard1 + selected(const QString&) + ScriptObject1_2 + execute() + + + Wizard1 + selected(const QString&) + LineEdit6 + setText(const QString&) + + + CheckBox2 + stateChanged(int) + ScriptObject2 + execute() + + + Wizard1 + helpClicked() + ScriptObject8 + execute() + + + CheckBox1_2 + widgetOpened() + ScriptObject1_2 + execute() + + + CheckBox1_2 + stateChanged(int) + ScriptObject1_2 + execute() + + + + -- cgit v1.2.1