diff options
Diffstat (limited to 'kommander/examples/old')
-rw-r--r-- | kommander/examples/old/Makefile.am | 7 | ||||
-rw-r--r-- | kommander/examples/old/checkmail.kmdr | 44 | ||||
-rw-r--r-- | kommander/examples/old/ex1.kmdr | 105 | ||||
-rw-r--r-- | kommander/examples/old/execprogram.kmdr | 104 | ||||
-rw-r--r-- | kommander/examples/old/firstform.kmdr.kmdr | 88 | ||||
-rw-r--r-- | kommander/examples/old/form1.kmdr | 96 | ||||
-rw-r--r-- | kommander/examples/old/form2.kmdr | 118 | ||||
-rw-r--r-- | kommander/examples/old/form3.kmdr | 62 | ||||
-rw-r--r-- | kommander/examples/old/form4.kmdr | 88 | ||||
-rw-r--r-- | kommander/examples/old/form5.kmdr | 346 | ||||
-rw-r--r-- | kommander/examples/old/newfile.kmdr | 934 | ||||
-rw-r--r-- | kommander/examples/old/populate.kmdr | 111 | ||||
-rw-r--r-- | kommander/examples/old/resize.kmdr | 217 | ||||
-rw-r--r-- | kommander/examples/old/selectedwidgettext.kmdr | 105 | ||||
-rw-r--r-- | kommander/examples/old/settings.kmdr | 264 | ||||
-rw-r--r-- | kommander/examples/old/simplelist.kmdr | 214 | ||||
-rw-r--r-- | kommander/examples/old/tar.kmdr | 479 | ||||
-rw-r--r-- | kommander/examples/old/tidy.kmdr | 1159 | ||||
-rw-r--r-- | kommander/examples/old/widgetgenerator.kmdr | 438 | ||||
-rwxr-xr-x | kommander/examples/old/wizard.kmdr | 301 |
20 files changed, 5280 insertions, 0 deletions
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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>mail</class> +<widget class="Dialog"> + <property name="name"> + <cstring>mail</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>155</width> + <height>47</height> + </rect> + </property> + <property name="caption"> + <string>Mail Checker</string> + </property> + <property name="useInternalParser"> + <bool>false</bool> + </property> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton2</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>10</y> + <width>133</width> + <height>29</height> + </rect> + </property> + <property name="text"> + <string>Check &Mail</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@dcop("kmail", "KMailIface", "checkMail()", "")</string> + </stringlist> + </property> + </widget> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>169</width> + <height>168</height> + </rect> + </property> + <property name="caption"> + <string>Sentence Generator</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="GroupBox"> + <property name="name"> + <cstring>sentenceGen</cstring> + </property> + <property name="title"> + <string>Words</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@lineEditOne@lineEditTwo@lineEditThree@lineEditFour@lineEditFive</string> + </stringlist> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="LineEdit"> + <property name="name"> + <cstring>lineEditOne</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>lineEditTwo</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>lineEditThree</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>lineEditFour</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>lineEditFive</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + </vbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form2</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form2</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>243</width> + <height>79</height> + </rect> + </property> + <property name="caption"> + <string>Program Executor</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="FileSelector"> + <property name="name"> + <cstring>FileSelector3</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout2</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <spacer> + <property name="name"> + <cstring>Spacer1</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>30</width> + <height>0</height> + </size> + </property> + </spacer> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton3</cstring> + </property> + <property name="text"> + <string>&Run</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@FileSelector3</string> + </stringlist> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>30</width> + <height>0</height> + </size> + </property> + </spacer> + </hbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>412</width> + <height>161</height> + </rect> + </property> + <property name="caption"> + <string>Text Editor</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="TextEdit"> + <property name="name"> + <cstring>textEdit</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="FileSelector"> + <property name="name"> + <cstring>fileChooser</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>saveButton</cstring> + </property> + <property name="text"> + <string>Save</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo '@textEdit' > @fileChooser</string> + </stringlist> + </property> + </widget> + <widget class="CloseButton"> + <property name="name"> + <cstring>closeButton</cstring> + </property> + <property name="text"> + <string>Close</string> + </property> + </widget> + </hbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>124</width> + <height>130</height> + </rect> + </property> + <property name="caption"> + <string>Program Run Select</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ButtonGroup"> + <property name="name"> + <cstring>programButtonGroup</cstring> + </property> + <property name="title"> + <string>Programs</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton2_2</cstring> + </property> + <property name="text"> + <string>gvim</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string>gvim</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton1</cstring> + </property> + <property name="text"> + <string>gimp</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string>gimp</string> + </stringlist> + </property> + </widget> + </vbox> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>&Start</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@programButtonGroup</string> + </stringlist> + </property> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>335</width> + <height>165</height> + </rect> + </property> + <property name="caption"> + <string>Form1</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout3</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="GroupBox"> + <property name="name"> + <cstring>GroupBox2</cstring> + </property> + <property name="title"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="FileSelector"> + <property name="name"> + <cstring>programBox</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>&Run</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@GroupBox2</string> + </stringlist> + </property> + </widget> + <widget class="CloseButton"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="text"> + <string>&Close</string> + </property> + </widget> + </hbox> + </widget> + </vbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>185</width> + <height>91</height> + </rect> + </property> + <property name="caption"> + <string>Form1</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="text"> + <string>Check me</string> + </property> + <property name="tristate"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>unchecked</string> + <string>semichecked</string> + <string>checked</string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>&Run</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>gvim @CheckBox1</string> + </stringlist> + </property> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>369</width> + <height>318</height> + </rect> + </property> + <property name="caption"> + <string>Form1</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="TextEdit" row="0" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>TextEdit1</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + </stringlist> + </property> + </widget> + <widget class="ExecButton" row="1" column="0"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>Run</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@LineEdit1</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit" row="1" column="1"> + <property name="name"> + <cstring>LineEdit1</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + </grid> + </widget> + </vbox> +</widget> +<connections> + <connection> + <sender>TextEdit1</sender> + <signal>widgetTextChanged(const QString&)</signal> + <receiver>LineEdit1</receiver> + <slot>setWidgetText(const QString&)</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>423</width> + <height>269</height> + </rect> + </property> + <property name="caption"> + <string>Echo Demo</string> + </property> + <widget class="LineEdit"> + <property name="name"> + <cstring>usetext</cstring> + </property> + <property name="geometry"> + <rect> + <x>120</x> + <y>120</y> + <width>281</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>du -h</string> + <comment>Test</comment> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1_3</cstring> + </property> + <property name="geometry"> + <rect> + <x>230</x> + <y>170</y> + <width>90</width> + <height>30</height> + </rect> + </property> + <property name="text"> + <string>Echo+Exec</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo @usetext; @usetext</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + <property name="WriteStdout" stdset="0"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>121</y> + <width>101</width> + <height>30</height> + </rect> + </property> + <property name="text"> + <string>Enter command:</string> + </property> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>FileSelector1</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>30</y> + <width>401</width> + <height>30</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>120</x> + <y>170</y> + <width>90</width> + <height>30</height> + </rect> + </property> + <property name="text"> + <string>Exec</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@usetext</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + <property name="WriteStdout" stdset="0"> + <bool>true</bool> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton7</cstring> + </property> + <property name="geometry"> + <rect> + <x>340</x> + <y>170</y> + <width>70</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>ls -l</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>ls -l</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + <property name="WriteStdout" stdset="0"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>7</y> + <width>231</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Select a file:</string> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>170</y> + <width>90</width> + <height>30</height> + </rect> + </property> + <property name="text"> + <string>Echo</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo @usetext</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + <property name="WriteStdout" stdset="0"> + <bool>true</bool> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton7_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>150</x> + <y>70</y> + <width>91</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Your File</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo You chose @FileSelector1</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="CloseButton"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>340</x> + <y>210</y> + <width>70</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Close</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo "Thanks for testing"</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + <property name="toolTip" stdset="0"> + <string>Try "What's this" on me!</string> + </property> + <property name="whatsThis" stdset="0"> + <string>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!</string> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton5</cstring> + </property> + <property name="geometry"> + <rect> + <x>230</x> + <y>210</y> + <width>91</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>test</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo "Thanks for testing"</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + <property name="WriteStdout" stdset="0"> + <bool>true</bool> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton9</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>210</y> + <width>91</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Count Files</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo filecount: `ls | wc -l`</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>false</bool> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton9_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>120</x> + <y>210</y> + <width>91</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Change Str</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo "ls | wc -l"</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>false</bool> + </property> + </widget> +</widget> +<connections> + <connection> + <sender>ExecButton9</sender> + <signal>widgetTextChanged(const QString&)</signal> + <receiver>usetext</receiver> + <slot>setWidgetText(const QString&)</slot> + </connection> + <connection> + <sender>ExecButton9_2</sender> + <signal>widgetTextChanged(const QString&)</signal> + <receiver>usetext</receiver> + <slot>setText(const QString&)</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>425</width> + <height>518</height> + </rect> + </property> + <property name="caption"> + <string>Quick Start</string> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel2</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>140</y> + <width>40</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Title:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="geometry"> + <rect> + <x>21</x> + <y>5</y> + <width>410</width> + <height>36</height> + </rect> + </property> + <property name="font"> + <font> + <family>Helvetica</family> + <pointsize>14</pointsize> + <bold>1</bold> + </font> + </property> + <property name="text"> + <string>HTML 4.01 Transitional - Quick Start</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBCVS</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>60</y> + <width>171</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>CVS tag in comment</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string><!-- $Id$ --></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBHTML</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>80</y> + <width>131</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>HTML tag</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string><html></string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LEBasedir</cstring> + </property> + <property name="geometry"> + <rect> + <x>170</x> + <y>120</y> + <width>231</width> + <height>20</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBDTD</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>40</y> + <width>161</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Show DTD</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBStyleArea</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>260</y> + <width>131</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Style area</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <style> + + </style></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBMetaChar</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>200</y> + <width>140</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Meta character set:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <meta http-equiv="Content-Type" content="text/html; charset=@ComboMetachar"></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBStyle</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>240</y> + <width>140</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Linked style sheet:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <link rel="stylesheet" type="text/css" href="@LEStyle"></string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LEMetaAuthor</cstring> + </property> + <property name="geometry"> + <rect> + <x>180</x> + <y>180</y> + <width>220</width> + <height>20</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LEMetaKeywords</cstring> + </property> + <property name="geometry"> + <rect> + <x>180</x> + <y>220</y> + <width>220</width> + <height>20</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <property name="toolTip" stdset="0"> + <string>limit to 8, seperate with commas</string> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LEStyle</cstring> + </property> + <property name="geometry"> + <rect> + <x>180</x> + <y>240</y> + <width>220</width> + <height>20</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="ComboBox"> + <item> + <property name="text"> + <string>iso-8859-1</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-2</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-3</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-4</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-5</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-6</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-7</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-8</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-8i</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-9</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-10</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-11</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-12</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-13</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-14</string> + </property> + </item> + <item> + <property name="text"> + <string>iso-8859-15</string> + </property> + </item> + <item> + <property name="text"> + <string>utf8</string> + </property> + </item> + <item> + <property name="text"> + <string>utf16</string> + </property> + </item> + <property name="name"> + <cstring>ComboMetachar</cstring> + </property> + <property name="geometry"> + <rect> + <x>180</x> + <y>200</y> + <width>221</width> + <height>21</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBMetaKeywords</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>220</y> + <width>130</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Meta keywords:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <meta name="KEYWORDS" content="@LEMetaKeywords"></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBMetaAuthor</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>180</y> + <width>130</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Meta author:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <meta name="AUTHOR" content="@LEMetaAuthor"></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBBasedir</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>120</y> + <width>120</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Base directory:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <base href="@LEBasedir"></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBHead</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>100</y> + <width>130</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Head area</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string><head> +@CBBasedir +@LETitle +@CBMetaQuanta +@CBMetaAuthor +@CBMetaChar +@CBMetaKeywords +@CBStyle +@CBStyleArea +@CBJavascript</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LETitle</cstring> + </property> + <property name="geometry"> + <rect> + <x>90</x> + <y>140</y> + <width>311</width> + <height>20</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string> <title>@widgetText</title></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBBodyClose</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>380</y> + <width>91</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>/Body</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string></body></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBHTMLClose</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>400</y> + <width>101</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>/HTML</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string></html></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBHeadClose</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>300</y> + <width>70</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>/head</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string></head></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBJavascript</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>280</y> + <width>140</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>JavaScript area</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <script language="javascript"> + + </script></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBBody</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>320</y> + <width>111</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Body tag</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string><body></string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>170</x> + <y>480</y> + <width>81</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>&Test</string> + </property> + <property name="on"> + <bool>false</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo '@CBDTD +@CBCVS +@CBHTML +@CBHead +@CBHeadClose +@CBBody +@CBPHPHeader +@CBPHPFooter +@CBBodyClose +@CBHTMLClose'</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="CloseButton"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>170</x> + <y>430</y> + <width>80</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>&OK</string> + </property> + <property name="flat"> + <bool>false</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo '@CBDTD +@CBCVS +@CBHTML +@CBHead +@CBHeadClose +@CBBody +@CBPHPHeader +@CBPHPFooter +@CBBodyClose +@CBHTMLClose'</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LEPHPFooter</cstring> + </property> + <property name="geometry"> + <rect> + <x>180</x> + <y>360</y> + <width>221</width> + <height>20</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LEPHPHeader</cstring> + </property> + <property name="geometry"> + <rect> + <x>180</x> + <y>340</y> + <width>220</width> + <height>20</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBPHPHeader</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>340</y> + <width>150</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>PHP header include:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string><? include ("@LEPHPHeader") ?> +</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBPHPFooter</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>360</y> + <width>151</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>PHP footer include:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> +<? include ("@LEPHPFooter") ?></string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CBMetaQuanta</cstring> + </property> + <property name="geometry"> + <rect> + <x>40</x> + <y>160</y> + <width>120</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Meta Quanta</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string> <meta name="GENERATOR" content="Quanta Plus"></string> + </stringlist> + </property> + </widget> +</widget> +<connections> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBHeadClose</receiver> + <slot>toggle()</slot> + </connection> + <connection> + <sender>CBBody</sender> + <signal>toggled(bool)</signal> + <receiver>CBBodyClose</receiver> + <slot>toggle()</slot> + </connection> + <connection> + <sender>CBHTML</sender> + <signal>toggled(bool)</signal> + <receiver>CBHTMLClose</receiver> + <slot>toggle()</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBMetaAuthor</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBMetaQuanta</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBBasedir</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>LEBasedir</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>LETitle</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBMetaChar</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBMetaKeywords</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBStyle</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBStyleArea</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>CBJavascript</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>LEMetaKeywords</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>LEStyle</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>ComboMetachar</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>CBHead</sender> + <signal>toggled(bool)</signal> + <receiver>LEMetaAuthor</receiver> + <slot>setEnabled(bool)</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Populate_Dialog</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Populate_Dialog</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>484</height> + </rect> + </property> + <property name="caption"> + <string>Population Dialog</string> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout2</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="LineEdit"> + <property name="name"> + <cstring>dirLineEdit</cstring> + </property> + <property name="text"> + <string>~/</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>populateButton</cstring> + </property> + <property name="text"> + <string>Update List</string> + </property> + </widget> + </hbox> + </widget> + <widget class="ListBox"> + <property name="name"> + <cstring>resultList</cstring> + </property> + <property name="populationText"> + <string>@exec("ls -1 @dirLineEdit")</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + </vbox> + </widget> + </hbox> +</widget> +<connections> + <connection> + <sender>populateButton</sender> + <signal>clicked()</signal> + <receiver>resultList</receiver> + <slot>populate()</slot> + </connection> + <connection> + <sender>dirLineEdit</sender> + <signal>widgetOpened()</signal> + <receiver>resultList</receiver> + <slot>populate()</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>516</width> + <height>187</height> + </rect> + </property> + <property name="caption"> + <string>Batch Image Resizer</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout2</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="FileSelector" row="0" column="1"> + <property name="name"> + <cstring>FileSelectorSrc</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <property name="selectionType"> + <enum>Directory</enum> + </property> + </widget> + <widget class="FileSelector" row="1" column="1"> + <property name="name"> + <cstring>FileSelectorDst</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <property name="selectionType"> + <enum>Directory</enum> + </property> + </widget> + <widget class="QLabel" row="0" column="0"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string>Source directory:</string> + </property> + </widget> + <widget class="QLabel" row="1" column="0"> + <property name="name"> + <cstring>TextLabel2</cstring> + </property> + <property name="text"> + <string>Destination directory:</string> + </property> + </widget> + </grid> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout3</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel3</cstring> + </property> + <property name="text"> + <string>Width:</string> + </property> + </widget> + <widget class="SpinBoxInt"> + <property name="name"> + <cstring>SpinBoxWidth</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel4</cstring> + </property> + <property name="text"> + <string>Height:</string> + </property> + </widget> + <widget class="SpinBoxInt"> + <property name="name"> + <cstring>SpinBoxHeight</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer1</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>141</width> + <height>0</height> + </size> + </property> + </spacer> + </hbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout4</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <spacer> + <property name="name"> + <cstring>Spacer2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>251</width> + <height>0</height> + </size> + </property> + </spacer> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton</cstring> + </property> + <property name="text"> + <string>&Resize</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>width=@SpinBoxWidth +height=@SpinBoxHeight + +cd @FileSelectorSrc + +for file in * +do + echo $file + convert -resize ${width}x${height} $file @FileSelectorDst/$file +done +</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + </hbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>210</width> + <height>100</height> + </rect> + </property> + <property name="caption"> + <string>Selected Text Demo</string> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ListBox"> + <item> + <property name="text"> + <string>gvim</string> + </property> + </item> + <item> + <property name="text"> + <string>xboard</string> + </property> + </item> + <item> + <property name="text"> + <string>kate</string> + </property> + </item> + <property name="name"> + <cstring>commandListBox</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@selectedWidgetText</string> + </stringlist> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>Run</string> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@commandListBox</string> + </stringlist> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer1</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + </spacer> + </vbox> + </widget> + </hbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>settingsDialog</class> +<widget class="Dialog"> + <property name="name"> + <cstring>settingsDialog</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>533</width> + <height>482</height> + </rect> + </property> + <property name="caption"> + <string>Settings Dialog</string> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string></string> + </stringlist> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout7</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string>Enter any text you want in the widgets below - Kommander will remember it!</string> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>lineEdit</cstring> + </property> + <property name="populationText"> + <string>@readSetting( "lineEditValue", "Default Line Edit Value" )</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="TextEdit"> + <property name="name"> + <cstring>textEdit</cstring> + </property> + <property name="populationText"> + <string>@readSetting("textEditValue", "Default Text Edit Value")</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout6</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout5</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="LineEdit"> + <property name="name"> + <cstring>dirLineEdit</cstring> + </property> + <property name="populationText"> + <string>@readSetting("dirLineEdit", "~/")</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>Update</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>ls -1 @dirLineEdit</string> + </stringlist> + </property> + </widget> + </hbox> + </widget> + <widget class="ListBox"> + <property name="name"> + <cstring>listBox</cstring> + </property> + <property name="populationText"> + <string>@readSetting("listBoxValue", "Default +List +Box +Items") +</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout2</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <spacer> + <property name="name"> + <cstring>Spacer1</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>30</width> + <height>0</height> + </size> + </property> + </spacer> + <widget class="CloseButton"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="text"> + <string>Close</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@writeSetting("lineEditValue", "@lineEdit" ) +@writeSetting("textEditValue", "@textEdit" ) +@writeSetting("listBoxValue", "@listBox" ) +@writeSetting("dirLineEdit", "@dirLineEdit")</string> + </stringlist> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>30</width> + <height>0</height> + </size> + </property> + </spacer> + </hbox> + </widget> + </vbox> + </widget> + </vbox> +</widget> +<connections> + <connection> + <sender>settingsDialog</sender> + <signal>widgetOpened()</signal> + <receiver>lineEdit</receiver> + <slot>populate()</slot> + </connection> + <connection> + <sender>settingsDialog</sender> + <signal>widgetOpened()</signal> + <receiver>textEdit</receiver> + <slot>populate()</slot> + </connection> + <connection> + <sender>settingsDialog</sender> + <signal>widgetOpened()</signal> + <receiver>listBox</receiver> + <slot>populate()</slot> + </connection> + <connection> + <sender>ExecButton1</sender> + <signal>widgetTextChanged(const QString&)</signal> + <receiver>listBox</receiver> + <slot>setWidgetText(const QString&)</slot> + </connection> + <connection> + <sender>settingsDialog</sender> + <signal>widgetOpened()</signal> + <receiver>dirLineEdit</receiver> + <slot>populate()</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>372</width> + <height>189</height> + </rect> + </property> + <property name="caption"> + <string>Form1</string> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="geometry"> + <rect> + <x>20</x> + <y>10</y> + <width>300</width> + <height>30</height> + </rect> + </property> + <property name="font"> + <font> + <family>Helvetica</family> + <pointsize>16</pointsize> + <bold>1</bold> + </font> + </property> + <property name="text"> + <string>Simple List Short Demo</string> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton12</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>140</y> + <width>80</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Echo</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo ls @CheckBox17 @CheckBox18 @CheckBox19</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton12_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>100</x> + <y>140</y> + <width>80</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Exec</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>ls @CheckBox17 @CheckBox18 @CheckBox19</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton12_3</cstring> + </property> + <property name="geometry"> + <rect> + <x>190</x> + <y>140</y> + <width>80</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Echo+Exec</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo ls @CheckBox17 @CheckBox18 @CheckBox19;ls @CheckBox17 @CheckBox18 @CheckBox19</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="CloseButton"> + <property name="name"> + <cstring>CloseButton5</cstring> + </property> + <property name="geometry"> + <rect> + <x>280</x> + <y>140</y> + <width>81</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Close</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo "Thanks for testing"</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox17</cstring> + </property> + <property name="geometry"> + <rect> + <x>30</x> + <y>50</y> + <width>100</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string> Long</string> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <property name="tristate"> + <bool>false</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>-l</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox18</cstring> + </property> + <property name="geometry"> + <rect> + <x>30</x> + <y>70</y> + <width>101</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>All</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>-a</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox19</cstring> + </property> + <property name="geometry"> + <rect> + <x>30</x> + <y>100</y> + <width>110</width> + <height>31</height> + </rect> + </property> + <property name="text"> + <string>Recursive</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>-R</string> + </stringlist> + </property> + </widget> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>513</width> + <height>557</height> + </rect> + </property> + <property name="caption"> + <string>Tar</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ButtonGroup"> + <property name="name"> + <cstring>mainChoice</cstring> + </property> + <property name="title"> + <string>Main Choice</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton1</cstring> + </property> + <property name="text"> + <string>Append to archive</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string>A</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton2</cstring> + </property> + <property name="text"> + <string>Create archive</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton3</cstring> + </property> + <property name="text"> + <string>Find differences between archive and file system</string> + </property> + <property name="checked"> + <bool>false</bool> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton4</cstring> + </property> + <property name="text"> + <string>Delete from archive</string> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton5</cstring> + </property> + <property name="text"> + <string>Append to the end of an archive</string> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton6</cstring> + </property> + <property name="text"> + <string>List contents</string> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton7</cstring> + </property> + <property name="text"> + <string>Update contents</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + </stringlist> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton8</cstring> + </property> + <property name="text"> + <string>Extract archive</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout9</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ButtonGroup"> + <property name="name"> + <cstring>ButtonGroup2</cstring> + </property> + <property name="title"> + <string>Read Options</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="text"> + <string>Ignore failed read</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox2</cstring> + </property> + <property name="text"> + <string>Keep existing files</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox3</cstring> + </property> + <property name="text"> + <string>Extract all protection information</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox4</cstring> + </property> + <property name="text"> + <string>Absolute path names</string> + </property> + </widget> + </vbox> + </widget> + <widget class="ButtonGroup"> + <property name="name"> + <cstring>ButtonGroup3</cstring> + </property> + <property name="lineWidth"> + <number>1</number> + </property> + <property name="title"> + <string>Write Options</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox5</cstring> + </property> + <property name="text"> + <string>Dump files, not just symlinks</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox6</cstring> + </property> + <property name="text"> + <string>Remove files after adding to archive</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox7</cstring> + </property> + <property name="text"> + <string>Verbosely list files proceeded</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox8</cstring> + </property> + <property name="text"> + <string>Compression</string> + </property> + </widget> + <widget class="ButtonGroup"> + <property name="name"> + <cstring>ButtonGroup4</cstring> + </property> + <property name="lineWidth"> + <number>0</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="title"> + <string></string> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <spacer> + <property name="name"> + <cstring>Spacer4_2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>30</width> + <height>16</height> + </size> + </property> + </spacer> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout7</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton9</cstring> + </property> + <property name="text"> + <string>bzip</string> + </property> + <property name="checked"> + <bool>false</bool> + </property> + </widget> + <widget class="RadioButton"> + <property name="name"> + <cstring>RadioButton10</cstring> + </property> + <property name="text"> + <string>gzip</string> + </property> + </widget> + </vbox> + </widget> + </hbox> + </widget> + </vbox> + </widget> + </hbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout5</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string>Archive name:</string> + </property> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>outputName</cstring> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout6</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel2</cstring> + </property> + <property name="text"> + <string>Files:</string> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LineEdit1</cstring> + </property> + <property name="text"> + <string></string> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout7</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <spacer> + <property name="name"> + <cstring>Spacer2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>103</width> + <height>0</height> + </size> + </property> + </spacer> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>&Execute</string> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>104</width> + <height>0</height> + </size> + </property> + </spacer> + <widget class="CloseButton"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="text"> + <string>&Close</string> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer4</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>103</width> + <height>0</height> + </size> + </property> + </spacer> + </hbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Tidy</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Tidy</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>578</width> + <height>611</height> + </rect> + </property> + <property name="caption"> + <string>Tidy by Kommander</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="TabWidget" row="0" column="0" rowspan="1" colspan="4"> + <property name="name"> + <cstring>TabWidget1</cstring> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>General Options</string> + </attribute> + <widget class="GroupBox"> + <property name="name"> + <cstring>GroupBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>11</y> + <width>437</width> + <height>110</height> + </rect> + </property> + <property name="title"> + <string>Non Tidy Option</string> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel4</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>50</y> + <width>310</width> + <height>40</height> + </rect> + </property> + <property name="font"> + <font> + <bold>1</bold> + <italic>1</italic> + </font> + </property> + <property name="text"> + <string>Note: This will not work well if you have multiple +instances of Quanta running.</string> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>GUseDCOP</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>320</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Use DCOP to send active page from Quanta+ to tidy</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>GconfigF</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>377</y> + <width>437</width> + <height>32</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>127</y> + <width>437</width> + <height>40</height> + </rect> + </property> + <property name="text"> + <string>Path to tidy (required):</string> + </property> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>GoutF</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>309</y> + <width>437</width> + <height>32</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>GinputEN</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>211</y> + <width>437</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Input from file instead of stdin:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>GerrorEN</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>415</y> + <width>437</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Write errors to file instead of stderr:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>GconfigEN</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>347</y> + <width>437</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Use configuration from file:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>GoutputEN</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>279</y> + <width>437</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Output to file instead of stdout:</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>GinF</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>241</y> + <width>437</width> + <height>32</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>GerrorF</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>445</y> + <width>437</width> + <height>32</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>GmodF</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>483</y> + <width>437</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Modify original input files</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>GtidyPath</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>173</y> + <width>437</width> + <height>32</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton2</cstring> + </property> + <property name="geometry"> + <rect> + <x>454</x> + <y>173</y> + <width>89</width> + <height>32</height> + </rect> + </property> + <property name="text"> + <string>/usr/bin</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>echo "/usr/bin/tidy"</string> + </stringlist> + </property> + </widget> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>Processing Directives</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget" row="0" column="0"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="CheckBox" row="13" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>ParseAsHTML</cstring> + </property> + <property name="text"> + <string>Force XHTML to well formed HTML</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="12" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>ParseAsXHTML</cstring> + </property> + <property name="text"> + <string>Convert HTML to well formed XHTML</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="4" column="0"> + <property name="name"> + <cstring>ParseClean</cstring> + </property> + <property name="text"> + <string>Replace FONT, NOBR and CENTER tags by CSS</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="3" column="0"> + <property name="name"> + <cstring>ParseUpper</cstring> + </property> + <property name="text"> + <string>Force tags to upper case</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="10" column="0"> + <property name="name"> + <cstring>ParseXML</cstring> + </property> + <property name="text"> + <string>Specify the input is well formed XML</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="9" column="0"> + <property name="name"> + <cstring>ParseOmit</cstring> + </property> + <property name="text"> + <string>Omit optional end tags</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="QLabel" row="0" column="0"> + <property name="name"> + <cstring>TextLabel1_2</cstring> + </property> + <property name="text"> + <string>Do extra accessibility checks <level>:</string> + </property> + </widget> + <widget class="SpinBoxInt" row="1" column="1"> + <property name="name"> + <cstring>ParseWrap</cstring> + </property> + <property name="maxValue"> + <number>500</number> + </property> + <property name="minValue"> + <number>68</number> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="6" column="0"> + <property name="name"> + <cstring>ParseNumeric</cstring> + </property> + <property name="text"> + <string>Output numeric rather than named entities</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="7" column="0"> + <property name="name"> + <cstring>ParseErrors</cstring> + </property> + <property name="text"> + <string>Only show errors</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="SpinBoxInt" row="0" column="1"> + <property name="name"> + <cstring>ParseAccess</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="QLabel" row="1" column="0"> + <property name="name"> + <cstring>TextLabel2</cstring> + </property> + <property name="text"> + <string>Wrap text at column:</string> + </property> + </widget> + <widget class="CheckBox" row="11" column="0"> + <property name="name"> + <cstring>ParseAsXML</cstring> + </property> + <property name="text"> + <string>Convert HTML to well formed XML</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="2" column="0"> + <property name="name"> + <cstring>ParseIndent</cstring> + </property> + <property name="text"> + <string>Indent element content</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="5" column="0"> + <property name="name"> + <cstring>ParseBare</cstring> + </property> + <property name="text"> + <string>Strip out smart quotes and em dashes, etc.</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>0</string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox" row="8" column="0"> + <property name="name"> + <cstring>ParseQuiet</cstring> + </property> + <property name="text"> + <string>Suppress nonessential output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string>1</string> + </stringlist> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>Character Encodings</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ButtonGroup" row="0" column="0"> + <property name="name"> + <cstring>CharEncoding</cstring> + </property> + <property name="title"> + <string></string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="RadioButton" row="9" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEibm858</cstring> + </property> + <property name="text"> + <string>(ibm858) use IBM-858 (CP850+Euro) for input, US-ASCII for output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -ibm858</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="1" column="0"> + <property name="name"> + <cstring>CEraw</cstring> + </property> + <property name="text"> + <string>(raw) output values above 127 without conversion to entities</string> + </property> + <property name="checked"> + <bool>false</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -raw</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="10" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEutf16Le</cstring> + </property> + <property name="text"> + <string>(utf16le) use UTF-16LE for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -utf16le</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="4" column="0"> + <property name="name"> + <cstring>CElatin1</cstring> + </property> + <property name="text"> + <string>(latin1) use ISO-8859-1 for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -latin1</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="8" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEwin1252</cstring> + </property> + <property name="text"> + <string>(win1252) use Windows-1252 for input, US-ASCII for output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -win1252</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit" row="15" column="1"> + <property name="name"> + <cstring>CE</cstring> + </property> + <property name="maxLength"> + <number>2</number> + </property> + </widget> + <widget class="RadioButton" row="14" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEshiftjis</cstring> + </property> + <property name="text"> + <string>(shiftjis) use Shift_JIS for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -shiftjis</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="11" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEutf16be</cstring> + </property> + <property name="text"> + <string>(utf16be) use UTF-16BE for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -utf16be</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="2" column="0"> + <property name="name"> + <cstring>CEascii</cstring> + </property> + <property name="text"> + <string>(ascii) use US-ASCII for output, ISO-8859-1 for input</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -ascii</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="15" column="0"> + <property name="name"> + <cstring>CElangcode</cstring> + </property> + <property name="text"> + <string>Set the two-letter language code <lang> (for future use):</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -language @CE</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="12" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEutf16</cstring> + </property> + <property name="text"> + <string>(utf16) use UTF-16 for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -utf16</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="13" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEbig5</cstring> + </property> + <property name="text"> + <string>(big5) use Big5 for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -big5</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="6" column="0"> + <property name="name"> + <cstring>CEutf8</cstring> + </property> + <property name="text"> + <string>(utf8) use UTF-8 for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -utf8</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="3" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CElatin0</cstring> + </property> + <property name="text"> + <string>(latin0) use US-ASCII for output, ISO-8859-1 for input</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -latin0</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="7" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEmac</cstring> + </property> + <property name="text"> + <string>(mac) use MacRoman for input, US-ASCII for output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -mac</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="5" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CEiso2022</cstring> + </property> + <property name="text"> + <string>(iso2022) use ISO-2022 for both input and output</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string> -iso2022</string> + </stringlist> + </property> + </widget> + <widget class="RadioButton" row="0" column="0"> + <property name="name"> + <cstring>RadioButton16</cstring> + </property> + <property name="text"> + <string>Bah, encoding, schmencoding</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + </stringlist> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>About Tidy</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="TextEdit" row="0" column="0"> + <property name="name"> + <cstring>TextEdit1</cstring> + </property> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="paletteBackgroundColor"> + <color> + <red>238</red> + <green>238</green> + <blue>230</blue> + </color> + </property> + <property name="text"> + <string>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, ... +</string> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </grid> + </widget> + </widget> + <widget class="ExecButton" row="1" column="1"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>Process</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>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 +</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="CloseButton" row="1" column="2"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="text"> + <string>Eject! Eject! Eject!</string> + </property> + </widget> + <spacer row="1" column="0"> + <property name="name"> + <cstring>Spacer1</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>131</width> + <height>0</height> + </size> + </property> + </spacer> + <spacer row="1" column="3"> + <property name="name"> + <cstring>Spacer2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>121</width> + <height>0</height> + </size> + </property> + </spacer> + </grid> +</widget> +<connections> + <connection> + <sender>GoutputEN</sender> + <signal>toggled(bool)</signal> + <receiver>GoutF</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>GconfigEN</sender> + <signal>toggled(bool)</signal> + <receiver>GconfigF</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>GerrorEN</sender> + <signal>toggled(bool)</signal> + <receiver>GerrorF</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>GinputEN</sender> + <signal>toggled(bool)</signal> + <receiver>GinF</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>GinputEN</sender> + <signal>toggled(bool)</signal> + <receiver>GmodF</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>ExecButton2</sender> + <signal>widgetTextChanged(const QString&)</signal> + <receiver>GtidyPath</receiver> + <slot>setWidgetText(const QString&)</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>widgetGen</class> +<widget class="Dialog"> + <property name="name"> + <cstring>widgetGen</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>470</width> + <height>267</height> + </rect> + </property> + <property name="caption"> + <string>Kommander Widget Source Generator</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>Layout12</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>24</number> + </property> + <spacer> + <property name="name"> + <cstring>Spacer2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>30</width> + <height>0</height> + </size> + </property> + </spacer> + <widget class="ExecButton"> + <property name="name"> + <cstring>ExecButton1</cstring> + </property> + <property name="text"> + <string>&Save</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string> +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</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + <widget class="CloseButton"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="text"> + <string>&Close</string> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>30</width> + <height>0</height> + </size> + </property> + </spacer> + </hbox> + </widget> + <widget class="QLayoutWidget" row="0" column="0"> + <property name="name"> + <cstring>Layout37</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string>Author:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel6</cstring> + </property> + <property name="text"> + <string>Email:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel2</cstring> + </property> + <property name="text"> + <string>Description:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel3</cstring> + </property> + <property name="text"> + <string>Date started:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel4</cstring> + </property> + <property name="text"> + <string>Class name:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel7</cstring> + </property> + <property name="text"> + <string>Base class name:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel5</cstring> + </property> + <property name="text"> + <string>Directory to save in:</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget" row="0" column="1"> + <property name="name"> + <cstring>Layout36</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="LineEdit"> + <property name="name"> + <cstring>author</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>email</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>description</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>dateStarted</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>className</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>inheritClassName</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + <widget class="FileSelector"> + <property name="name"> + <cstring>directory</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + </widget> + </vbox> + </widget> + </grid> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> 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 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Wizard1</class> +<widget class="QWizard"> + <property name="name"> + <cstring>Wizard1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>473</width> + <height>346</height> + </rect> + </property> + <property name="caption"> + <string>Demo Wizard</string> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>page</cstring> + </property> + <attribute name="title"> + <string>Page 1</string> + </attribute> + <widget class="ScriptObject"> + <property name="name"> + <cstring>ScriptObject1</cstring> + </property> + <property name="geometry"> + <rect> + <x>131</x> + <y>159</y> + <width>32</width> + <height>32</height> + </rect> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1.checked) + +</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>131</x> + <y>70</y> + <width>199</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Select this t&o enable Next</string> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string></string> + </stringlist> + </property> + </widget> + <widget class="Label"> + <property name="name"> + <cstring>Label1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>220</y> + <width>320</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Try the help button from any page!</string> + </property> + </widget> + <widget class="ScriptObject"> + <property name="name"> + <cstring>ScriptObject8</cstring> + </property> + <property name="geometry"> + <rect> + <x>200</x> + <y>160</y> + <width>32</width> + <height>32</height> + </rect> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@Message.info(Help was pressed for @LineEdit6.text, Help)</string> + </stringlist> + </property> + </widget> + <widget class="LineEdit"> + <property name="name"> + <cstring>LineEdit6</cstring> + </property> + <property name="geometry"> + <rect> + <x>130</x> + <y>100</y> + <width>141</width> + <height>31</height> + </rect> + </property> + </widget> + <widget class="ScriptObject"> + <property name="name"> + <cstring>ScriptObject60</cstring> + </property> + <property name="geometry"> + <rect> + <x>34</x> + <y>114</y> + <width>32</width> + <height>32</height> + </rect> + </property> + </widget> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>page</cstring> + </property> + <attribute name="title"> + <string>Page 2</string> + </attribute> + <widget class="ScriptObject"> + <property name="name"> + <cstring>ScriptObject1_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>141</x> + <y>169</y> + <width>32</width> + <height>32</height> + </rect> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1_2.checked) + +</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox1_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>141</x> + <y>80</y> + <width>199</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Select this t&o enable Next</string> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string></string> + </stringlist> + </property> + </widget> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>page</cstring> + </property> + <attribute name="title"> + <string>Page 3</string> + </attribute> + <widget class="ScriptObject"> + <property name="name"> + <cstring>ScriptObject2</cstring> + </property> + <property name="geometry"> + <rect> + <x>138</x> + <y>169</y> + <width>32</width> + <height>32</height> + </rect> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), finish, @CheckBox2.checked) + +</string> + </stringlist> + </property> + </widget> + <widget class="CheckBox"> + <property name="name"> + <cstring>CheckBox2</cstring> + </property> + <property name="geometry"> + <rect> + <x>138</x> + <y>80</y> + <width>204</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Select this t&o enable finish</string> + </property> + <property name="populationText"> + <string></string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + <string></string> + <string></string> + </stringlist> + </property> + </widget> + </widget> +</widget> +<connections> + <connection> + <sender>CheckBox1</sender> + <signal>widgetOpened()</signal> + <receiver>ScriptObject1</receiver> + <slot>execute()</slot> + </connection> + <connection> + <sender>CheckBox1</sender> + <signal>stateChanged(int)</signal> + <receiver>ScriptObject1</receiver> + <slot>execute()</slot> + </connection> + <connection> + <sender>Wizard1</sender> + <signal>selected(const QString&)</signal> + <receiver>ScriptObject1_2</receiver> + <slot>execute()</slot> + </connection> + <connection> + <sender>Wizard1</sender> + <signal>selected(const QString&)</signal> + <receiver>LineEdit6</receiver> + <slot>setText(const QString&)</slot> + </connection> + <connection> + <sender>CheckBox2</sender> + <signal>stateChanged(int)</signal> + <receiver>ScriptObject2</receiver> + <slot>execute()</slot> + </connection> + <connection> + <sender>Wizard1</sender> + <signal>helpClicked()</signal> + <receiver>ScriptObject8</receiver> + <slot>execute()</slot> + </connection> + <connection> + <sender>CheckBox1_2</sender> + <signal>widgetOpened()</signal> + <receiver>ScriptObject1_2</receiver> + <slot>execute()</slot> + </connection> + <connection> + <sender>CheckBox1_2</sender> + <signal>stateChanged(int)</signal> + <receiver>ScriptObject1_2</receiver> + <slot>execute()</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> |