GTK Style Widget Gallery | Qt Widgets 5.6

Qt 5.6 | Qt Widgets | GTK Style Widget Gallery

Qt 5.6.2 Reference Documentation

# GTK Style Widget Gallery

This page shows some of the widgets available in Qt when configured to use the "gtk" style. This style is only available on desktop environments with GTK runtime support. This style provides native look'n'feel by integrating to the GTK platform theme. Thus, the final appearance varies depending on the active GTK theme.

### 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 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.