Qt:Документация 4.3.2/gallery-cde
Материал из Wiki.crossplatform.ru
(Новая: {{Qt4.3.2_header}} =CDE Style Widget Gallery<br />= This page shows some of the widgets available in Qt when configured to use the "cde" style. ==Buttons== {| align="center" cellspaci...) |
|||
Строка 7: | Строка 7: | ||
==Buttons== | ==Buttons== | ||
{| align="center" cellspacing="20%" width="100%" | {| align="center" cellspacing="20%" width="100%" | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-pushbutton.png|center]] | [[Image:cde-pushbutton.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-toolbutton.png|center]] | [[Image:cde-toolbutton.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qpushbutton | QPushButton]] widget provides a command button. | The [[Qt:Документация 4.3.2/qpushbutton | QPushButton]] widget provides a command button. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-checkbox.png|center]] | [[Image:cde-checkbox.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-radiobutton.png|center]] | [[Image:cde-radiobutton.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qcheckbox | QCheckBox]] widget provides a checkbox with a text label. | The [[Qt:Документация 4.3.2/qcheckbox | QCheckBox]] widget provides a checkbox with a text label. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qradiobutton | QRadioButton]] widget provides a radio button with a text or pixmap label. | The [[Qt:Документация 4.3.2/qradiobutton | QRadioButton]] widget provides a radio button with a text or pixmap label. | ||
- | |||
- | |||
- | |||
- | |||
|} | |} | ||
==Containers== | ==Containers== | ||
- | |||
- | |||
- | |||
{| align="center" cellspacing="20%" width="100%" | {| align="center" cellspacing="20%" width="100%" | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-groupbox.png|center]] | [[Image:cde-groupbox.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-tabwidget.png|center]] | [[Image:cde-tabwidget.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qgroupbox | QGroupBox]] widget provides a group box frame with a title. | The [[Qt:Документация 4.3.2/qgroupbox | QGroupBox]] widget provides a group box frame with a title. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qtabwidget | QTabWidget]] class provides a stack of tabbed widgets. | The [[Qt:Документация 4.3.2/qtabwidget | QTabWidget]] class provides a stack of tabbed widgets. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-frame.png|center]] | [[Image:cde-frame.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-toolbox.png|center]] | [[Image:cde-toolbox.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qframe | QFrame]] widget provides a simple decorated container for other widgets. | The [[Qt:Документация 4.3.2/qframe | QFrame]] widget provides a simple decorated container for other widgets. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qtoolbox | QToolBox]] class provides a column of tabbed widget items. | The [[Qt:Документация 4.3.2/qtoolbox | QToolBox]] class provides a column of tabbed widget items. | ||
- | |||
- | |||
- | |||
- | |||
|} | |} | ||
==Item Views== | ==Item Views== | ||
- | |||
- | |||
- | |||
{| align="center" cellspacing="20%" width="100%" | {| align="center" cellspacing="20%" width="100%" | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-listview.png|center]] | [[Image:cde-listview.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-treeview.png|center]] | [[Image:cde-treeview.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qlistview | QListView]] class provides a default model/view implementation of a list/icon view. The [[Qt:Документация 4.3.2/qlistwidget | QListWidget]] class provides a classic item-based list/icon view. | The [[Qt:Документация 4.3.2/qlistview | QListView]] class provides a default model/view implementation of a list/icon view. The [[Qt:Документация 4.3.2/qlistwidget | QListWidget]] class provides a classic item-based list/icon view. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qtreeview | QTreeView]] class provides a default model/view implementation of a tree view. The [[Qt:Документация 4.3.2/qtreewidget | QTreeWidget]] class provides a classic item-based tree view. | The [[Qt:Документация 4.3.2/qtreeview | QTreeView]] class provides a default model/view implementation of a tree view. The [[Qt:Документация 4.3.2/qtreewidget | QTreeWidget]] class provides a classic item-based tree view. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-tableview.png|center]] | [[Image:cde-tableview.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qtableview | QTableView]] class provides a default model/view implementation of a table view. The [[Qt:Документация 4.3.2/qtablewidget | QTableWidget]] class provides a classic item-based table view. | The [[Qt:Документация 4.3.2/qtableview | QTableView]] class provides a default model/view implementation of a table view. The [[Qt:Документация 4.3.2/qtablewidget | QTableWidget]] class provides a classic item-based table view. | ||
- | |||
- | |||
- | |||
- | |||
|} | |} | ||
==Display Widgets== | ==Display Widgets== | ||
- | |||
- | |||
- | |||
{| align="center" cellspacing="20%" width="100%" | {| align="center" cellspacing="20%" width="100%" | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-progressbar.png|center]] | [[Image:cde-progressbar.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-lcdnumber.png|center]] | [[Image:cde-lcdnumber.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qprogressbar | QProgressBar]] widget provides a horizontal progress bar. | The [[Qt:Документация 4.3.2/qprogressbar | QProgressBar]] widget provides a horizontal progress bar. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qlcdnumber | QLCDNumber]] widget displays a number with LCD-like digits. | The [[Qt:Документация 4.3.2/qlcdnumber | QLCDNumber]] widget displays a number with LCD-like digits. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-label.png|center]] | [[Image:cde-label.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qlabel | QLabel]] widget provides a text or image display. | The [[Qt:Документация 4.3.2/qlabel | QLabel]] widget provides a text or image display. | ||
- | |||
- | |||
- | |||
- | |||
|} | |} | ||
==Input Widgets== | ==Input Widgets== | ||
- | |||
- | |||
- | |||
{| align="center" cellspacing="20%" width="100%" | {| align="center" cellspacing="20%" width="100%" | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-slider.png|center]] | [[Image:cde-slider.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-lineedit.png|center]] | [[Image:cde-lineedit.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qslider | QSlider]] widget provides a vertical or horizontal slider. | The [[Qt:Документация 4.3.2/qslider | QSlider]] widget provides a vertical or horizontal slider. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qlineedit | QLineEdit]] widget is a one-line text editor. | The [[Qt:Документация 4.3.2/qlineedit | QLineEdit]] widget is a one-line text editor. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-combobox.png|center]] | [[Image:cde-combobox.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-doublespinbox.png|center]] | [[Image:cde-doublespinbox.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qcombobox | QComboBox]] widget is a combined button and popup list. | The [[Qt:Документация 4.3.2/qcombobox | QComboBox]] widget is a combined button and popup list. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qdoublespinbox | QDoubleSpinBox]] class provides a spin box widget that allows double precision floating point numbers to be entered. | The [[Qt:Документация 4.3.2/qdoublespinbox | QDoubleSpinBox]] class provides a spin box widget that allows double precision floating point numbers to be entered. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-spinbox.png|center]] | [[Image:cde-spinbox.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-timeedit.png|center]] | [[Image:cde-timeedit.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qspinbox | QSpinBox]] class provides a spin box widget. | The [[Qt:Документация 4.3.2/qspinbox | QSpinBox]] class provides a spin box widget. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qtimeedit | QTimeEdit]] class provides a widget for editing times. | The [[Qt:Документация 4.3.2/qtimeedit | QTimeEdit]] class provides a widget for editing times. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-dateedit.png|center]] | [[Image:cde-dateedit.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-datetimeedit.png|center]] | [[Image:cde-datetimeedit.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qdateedit | QDateEdit]] class provides a widget for editing dates. | The [[Qt:Документация 4.3.2/qdateedit | QDateEdit]] class provides a widget for editing dates. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qdatetimeedit | QDateTimeEdit]] class provides a widget for editing dates and times. | The [[Qt:Документация 4.3.2/qdatetimeedit | QDateTimeEdit]] class provides a widget for editing dates and times. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-textedit.png|center]] | [[Image:cde-textedit.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-horizontalscrollbar.png|center]] | [[Image:cde-horizontalscrollbar.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qtextedit | QTextEdit]] class provides a widget that is used to edit and display both plain and rich text. | The [[Qt:Документация 4.3.2/qtextedit | QTextEdit]] class provides a widget that is used to edit and display both plain and rich text. | ||
- | |||
- | |||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qscrollbar | QScrollBar]] widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation. | The [[Qt:Документация 4.3.2/qscrollbar | QScrollBar]] widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation. | ||
- | |||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-dial.png|center]] | [[Image:cde-dial.png|center]] | ||
- | |||
- | |||
- | |||
| align="center" | | | align="center" | | ||
[[Image:cde-calendarwidget.png|center]] | [[Image:cde-calendarwidget.png|center]] | ||
- | |||
- | |||
- | |||
|- | |- | ||
- | |||
| halign="justify" valign="top" | | | halign="justify" valign="top" | | ||
The [[Qt:Документация 4.3.2/qdial | QDial]] class provides a rounded range control (like a speedometer or potentiometer). | The [[Qt:Документация 4.3.2/qdial | QDial]] class provides a rounded range control (like a speedometer or potentiometer). |
Текущая версия на 11:15, 20 ноября 2008
Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
Содержание |
[править] CDE Style Widget Gallery
This page shows some of the widgets available in Qt when configured to use the "cde" style.
[править] Buttons
The QPushButton widget provides a command button. | |
The QCheckBox widget provides a checkbox with a text label. |
The QRadioButton widget provides a radio button with a text or pixmap label. |
[править] Containers
The QGroupBox widget provides a group box frame with a title. |
The QTabWidget class provides a stack of tabbed widgets. |
The QFrame widget provides a simple decorated container for other widgets. |
The QToolBox class provides a column of tabbed widget items. |
[править] Item Views
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. |
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
The QProgressBar widget provides a horizontal progress bar. |
The QLCDNumber widget displays a number with LCD-like digits. |
The QLabel widget provides a text or image display. |
[править] Input Widgets
The QSlider widget provides a vertical or horizontal slider. |
The QLineEdit widget is a one-line text editor. |
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. |
The QSpinBox class provides a spin box widget. |
The QTimeEdit class provides a widget for editing times. |
The QDateEdit class provides a widget for editing dates. |
The QDateTimeEdit class provides a widget for editing dates and times. |
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. |
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. |
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
|