Qt:Документация 4.3.2/gallery-windows

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] Windows Style Widget Gallery

This page shows some of the widgets available in Qt when configured to use the "windows" style.


[править] Buttons

center


center


The QPushButton widget provides a command button.


The QToolButton class provides a quick-access button to commands or options, usually used inside a QToolBar.



center


center


The QCheckBox widget provides a checkbox with a text label.


The QRadioButton widget provides a radio button with a text or pixmap label.



[править] Containers

center


center


The QGroupBox widget provides a group box frame with a title.


The QTabWidget class provides a stack of tabbed widgets.



center


center


The QFrame widget provides a simple decorated container for other widgets.


The QToolBox class provides a column of tabbed widget items.



[править] Item Views

center


center


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.


The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.



center


The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.



[править] Display Widgets

center


center


The QProgressBar widget provides a horizontal progress bar.


The QLCDNumber widget displays a number with LCD-like digits.



center


The QLabel widget provides a text or image display.



[править] Input Widgets

center


center


The QSlider widget provides a vertical or horizontal slider.


The QLineEdit widget is a one-line text editor.



center


center


The QComboBox widget is a combined button and popup list.


The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.



center


center


The QSpinBox class provides a spin box widget.


The QTimeEdit class provides a widget for editing times.



center


center


The QDateEdit class provides a widget for editing dates.


The QDateTimeEdit class provides a widget for editing dates and times.



center


center


The QTextEdit class provides a widget that is used to edit and display both plain and rich text.


The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.



center


center


The QDial class provides a rounded range control (like a speedometer or potentiometer).


The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.



center


The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a popup list containing previews of available fonts.




Copyright © 2007 Trolltech Trademarks
Qt 4.3.2