From 1631be8176d51ae67cdf1627c3fdf459e2e0937b Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Fri, 1 Jul 2011 14:59:19 +0200 Subject: Update the documentation after moving examples. Change-Id: I7aa52785979df9eddd7b91e62abd0ef10adc74b7 Reviewed-on: http://codereview.qt.nokia.com/1031 Reviewed-by: Qt Sanity Bot Reviewed-by: David Boddie --- doc/src/demos/interview.qdoc | 37 ----------------------------- doc/src/demos/macmainwindow.qdoc | 42 --------------------------------- doc/src/demos/mainwindow.qdoc | 36 ---------------------------- doc/src/demos/pathstroke.qdoc | 47 ------------------------------------- doc/src/demos/spreadsheet.qdoc | 37 ----------------------------- doc/src/demos/sqlbrowser.qdoc | 36 ---------------------------- doc/src/demos/sub-attaq.qdoc | 40 ------------------------------- doc/src/demos/textedit.qdoc | 36 ---------------------------- doc/src/demos/undo.qdoc | 43 --------------------------------- doc/src/examples/interview.qdoc | 37 +++++++++++++++++++++++++++++ doc/src/examples/macmainwindow.qdoc | 42 +++++++++++++++++++++++++++++++++ doc/src/examples/mainwindow.qdoc | 36 ++++++++++++++++++++++++++++ doc/src/examples/pathstroke.qdoc | 47 +++++++++++++++++++++++++++++++++++++ doc/src/examples/spreadsheet.qdoc | 37 +++++++++++++++++++++++++++++ doc/src/examples/sqlbrowser.qdoc | 36 ++++++++++++++++++++++++++++ doc/src/examples/sub-attaq.qdoc | 40 +++++++++++++++++++++++++++++++ doc/src/examples/textedit.qdoc | 36 ++++++++++++++++++++++++++++ doc/src/examples/undo.qdoc | 43 +++++++++++++++++++++++++++++++++ 18 files changed, 354 insertions(+), 354 deletions(-) delete mode 100644 doc/src/demos/interview.qdoc delete mode 100644 doc/src/demos/macmainwindow.qdoc delete mode 100644 doc/src/demos/mainwindow.qdoc delete mode 100644 doc/src/demos/pathstroke.qdoc delete mode 100644 doc/src/demos/spreadsheet.qdoc delete mode 100644 doc/src/demos/sqlbrowser.qdoc delete mode 100644 doc/src/demos/sub-attaq.qdoc delete mode 100644 doc/src/demos/textedit.qdoc delete mode 100644 doc/src/demos/undo.qdoc create mode 100644 doc/src/examples/interview.qdoc create mode 100644 doc/src/examples/macmainwindow.qdoc create mode 100644 doc/src/examples/mainwindow.qdoc create mode 100644 doc/src/examples/pathstroke.qdoc create mode 100644 doc/src/examples/spreadsheet.qdoc create mode 100644 doc/src/examples/sqlbrowser.qdoc create mode 100644 doc/src/examples/sub-attaq.qdoc create mode 100644 doc/src/examples/textedit.qdoc create mode 100644 doc/src/examples/undo.qdoc (limited to 'doc/src') diff --git a/doc/src/demos/interview.qdoc b/doc/src/demos/interview.qdoc deleted file mode 100644 index fa40ed24e8..0000000000 --- a/doc/src/demos/interview.qdoc +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/interview - \title Interview - - The Interview demonstration explores the flexibility and scalability of the - model/view framework by presenting an infinitely deep data structure using a model - and three different types of view. - - \image interview-demo.png -*/ diff --git a/doc/src/demos/macmainwindow.qdoc b/doc/src/demos/macmainwindow.qdoc deleted file mode 100644 index 31c02307e7..0000000000 --- a/doc/src/demos/macmainwindow.qdoc +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/macmainwindow - \title Mac Main Window Demo - - This demo shows how to create a main window that has the - same appearance as other Mac OS X applications such as Mail or iTunes. - This includes customizing the item views and QSplitter and wrapping native - widgets such as the search field. - - \image macmainwindow.png - - See \c{$QTDIR/demos/macmainwindow} for the source code. -*/ - - diff --git a/doc/src/demos/mainwindow.qdoc b/doc/src/demos/mainwindow.qdoc deleted file mode 100644 index dee72022af..0000000000 --- a/doc/src/demos/mainwindow.qdoc +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/mainwindow - \title Main Window - - The Main Window demonstration shows Qt's extensive support for tool bars, - dock windows, menus, and other standard application features. - - \image mainwindow-demo.png -*/ diff --git a/doc/src/demos/pathstroke.qdoc b/doc/src/demos/pathstroke.qdoc deleted file mode 100644 index 8e864e2615..0000000000 --- a/doc/src/demos/pathstroke.qdoc +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/pathstroke - \title Path Stroking - - In this demo we show some of the various types of pens that can be - used in Qt. - - \image pathstroke-demo.png - - Qt defines cap styles for how the end points are treated and join - styles for how path segments are joined together. A standard set of - predefined dash patterns are also included that can be used with - QPen. - - In addition to the predefined patterns available in - QPen we also demonstrate direct use of the - QPainterPathStroker class which can be used to define - custom dash patterns. You can see this by enabling the - \e{Custom Pattern} option. -*/ diff --git a/doc/src/demos/spreadsheet.qdoc b/doc/src/demos/spreadsheet.qdoc deleted file mode 100644 index 5c6b4dfb26..0000000000 --- a/doc/src/demos/spreadsheet.qdoc +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/spreadsheet - \title Spreadsheet - - The Spreadsheet demonstration shows how a table view can be used to create a - simple spreadsheet application. Custom delegates are used to render different - types of data in distinctive colors. - - \image spreadsheet-demo.png -*/ diff --git a/doc/src/demos/sqlbrowser.qdoc b/doc/src/demos/sqlbrowser.qdoc deleted file mode 100644 index 53af037be0..0000000000 --- a/doc/src/demos/sqlbrowser.qdoc +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/sqlbrowser - \title SQL Browser - - The SQL Browser demonstration shows how a data browser can be used to visualize - the results of SQL statements on a live database. - - \image sqlbrowser-demo.png -*/ diff --git a/doc/src/demos/sub-attaq.qdoc b/doc/src/demos/sub-attaq.qdoc deleted file mode 100644 index 247d0d1fa9..0000000000 --- a/doc/src/demos/sub-attaq.qdoc +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/sub-attaq - \title Sub-Attaq - - This demo shows Qt's ability to combine \l{The Animation Framework}{the animation framework} - and \l{The State Machine Framework}{the state machine framework} to create a game. - - \image sub-attaq-demo.png - - The purpose of the game is to destroy all submarines to win the current level. - The boat can be controlled using left and right keys. To fire a bomb you can press - up and down keys. -*/ diff --git a/doc/src/demos/textedit.qdoc b/doc/src/demos/textedit.qdoc deleted file mode 100644 index 8c50dbacf8..0000000000 --- a/doc/src/demos/textedit.qdoc +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/textedit - \title Text Edit - - The Text Edit demonstration shows Qt's rich text editing facilities in action, - providing an example document for you to experiment with. - - \image textedit-demo.png -*/ diff --git a/doc/src/demos/undo.qdoc b/doc/src/demos/undo.qdoc deleted file mode 100644 index 7b64371f38..0000000000 --- a/doc/src/demos/undo.qdoc +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** GNU Free Documentation License -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms -** and conditions contained in a signed written agreement between you -** and Nokia. -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/undo - \title Undo Framework - - This demo shows Qt's undo framework in action. - - \image undodemo.png - - Qt's undo framework is an implementation of the Command - pattern, which provides advanced undo/redo functionality. - - To show the abilities of the framework, we have implemented a - small diagram application in which the diagram items are geometric - primitives. You can edit the diagram in the following ways: add, - move, change the color of, and delete the items. -*/ diff --git a/doc/src/examples/interview.qdoc b/doc/src/examples/interview.qdoc new file mode 100644 index 0000000000..0be40fda85 --- /dev/null +++ b/doc/src/examples/interview.qdoc @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example itemviews/interview + \title Interview + + The Interview example explores the flexibility and scalability of the + model/view framework by presenting an infinitely deep data structure using a model + and three different types of view. + + \image interview-demo.png +*/ diff --git a/doc/src/examples/macmainwindow.qdoc b/doc/src/examples/macmainwindow.qdoc new file mode 100644 index 0000000000..d245398f4f --- /dev/null +++ b/doc/src/examples/macmainwindow.qdoc @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example mainwindows/macmainwindow + \title Mac Main Window Example + + This example shows how to create a main window that has the + same appearance as other Mac OS X applications such as Mail or iTunes. + This includes customizing the item views and QSplitter and wrapping native + widgets such as the search field. + + \image macmainwindow.png + + See \c{$QTDIR/examples/mainwindows/macmainwindow} for the source code. +*/ + + diff --git a/doc/src/examples/mainwindow.qdoc b/doc/src/examples/mainwindow.qdoc new file mode 100644 index 0000000000..ef9d128628 --- /dev/null +++ b/doc/src/examples/mainwindow.qdoc @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example mainwindows/mainwindow + \title Main Window + + The Main Window example shows Qt's extensive support for tool bars, + dock windows, menus, and other standard application features. + + \image mainwindow-demo.png +*/ diff --git a/doc/src/examples/pathstroke.qdoc b/doc/src/examples/pathstroke.qdoc new file mode 100644 index 0000000000..b433a42814 --- /dev/null +++ b/doc/src/examples/pathstroke.qdoc @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example painting/pathstroke + \title Path Stroking + + In this example we show some of the various types of pens that can be + used in Qt. + + \image pathstroke-demo.png + + Qt defines cap styles for how the end points are treated and join + styles for how path segments are joined together. A standard set of + predefined dash patterns are also included that can be used with + QPen. + + In addition to the predefined patterns available in + QPen we also demonstrate direct use of the + QPainterPathStroker class which can be used to define + custom dash patterns. You can see this by enabling the + \e{Custom Pattern} option. +*/ diff --git a/doc/src/examples/spreadsheet.qdoc b/doc/src/examples/spreadsheet.qdoc new file mode 100644 index 0000000000..8bcecc99ed --- /dev/null +++ b/doc/src/examples/spreadsheet.qdoc @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example itemviews/spreadsheet + \title Spreadsheet + + The Spreadsheet example shows how a table view can be used to create a + simple spreadsheet application. Custom delegates are used to render different + types of data in distinctive colors. + + \image spreadsheet-demo.png +*/ diff --git a/doc/src/examples/sqlbrowser.qdoc b/doc/src/examples/sqlbrowser.qdoc new file mode 100644 index 0000000000..f7ec7951a8 --- /dev/null +++ b/doc/src/examples/sqlbrowser.qdoc @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example sql/sqlbrowser + \title SQL Browser + + The SQL Browser example shows how a data browser can be used to visualize + the results of SQL statements on a live database. + + \image sqlbrowser-demo.png +*/ diff --git a/doc/src/examples/sub-attaq.qdoc b/doc/src/examples/sub-attaq.qdoc new file mode 100644 index 0000000000..0c8e587463 --- /dev/null +++ b/doc/src/examples/sub-attaq.qdoc @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example animation/sub-attaq + \title Sub-Attaq + + This example shows Qt's ability to combine \l{The Animation Framework}{the animation framework} + and \l{The State Machine Framework}{the state machine framework} to create a game. + + \image sub-attaq-demo.png + + The purpose of the game is to destroy all submarines to win the current level. + The boat can be controlled using left and right keys. To fire a bomb you can press + up and down keys. +*/ diff --git a/doc/src/examples/textedit.qdoc b/doc/src/examples/textedit.qdoc new file mode 100644 index 0000000000..1a1171d542 --- /dev/null +++ b/doc/src/examples/textedit.qdoc @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example richtext/textedit + \title Text Edit + + The Text Edit example shows Qt's rich text editing facilities in action, + providing an example document for you to experiment with. + + \image textedit-demo.png +*/ diff --git a/doc/src/examples/undo.qdoc b/doc/src/examples/undo.qdoc new file mode 100644 index 0000000000..29c320ab05 --- /dev/null +++ b/doc/src/examples/undo.qdoc @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** GNU Free Documentation License +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms +** and conditions contained in a signed written agreement between you +** and Nokia. +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example tools/undo + \title Undo Framework + + This example shows Qt's undo framework in action. + + \image undodemo.png + + Qt's undo framework is an implementation of the Command + pattern, which provides advanced undo/redo functionality. + + To show the abilities of the framework, we have implemented a + small diagram application in which the diagram items are geometric + primitives. You can edit the diagram in the following ways: add, + move, change the color of, and delete the items. +*/ -- cgit v1.2.3