Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Classes  ·  Annotées  ·  Hiérarchie  ·  Fonctions  ·  Structure  · 

Pictures of Most Qt Widgets


Most of these widgets are pictured in either Motif or Windows style. All widgets are supported in both styles (plus other styles), but for clarity we've chosen to cut down on the number of repeated images.

Here you see three views seperated by QSplitters. On the lef/top you see a QListBox, at the right/top you see a QListView with a QHeader and two QScrollBars. And at the bottom there is a QIconView.

 Windows

In this screenshot you see a QMainWindow which contains on the top a QMenuBar, below that and at the left some QToolBars with widgets like QToolButtons and QComboBoxes. The central widget is a QWorkspace which is used for MDI window management and which contains as MDI-Window a QMultiLineEdit here. At the bottom you see a QStatusBar and at the right/bottom edge a QSizeGrip

 Windows

Here you see a QFileDialog. On the Windows Platform you can either use the QFileDialog or the native Windows Filedialog. For more information on that see the QFileDialog class documentation.

 Windows

This is a QPrintDialog. On Windows this dialog is not supported, as the native Windows Print-Dialog is used there. Use QPrinter::setup() for portability instead of the QPrintDialog if you need to be platform independent.

 Motif

In this screenshot you see a QFontDialog.

 Windows

And in this picture a QColorDialog is shown.

 Windows

For displaying messages you will use the QMessageBox.

 Windows

This image shows a QProgressDialog. The QProgressBar can be used as seperate widget too.

 Windows

In the screenshot below you see a QGroupBox which contains a QLineEdit, a read-only QComboBox and a editable QComboBox.

 Windows

This screenshot shows a QPopupMenu.

 Windows

In the screenshot below you see a QButtonGroup containing four QRadioButtons and two QCheckBoxes.

 Windows

All views in the first screenshot are widgets derived from a QScrollView. But this class can also manage lots of child-widgets, like in this screenshot.

 Motif

This screenshot shows a QTabDialog. The tabs (QTabBar) or the more convenient class QTabWidget, which combines a tab bar with the pages, can be used separately. In the visible page you see a QLabel, the range controls QSlider and QSpinBox and below a QLCDNumber. In the bottom row you can see some QPushButtons

 Windows

The screenshot below shows a QTableView.

 Motif

In this screenshot you see the QTextBrowser displaying a HTML page. See also QTextView!

 Windows

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 64
  2. Apercevoir la troisième dimension ou l'utilisation multithreadée d'OpenGL dans Qt, un article des Qt Quarterly traduit par Guillaume Belz 0
  3. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  4. BlackBerry 10 : premières images du prochain OS de RIM qui devrait intégrer des widgets et des tuiles inspirées de Windows Phone 0
  5. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  6. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
  7. La rubrique Qt a besoin de vous ! 1
Page suivante

Le Qt Developer Network au hasard

Logo

Les composants

Le Qt Developer Network est un réseau de développeurs Qt anglophone, où ils peuvent partager leur expérience sur le framework. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 2.3
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web