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 /kommander/examples/tutorial/README | |
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 'kommander/examples/tutorial/README')
-rw-r--r-- | kommander/examples/tutorial/README | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/kommander/examples/tutorial/README b/kommander/examples/tutorial/README new file mode 100644 index 00000000..658503e0 --- /dev/null +++ b/kommander/examples/tutorial/README @@ -0,0 +1,123 @@ +Those example illustrate various Kommander features. + +In the future they would be used together with Kommander tutorials. +For now, only brief information is available + + +* GLOBALS.KMDR +Shows using global and setGlobal DCOP calls to provide global +variables for script. +Functions/concepts: +- global +- setGlobal +- changeWidgetText + +* DCOP.KMDR +Shows how to use both local and external DCOP calls to communicate +with external application (here: KMail). +Functions/concepts: +- external DCOP +- addListItem +- enableWidget +- @selectedWidgetText +- @widgetText + +* SLOTS.KMDR +Shows how to use connections/slots to handle events. Both population and +standard slots are used. +- slots/connections +- populate() + +* SETTINGS.KMDR +Shows how to use @readSetting and @writeSetting functions to write/restore +widget content. Also, shows how to use populate() slot to initialize widget +content. +Functions/concepts: +- @readSetting +- @writeSetting +- populate() +- slots/connections +- destroy + +* APPEND.KMDR +Shows how you can append text to TextEdit, and how you can use it to display +formatted text. +Functions/concepts: +- changeWidetText +- RichTextEdit + +* CMDLINE.KMDR +Shows how you can pass parameters to Kommander dialog via command-line. +Also, shows how to change list content and button text. +Functions/concepts: +- command-line arguments +- global +- changeWidgetText +- addListItem +- clearList + +* INITIALIZE.KMDR +Shows how you can use 'initialization' and 'destroy' scripts of main +dialog to initialize and store some settings. +Functions/concepts: +- initialization +- destroy +- readSetting +- writeSetting + +* ARRAY.KMDR +Shows how to use assocative arrays to store and restore information +associated with container items. +Functions/concepts: +- @Array functions + +* STRINGS.KMDR +Shows how to use string-handling functions +Functions/concepts: +- @String functions +- rich text editor + +* TREE.KMDR +Shows how to use tree widget +- tree widget +- FileSelector +- initialization +- env + +* WIDGETS.KMDR +Shows how to get widget information +- type method +- children method + +* STATUSBAR.KMDR +Shows how to use statusbar widget +- statusbar widget +- populate + +* LOOP.KMDR +Shows how to use internal loops +- for +- forEach + +* CALC.KMDR +Shows how to use @expr function to do some calculations +- expr +- String.replace + +* PICVIEW.KMDR +Shows how to use PixmapLabel widget using populate() function +- PixmapLabel +- populate +- FileSelector +- slots/connections + +* TABLE.KMDR +Shows how to use Table widget +- insertRow +- insertColumn +- currentRow +- currentColumn +- setColumnCaption +- setRowCaption +- removeRow +- removeColumn |