You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdewebdev/kommander/examples/tutorial
Michele Calgaro 0580616e20
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
8 months ago
..
CMakeLists.txt Conversion to the cmake building system. 3 years ago
Makefile.am Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
append.kmdr Rename *OBJECT_NAME_STRING 4 years ago
arrays.kmdr Rename *OBJECT_NAME_STRING 4 years ago
calc.kmdr Rename *OBJECT_NAME_STRING 4 years ago
cmdline.kmdr Rename old tq methods that no longer need a unique name 13 years ago
dcop.kmdr Rename *OBJECT_NAME_STRING 4 years ago
dialogs.kmdr Rename *OBJECT_NAME_STRING 4 years ago
globals.kmdr Rename *OBJECT_NAME_STRING 4 years ago
initialize.kmdr Rename *OBJECT_NAME_STRING 4 years ago
loop.kmdr Rename *OBJECT_NAME_STRING 4 years ago
picview.kmdr Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 8 months ago
progressbar.kmdr Rename old tq methods that no longer need a unique name 13 years ago
settings.kmdr Rename *OBJECT_NAME_STRING 4 years ago
slots.kmdr Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 8 months ago
statusbar.kmdr Remove the tq in front of these incorrectly TQt4-converted methods/data members: 13 years ago
strings.kmdr Rename *OBJECT_NAME_STRING 4 years ago
table.kmdr Rename *OBJECT_NAME_STRING 4 years ago
tree.kmdr Rename *OBJECT_NAME_STRING 4 years ago
widgets.kmdr Rename *OBJECT_NAME_STRING 4 years ago

README

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