MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

GTK Style Widget Gallery

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

Take a look at the Qt Widget Gallery to see how Qt applications appear in other styles.

Buttons

The QPushButton widget provides a command button.

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

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 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 QLabel widget provides a text or image display.

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

Input Widgets

The QLineEdit widget is a one-line text editor.

The QDateEdit class provides a widget for editing dates.

The QTimeEdit class provides a widget for editing times.

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

The QSlider widget provides a vertical or horizontal slider.

The QComboBox widget is a combined button and pop-up list.

The QSpinBox class provides a spin box widget.

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

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

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 QTextEdit class provides a widget that is used to edit and display both plain and rich text.

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