diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /quanta/scripts/scriptinfo.kmdr | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/scripts/scriptinfo.kmdr')
-rwxr-xr-x | quanta/scripts/scriptinfo.kmdr | 454 |
1 files changed, 454 insertions, 0 deletions
diff --git a/quanta/scripts/scriptinfo.kmdr b/quanta/scripts/scriptinfo.kmdr new file mode 100755 index 00000000..c225a132 --- /dev/null +++ b/quanta/scripts/scriptinfo.kmdr @@ -0,0 +1,454 @@ +<!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>473</width> + <height>531</height> + </rect> + </property> + <property name="caption"> + <string>Quanta Script Info Generator</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>6</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="TabWidget" row="0" column="0"> + <property name="name"> + <cstring>TabWidget1</cstring> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>Enter Info</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="QLabel" row="0" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>TextLabel1_3</cstring> + </property> + <property name="font"> + <font> + <family>Sans Serif</family> + <bold>1</bold> + <italic>1</italic> + </font> + </property> + <property name="text"> + <string>Please fill in all fields</string> + </property> + </widget> + <widget class="QLabel" row="1" column="0"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string>Script name:</string> + </property> + </widget> + <widget class="LineEdit" row="1" column="1"> + <property name="name"> + <cstring>Name</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <property name="toolTip" stdset="0"> + <string>Enter the script name with the extension</string> + </property> + </widget> + <widget class="QLabel" row="8" column="0"> + <property name="name"> + <cstring>TextLabel5</cstring> + </property> + <property name="text"> + <string>About script:</string> + </property> + </widget> + <widget class="TextEdit" row="8" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>about</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string><about>@widgetText</about></string> + </stringlist> + </property> + <property name="toolTip" stdset="0"> + <string>Formatting may be done with XHTML tags</string> + </property> + </widget> + <widget class="LineEdit" row="5" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>website</cstring> + </property> + <property name="text"> + <string>http://</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string><website>@widgetText</website></string> + </stringlist> + </property> + <property name="toolTip" stdset="0"> + <string>The location of your up-to-date file on the web</string> + </property> + </widget> + <widget class="QLabel" row="3" column="0"> + <property name="name"> + <cstring>TextLabel2</cstring> + </property> + <property name="text"> + <string>Script author:</string> + </property> + </widget> + <widget class="QLabel" row="7" column="0"> + <property name="name"> + <cstring>TextLabel4</cstring> + </property> + <property name="text"> + <string>Script license:</string> + </property> + </widget> + <widget class="FileSelector" row="9" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>FileSelector1</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText/"@Name".info</string> + </stringlist> + </property> + <property name="selectionType"> + <enum>Directory</enum> + </property> + <property name="toolTip" stdset="0"> + <string>Select the directory to write the .info file to</string> + </property> + </widget> + <widget class="ComboBox" row="7" column="1" rowspan="1" colspan="2"> + <item> + <property name="text"> + <string>GPL-2</string> + </property> + </item> + <item> + <property name="text"> + <string>LGPL</string> + </property> + </item> + <item> + <property name="text"> + <string>BSD</string> + </property> + </item> + <item> + <property name="text"> + <string>Public Domain</string> + </property> + </item> + <item> + <property name="text"> + <string>Other</string> + </property> + </item> + <property name="name"> + <cstring>license</cstring> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string><license>@widgetText</license></string> + </stringlist> + </property> + <property name="toolTip" stdset="0"> + <string>If other include in about</string> + </property> + </widget> + <widget class="QLabel" row="2" column="0"> + <property name="name"> + <cstring>TextLabel1_4</cstring> + </property> + <property name="text"> + <string>Editor/Executor:</string> + </property> + </widget> + <widget class="QLabel" row="4" column="0"> + <property name="name"> + <cstring>TextLabel3</cstring> + </property> + <property name="text"> + <string>Author email:</string> + </property> + </widget> + <widget class="QLabel" row="5" column="0"> + <property name="name"> + <cstring>TextLabel1_2</cstring> + </property> + <property name="text"> + <string>Web address:</string> + </property> + </widget> + <widget class="QLabel" row="6" column="0"> + <property name="name"> + <cstring>TextLabel2_2</cstring> + </property> + <property name="text"> + <string>Version number:</string> + </property> + </widget> + <widget class="LineEdit" row="3" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>Author</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string><author>@widgetText</author></string> + </stringlist> + </property> + </widget> + <widget class="LineEdit" row="4" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>email</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string><email>@widgetText</email></string> + </stringlist> + </property> + </widget> + <widget class="LineEdit" row="6" column="1"> + <property name="name"> + <cstring>version</cstring> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string><version>@widgetText</version></string> + </stringlist> + </property> + </widget> + <widget class="ComboBox" row="2" column="1"> + <item> + <property name="text"> + <string></string> + </property> + </item> + <item> + <property name="text"> + <string>kmdr-editor</string> + </property> + </item> + <item> + <property name="text"> + <string>kwrite</string> + </property> + </item> + <item> + <property name="text"> + <string>kate</string> + </property> + </item> + <item> + <property name="text"> + <string>kdevelop</string> + </property> + </item> + <property name="name"> + <cstring>editor</cstring> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <property name="toolTip" stdset="0"> + <string>Optional: Editor other than Quanta to use for this script</string> + </property> + </widget> + <widget class="ComboBox" row="2" column="2"> + <item> + <property name="text"> + <string></string> + </property> + </item> + <item> + <property name="text"> + <string>kmdr-executor -c quanta</string> + </property> + </item> + <item> + <property name="text"> + <string>kmdr-executor</string> + </property> + </item> + <item> + <property name="text"> + <string>perl</string> + </property> + </item> + <item> + <property name="text"> + <string>php</string> + </property> + </item> + <property name="name"> + <cstring>executor</cstring> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>@widgetText</string> + </stringlist> + </property> + <property name="toolTip" stdset="0"> + <string>Optional: External program executor</string> + </property> + </widget> + <widget class="QLabel" row="9" column="0"> + <property name="name"> + <cstring>TextLabel6</cstring> + </property> + <property name="text"> + <string>Script location:</string> + </property> + </widget> + <widget class="CloseButton" row="10" column="1" rowspan="1" colspan="2"> + <property name="name"> + <cstring>CloseButton1</cstring> + </property> + <property name="text"> + <string>Write File</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string>options="" +if [ "@editor" ] || [ "@executor" ]; then +# echo "@editor @executor" +# editor='' +# executor='' + options="<options " + if [ @editor ]; then + options=$options'editor="@editor"' + fi + if [ @executor ]; then + options=$options' interpreter="@executor"' + fi + options=$options" /> +" +fi + +echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?> +<?xml-stylesheet type="text/xsl" href="info.xsl" ?> +<!DOCTYPE QuantaScriptInfo> +<INFO> +$options<name>@Name</name> +@Author +@email +@website +@version +@license +@about +</INFO>" > @FileSelector1</string> + </stringlist> + </property> + <property name="writeStdout"> + <bool>true</bool> + </property> + </widget> + </grid> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>About</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>6</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="TextEdit" row="0" column="0"> + <property name="name"> + <cstring>TextEdit3</cstring> + </property> + <property name="text"> + <string><html><head><meta name="qrichtext" content="1" /></head><body style="font-size:11pt;font-family:sans-serif"> +<p style="margin-top:16px"><span style="font-weight:600">Quanta Plus Submitter Info Files</span></p> +<p>The purpose of these files is to provide developers with proper credit, expose licensing information and give users thumbnail information about scripts and templates at a glance. We ask that you try to do several things here.</p> +<ul type="disc"><li>Fill in all the fields. They are all there for a reason.</li> +<li>Contact the appropriate Quanta script and template maintainer or a member of our team when you have new releases so we can include them. As we plan to build a huge repository we have to rely on you here.</li></ul> +<p>The additional information serves as a backup. Any time a user wants they can click the link to go to your site and get updates, docs or whatever they require. Thank you for helping us to make this a great feature</p> +<p align="center" style="margin-top:14px"><span style="font-weight:600">Contact Information</span></p> +<p align="center">Quanta Resource Maintainer - (none at this time)<br />Lead Developer - Andras Mantia <a href="mailto:amantia@kde.org?subject=ScriptInfo">amantia@kde.org</a><br />Kommander - Michal Rudolf <a href="mailto:mrudolf@kdewebdev.org?subject=ScriptInfo">mrudolf@kdewebdev.org</a><br />Project Lead - Eric Laffoon <a href="mailto:sequitur@kde.org?subject=ScriptInfo">sequitur@kde.org</a></p> +</body></html> +</string> + </property> + </widget> + </grid> + </widget> + </widget> + </grid> +</widget> +<tabstops> + <tabstop>Name</tabstop> + <tabstop>Author</tabstop> + <tabstop>email</tabstop> + <tabstop>website</tabstop> + <tabstop>version</tabstop> + <tabstop>license</tabstop> + <tabstop>about</tabstop> + <tabstop>CloseButton1</tabstop> + <tabstop>editor</tabstop> + <tabstop>executor</tabstop> + <tabstop>TabWidget1</tabstop> + <tabstop>TextEdit3</tabstop> +</tabstops> +<layoutdefaults spacing="6" margin="11"/> +</UI> |