From e9ae80694875f869892f13f4fcaf1170a00dea41 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/examples/tutorial/table.kmdr | 258 +++++++++++++++++++++++++++++++++ 1 file changed, 258 insertions(+) create mode 100644 kommander/examples/tutorial/table.kmdr (limited to 'kommander/examples/tutorial/table.kmdr') diff --git a/kommander/examples/tutorial/table.kmdr b/kommander/examples/tutorial/table.kmdr new file mode 100644 index 00000000..a2c5986b --- /dev/null +++ b/kommander/examples/tutorial/table.kmdr @@ -0,0 +1,258 @@ + +Form1 + + + Form1 + + + + 0 + 0 + 629 + 313 + + + + Table Demo + + + + + 0 + + + + + 1 + + + + + 0 + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + Table + + + + 10 + 10 + 400 + 240 + + + + AutoOneFit + + + 5 + + + 2 + + + + + + + + + + Layout3 + + + + 470 + 10 + 135 + 160 + + + + + unnamed + + + 0 + + + 6 + + + + AddRowButton + + + Add row + + + + @Table.insertRow(@Table.currentRow, 1) + + + + + + AddColButton + + + Add column + + + + @Table.insertColumn(@Table.currentColumn, 1) + + + + + + ExecButton5 + + + Remove row + + + + @Table.removeRow(@Table.currentRow, 1) + + + + + + ExecButton6 + + + Remove Column + + + + @Table.removeColumn(@Table.currentColumn, 1) + + + + + + Spacer1 + + + Vertical + + + Expanding + + + + 0 + 30 + + + + + + + + Layout4 + + + + 20 + 270 + 585 + 28 + + + + + unnamed + + + 0 + + + 6 + + + + GetButton + + + Get text + + + + @CellText.setText(@Table.cellText(@Table.currentRow, + @Table.currentColumn)) + + + + + + CellText + + + + + SetButton + + + Set text + + + + @Table.setCellText(@Table.currentRow, @Table.currentColumn, + @CellText.text) + + + + + + ColumnCaptionButton + + + Set column name + + + + @Table.setColumnCaption(@Table.currentColumn, @CellText.text) + + + + + + RowCaptionButton + + + Set row name + + + + @Table.setRowCaption(@Table.currentRow, @CellText.text) + + + + + + + + -- cgit v1.2.1