From 97b5b8009254004608feefb903cbf44abaa099f6 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Mon, 7 May 2012 18:49:48 +0200 Subject: Doc: Modularize QtWidgets documentation. This change moves the snippets and images to the modularized directories. Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d Reviewed-by: Marius Storm-Olsen --- .../src/widgets-and-layouts/gallery-windowsxp.qdoc | 138 +++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 src/widgets/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc (limited to 'src/widgets/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc') diff --git a/src/widgets/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc b/src/widgets/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc new file mode 100644 index 0000000000..2ade5681e2 --- /dev/null +++ b/src/widgets/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc @@ -0,0 +1,138 @@ +/**************************************************************************** +** +** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/ +** +** 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$ +** +****************************************************************************/ + +/*! + \page gallery-windowsxp.html + + \title Windows XP Style Widget Gallery + \ingroup gallery + + This page shows some of the widgets available in Qt + when configured to use the "windowsxp" style. + +\section2 Buttons + +\table 100% +\row +\li \image windowsxp-pushbutton.png + \caption The QPushButton widget provides a command button. +\li \image windowsxp-toolbutton.png + \caption The QToolButton class provides a quick-access button to commands + or options, usually used inside a QToolBar. +\endtable + +\table 100% +\row +\li \image windowsxp-checkbox.png + \caption The QCheckBox widget provides a checkbox with a text label. +\li \image windowsxp-radiobutton.png + \caption The QRadioButton widget provides a radio button with a text or pixmap label. +\endtable + +\section2 Containers + +\table 100% +\row +\li \image windowsxp-groupbox.png + The The QGroupBox widget provides a group box frame with a title. +\li \image windowsxp-tabwidget.png + The QTabWidget class provides a stack of tabbed widgets. +\li \image windowsxp-frame.png + The QFrame widget provides a simple decorated container for other widgets. +\li \image windowsxp-toolbox.png + The QToolBox class provides a column of tabbed widget items. +\endtable + +\section2 Item Views + +\table 100% +\row +\li \image windowsxp-listview.png + The QListView class provides a default model/view implementation of a list/icon view. The QListWidget class provides a classic item-based list/icon view. +\li \image windowsxp-treeview.png + The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view. +\li \image windowsxp-tableview.png + The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\li +\li +\endtable + +\section2 Display Widgets + +\table 100% +\row +\li \image windowsxp-progressbar.png + The QProgressBar widget provides a horizontal progress bar. +\li \image windowsxp-label.png + The QLabel widget provides a text or image display. +\li \image windowsxp-lcdnumber.png + The QLCDNumber widget displays a number with LCD-like digits. +\endtable + +\section2 Input Widgets + +\table 100% +\row +\li \image windowsxp-lineedit.png + The QLineEdit widget is a one-line text editor. +\li \image windowsxp-dateedit.png + The QDateEdit class provides a widget for editing dates. +\li \image windowsxp-timeedit.png + The QTimeEdit class provides a widget for editing times. +\li \image windowsxp-datetimeedit.png + The QDateTimeEdit class provides a widget for editing dates and times. +\endtable + +\table 100% +\row +\li \image windowsxp-slider.png + The QSlider widget provides a vertical or horizontal slider. +\li \image windowsxp-combobox.png + The QComboBox widget is a combined button and pop-up list. +\li \image windowsxp-spinbox.png + The QSpinBox class provides a spin box widget. +\endtable + +\table 100% +\row +\li \image windowsxp-fontcombobox.png + The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts. +\li \image windowsxp-doublespinbox.png + The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered. +\li \image windowsxp-horizontalscrollbar.png + The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation. +\endtable + +\table 100% +\row +\li \image windowsxp-dial.png + The QDial class provides a rounded range control (like a speedometer or potentiometer). +\li \image windowsxp-textedit.png + The QTextEdit class provides a widget that is used to edit and display both plain and rich text. +\li \image windowsxp-calendarwidget.png + The QCalendarWidget class provides a monthly calendar widget that can be used to select dates. +\endtable +*/ -- cgit v1.2.3