所有 Qt 範例

Active Qt

COM App 範例 (ActiveQt) The COM App example shows how to use ActiveQt to develop a Qt application that can be automated via COM. Different QObject based classes are exposed as COM objects that communicate with the GUI of the running Qt application. The APIs of those COM objects has been designed to resemble the APIs of standard COM applications; i.e. those from Microsoft Office.
層次結構範例 (ActiveQt) The Hierarchy example is shows how to write an in-process ActiveX control. The control is a QWidget subclass with child widgets that are accessible as sub-types.
菜單範例 (ActiveQt) The Menus example demonstrates the use of QMenuBar and QStatusBar in a QMainWindow to implement an in-place active control.
多個範例 (ActiveQt) The Multiple example demonstrates the implementation of a QAxFactory to provide multiple ActiveX controls in a single in process ActiveX server using the QAXFACTORY_EXPORT() macro. The ActiveX controls in this example are simple QWidget subclasses that reimplement QWidget::paintEvent().
OpenGL 範例 (ActiveQt) The OpenGL example demonstrates the use of the default factory and QAxFactory::isServer(), and the implementation of an additional COM interface using QAxBindable and QAxAggregated. The server executable can run both as an ActiveX server and as a stand-alone application.
Outlook 範例 (ActiveQt) The Qutlook example demonstrates the use of ActiveQt to automate Outlook. The example makes use of the dumpcpp tool to generate a C++ namespace for the type library describing the Outlook Object Model.
簡單範例 (ActiveQt) The Simple example demonstrates the use of QAxBindable and QAxFactory.
Web 瀏覽器範例 (ActiveQt) The Web Browser example uses the Microsoft Web Browser ActiveX control to implement a fully functional Web Browser application. The user interface has been developed using the Qt Designer integration of the QAxWidget class.
ActiveQt 包裹器範例 The Wrapper example demonstrates how to export existing QWidget classes as ActiveX controls, and the use of QAxFactory together with the QAXFACTORY_EXPORT() macro. ActiveX controls in this example are the standard button classes QPushButton, QCheckBox and QRadioButton as provided by Qt.

Qt 3D

Qt 3D: Advanced custom material QML Example 演示在 Qt3D 中創建高級材質
Qt 3D:音頻可視化器範例 演示組閤 Qt 3D 渲染和 Qt Quick 2 元素。
Qt 3D:基本形狀 C++ 範例 展示由 Qt 3D 提供的 4 個基本形狀,並為每個形狀設置網格。
Qt 3D:多視口 QML 範例 QML 範例演示從多個視口渲染場景圖形。
Qt 3D:PBR 材質 QML 範例 QML 應用程序演示使用 PBR 材質。
Qt 3D:行星 QML 範例 演示組閤 Qt 3D 渲染和 Qt Quick 2 元素。
Qt 3D:Scene2D QML 範例 QML 應用程序演示在 Qt 3D 場景中使用 Qt Quick 2
Qt 3D:Scene3D QML 範例 QML 應用程序演示可視化 3D 場景。
Qt 3D:Scene3D QML 帶 Widget 的範例 基於 QWidget 的應用程序采用 QML 場景包含 3D 場景。
Qt 3D:陰影貼圖 QML 範例 Qt 3D QML 應用程序說明如何在帶陰影的 Qt 3D 中渲染場景。
Qt 3D:簡單 C++ 範例 演示如何在 Qt 3D 渲染場景的 C++ 應用程序。
Qt 3D:簡單 QML 範例 QML 應用程序演示如何在 Qt 3D 中渲染場景。
Qt 3D: Simple custom material QML Example Demonstrates creating a custom material in Qt3D
Qt 3D:波形 QML 範例 QML 應用程序演示如何使用頂點著色器和幾何著色器。
Qt 3D:綫框 QML 範例 Qt 3D QML 應用程序實現單通綫框渲染方法。

Qt Android Extras

Qt Notifier Demonstrates calling Java code from an Android application.

Qt Assistant 手冊

遠程控製範例 使用和控製 Qt Assistant 作為幫助查看器。
簡單文本查看器範例 Using Qt Assistant as a customized help viewer for your application.

Qt Bluetooth

藍牙聊天範例 範例展示透過藍牙進行通信。
藍牙文件傳輸範例 An example showing the use of Bluetooth Object Push Profile (OPP).
藍牙低功耗心率遊戲 A game demonstrating the interaction with a Bluetooth Low Energy Heart Rate device/service.
Bluetooth Low Energy Heart Rate Server Example An example demonstrating how to set up and advertise a GATT service. The example demonstrates the use of the Qt Bluetooth Low Energy classes related to peripheral (slave) functionality.
Bluetooth Low Energy Scanner Example An application designed to browse the content of Bluetooth Low Energy peripheral devices. The example demonstrates the use of all Qt Bluetooth Low Energy classes.
Bluetooth QML Chat Example An example demonstrating communication through Bluetooth QML API.
藍牙 QML 乒乓範例 A QML example showing Bluetooth communication.
Bluetooth Scanner Example An example showing how to locate Bluetooth devices.
QML Bluetooth Picture Push Example An example showing the use Bluetooth Object Push Profile (OPP).
QML Bluetooth Scanner Example A QML example about locating Bluetooth devices.

Qt Canvas 3D

Framebuffer Example Render into a framebuffer and use it as a texture
Interaction Example Interact with an object in canvas using Qt Quick Controls
Interactive Mobile Phone Example Demonstrates using Qt Quick item as a texture with three.js.
JSON Models Example Load and display several JSON models
Lit and Textured Cube Example A simple cube with texturing and lighting
One Qt Example Demonstrates combining Qt Quick and three.js rendering.
Planets Example Demonstrates combining Qt Quick and three.js rendering.
Qt Quick Item as Texture Example A simple cube with a Qt Quick item as a texture

Qt Charts

區域圖錶範例 展示如何創建簡單區域圖錶的範例。
音頻範例 此範例展示動態數據 (麥剋風輸入) 的繪製。
條形圖錶範例 展示如何創建條形圖錶的範例。
BarModelMapper 範例 此範例展示如何使用 QAbstractItemModel 派生模型作為條形係列的數據。
方框和晶須範例 範例展示如何創建方框和晶須圖錶。
標注範例 此範例展示如何在圖錶頂部繪製額外 (標注) 元素。
燭颱圖錶範例 展示如何創建燭颱圖錶。
圖錶主題範例 示例展示不同內置主題的外觀和感覺。
自定義圖錶範例 This example shows how to customize the appearance of the different elements on a chart.
日期時間軸範例 範例展示如何使用 QLineChart 與 QDateTimeAxis。
圓環圖錶分解範例 This example shows how to use create a donut breakdown chart using QPieSeries API.
圓環圖錶範例 This example shows how to create a simple donut chart, and do some customizations to a slice.
動態樣條綫範例 此範例展示如何繪製動態數據。
水平條形圖錶範例 The example shows how to create a horizontal bar chart.
水平百分比條形圖錶範例 The example shows how to create a simple horizontal percent bar chart.
水平堆疊條形圖錶範例 The example shows how to create a simple stacked horizontal bar chart.
圖例範例 This example shows how to detach the legend from the chart and how to attach it back.
圖例標記範例 範例展示如何使用圖例標記。
綫和條形圖範例 範例展示如何組閤不同圖錶並設置軸。
綫圖錶範例 範例展示如何創建簡單綫圖錶。
對數軸範例 範例展示如何使用 QLogValueAxis。
模型數據範例 This example shows how to use the QAbstractItemModel derived model as the data for the series.
多軸範例 The example shows how to create a simple chart with two vertical axes. One for each series.
嵌套圓環範例 This example shows how to create a nested donuts chart using the QPieSeries API.
OpenGL 加速係列範例 The example shows how to enable OpenGL acceleration for QLineSeries and QScatterSeries.
百分比條形圖錶範例 範例展示如何創建簡單百分比條形圖錶。
餅狀圖錶定製範例 This example shows how the look and feel of a pie chart can be customized.
餅狀圖錶深入研究範例 The example shows how to implement a piechart with drilldown effect.
餅狀圖錶範例 The example shows how to create a simple pie chart and do some customizations to a pie slice.
極坐標圖錶範例 The example shows how to create a simple polar chart with multiple different series.
QML 軸 This is a demonstration of how to use axes in your QML application.
QML 圖錶範例 This basic demonstration shows how to use the different chart types by using qml.
QML 自定義圖例 This example shows you how to create your own custom legend.
QML 定製 This application shows you how to customize different visual properties of a ChartView and series.
QML F1 圖例 This application demonstrates how to use XmlListModel as a datasource for a Chart.
QML 示波器 The example shows how to implement application with strict performance requirements using the Qt Charts QML API.
QML 極坐標圖錶 This is a demonstration on how to use a polar chart in your QML application.
QML 天氣 This is a basic demonstration showing how to use the different chart types by using qml.
散點交互範例 This example shows how to create a simple scatter chart and how to interact with the chart.
散點圖錶範例 The example shows how to create a simple scatter chart.
樣條綫圖錶範例 範例展示如何創建簡單樣條綫圖錶。
堆疊條形圖錶深入研究範例 The example shows how to implement drilldown using a stacked barchart.
堆疊條形圖錶範例 The example shows how to create a simple stacked bar chart.
溫度記錄範例 範例展示如何創建帶負值條形的條形圖錶。
縮放綫範例 The example shows how to create your own custom zooming effect

Qt Concurrent

圖像比例縮放範例 Demonstrates how to asynchronously scale images.
地圖範例 演示如何同步比例縮放圖像。
QtConcurrent 進度對話框範例 演示如何監視活動進程的進度。
QtConcurrent 單詞計數範例 演示如何使用 map-reduce (映射縮減) 算法
運行函數範例 演示如何並發運行標準函數。

Qt Core

連續緩存範例 The Contiguous Cache example shows how to use QContiguousCache to manage memory usage for very large models. In some environments memory is limited and, even when it isn't, users still dislike an application using excessive memory. Using QContiguousCache to manage a list, rather than loading the entire list into memory, allows the application to limit the amount of memory it uses, regardless of the size of the data set it accesses
自定義類型範例 The Custom Type example shows how to integrate a custom type into Qt's meta-object system.
JSON 保存遊戲範例 The JSON Save Game example demonstrates how to save and load a small game using QJsonDocument, QJsonObject and QJsonArray.
本地財富客戶端範例 Demonstrates using QLocalSocket for a simple local service client.
本地財富服務器範例 Demonstrates using QLocalServer and QLocalSocket for serving a simple local service.
MIME 類型瀏覽器範例 Shows the hierarchy of MIME types and can be used to determine the MIME type of a file.
Mandelbrot 範例 The Mandelbrot example demonstrates multi-thread programming using Qt. It shows how to use a worker thread to perform heavy computations without blocking the main thread's event loop.
隊列自定義類型範例 Demonstrates multi-thread programming using Qt
信號量範例 Demonstrates multi-thread programming using Qt
共享內存範例 Demonstrates doing inter-process communication using shared memory with the QSharedMemory class.
等待條件範例 Demonstrates multi-thread programming using Qt

Qt D-Bus

D-Bus 聊天範例 演示應用程序實例之間的通信。
D-Bus 復雜乒乓範例 演示 Qt D-Bus 類型係統的用法。
D-Bus 列錶名稱範例 演示如何訪問 D-Bus 總綫守護程序服務。
D-Bus 乒乓範例 演示使用 D-Bus 的簡單消息係統。
D-Bus 遠程控製車範例 展示如何使用 Qt D-Bus 從另一應用程序控製車。

Qt Data Visualization

Audiolevels 範例 展示實時音頻數據的簡單應用程序。
Axis Range Dragging With Labels Example Implementing a custom input handler to support axis dragging.
條形範例 在 Widget 應用程序中使用 Q3DBars。
自定義輸入範例 在 Widget 應用程序中實現自定義輸入處理程序。
自定義項範例 將自定義項添加到錶麵圖。
自定義代理範例 使用 Q3DBars 采用自定義代理。
項模型範例 Using an item model as data source for Q3DBars.
Qt Quick 2 Axis Dragging Example Implementing axis dragging in QML
Qt Quick 2 Axis Formatter Example Example of a hybrid C++ and QML application demonstrating different axis formatters.
Qt Quick 2 Bars Example Using Bars3D in a QML application.
Qt Quick 2 Custom Input Example Customizing input in a QML application.
Qt Quick 2 Legend Example Showing graph legend in a QML application.
Qt Quick 2 Multiple Graphs Example Showing multiple graphs simultaneously in a QML application.
Qt Quick 2 Oscilloscope Example Example of a hybrid C++ and QML application.
Qt Quick 2 Scatter Example Using Scatter3D in a QML application.
Qt Quick 2 Spectrogram Example Showing spectrogram graph in a QML application.
Qt Quick 2 Surface Example Using Surface3D in a QML application.
Qt Quick 2 Surface Multiseries Example Using multiple series with Surface3D in a QML application.
Rotations Example Using rotated scatter items
Scatter Example Using Q3DScatter in a widget application.
錶麵範例 在 Widget 應用程序中使用 Q3DSurface。
紋理錶麵範例 采用 Q3DSurface 使用紋理。
Volumetric rendering Example 渲染體積對象。

Qt Designer 手冊

計算器構建者範例 Creating a user interface from a Qt Designer form at run-time.
Calculator Form Example Using a form created with Qt Designer in an application.
容器擴展範例 Creating a custom multi-page plugin for Qt Designer.
自定義 Widget 插件範例 Creating a custom widget plugin for Qt Designer.
Task Menu Extension Example Creating a custom widget plugin for Qt Designer and providing custom task menu entries that are associated with the plugin.
世界時間時鍾構建者範例 Creating forms with Qt Designer that contain custom widgets that can be dynamically generated at run-time.
World Time Clock Plugin Example Creating a custom widget plugin for Qt Designer that uses signals and slots.

Qt GUI

指針式時鍾窗口範例 指針式時鍾窗口範例展示如何繪製自定義窗口的內容。
OpenGL 窗口範例 This example shows how to create a minimal QWindow based application for the purpose of using OpenGL.
光柵窗口範例 This example shows how to create a minimal QWindow based application using QPainter for rendering.

Qt Gamepad

Qt Gamepad Configure Buttons Example Enables configuring the gamepad buttons
Qt Gamepad Key Navigation Example Demonstrates how to use navigation keys on the gamepad.
Qt Gamepad Mouse Item Example Depicts joystick movement using a pointer.
Qt Gamepad Qt Quick Example Demonstrates how to interact with the gamepad using QML.
Qt Gamepad Simple Example A simple example demonstrating the APIs in use.

Qt Help

上下文大小寫幫助範例 Using the QHelpEngineCore class to implement context-sensitive help for applications.

Qt Linguist 手冊

Arrow Pad 範例 理解 Qt Linguist 上下文概念和使用 2 種或多種語言。
Hello tr() 範例 將小 Hello World 程序翻譯成拉丁語。
Troll Print 範例 更新用於稍後發行的翻譯。

Qt Location

地圖查看器 (QML) The Map Viewer example shows how to display and interact with a map, search for an address, and find driving directions.
Minimal Map (QML) The minimum code to display a map using Qt Quick.
Places (QML) The Places example demonstrates how to search for Places and access related content.
Places List (QML) The Places List example demonstrates how to search for and display a list of places using a ListView.
地點地圖 (QML) The Places Map example demonstrates how to search for and display a list of places on a map using a MapItemView
Plane Spotter (QML) The Plane Spotter example demonstrates the tight integration of location and positioning data types into QML

Qt Mac Extras

macOS Functions Demonstrates using functions from the QtMac namespace.
macOS: Embedded QWindow Demonstrates embedding a QWindow into an view hierarchy of a macOS application.
macOS: Pasteboard MIME Converter Demonstrates using QMacPasteboardMime class.

Qt Multimedia

音頻設備範例 Testing the available audio devices and their configuration.
音頻輸入範例 Recording audio using the QAudioInput class
音頻輸齣範例 Enabling audio playback using the QAudioOutput class.
音頻錄製器範例 Discovering the available devices and supported codecs.
AudioEngine 範例 使用 Qt Audio Engine API 啓用 3D 聲音控製。
攝像頭範例 攝像頭範例展示如何使用 API 捕獲靜止圖像或視頻。
Declarative Radio Example Demonstrates using the Radio QML type from Qt Multimedia.
媒體播放器範例 播放音頻和視頻。
QML 攝像頭範例 攝像頭範例展示如何使用 API 捕獲靜止圖像或視頻。
QML 視頻範例 Transforming video and camera viewfinder content.
QML 視頻著色器效果範例 Applying shader effects on video and camera viewfinder content.
光譜範例 Analyzing a raw audio stream using the FFTReal library.
視頻圖形項範例 在圖形場景中的流式視頻。
視頻小部件範例 實現視頻播放器 Widget。

Qt NFC

Annotated URL Example An example showing reading from formatted NFC Data Exchange Format (NDEF) messages.
NDEF 編輯器範例 An example about reading and writing NFC Data Exchange Format (NDEF) messages to NFC Forum Tags.
QML 軟木闆範例 A QML example about displaying NFC Data Exchange Format (NDEF) messages.
QML 海報範例 A QML example about reading and displaying NFC Data Exchange Format (NDEF) messages.

Qt Network

阻塞 Fortune 客戶端範例 演示如何為網絡服務創建客戶端
廣播接收器範例 演示如何接收,通過本地網絡廣播的信息。
廣播發送器範例 演示如何把信息廣播到本地網絡中的多個客戶端。
Fortune 客戶端範例 演示如何為網絡服務創建客戶端
Fortune 服務器範例 演示如何為網絡服務創建服務器。
Google 建議範例 獲得榖歌搜索引擎的搜索推薦列錶
HTTP 範例 演示簡單 HTTP 客戶端
迴環範例 演示在本地主機中的客戶端-服務器通信
多點播送接收器範例 演示如何接收發送給多點播送組的信息
多點播送發送器範例 演示如何把消息發送給多點播送組
網絡聊天範例 演示有狀態點對點聊天客戶端
網絡下載範例 演示如何在多下載中使用網絡 API
網絡下載管理器範例 演示如何使用網絡 API 進行多次下載
安全套接字客戶端範例 演示如何通過加密 (SSL) 連接進行通信
綫程化 Fortune 服務器範例 綫程化 Fortune 服務器範例展示如何創建服務器,為使用綫程處理來自不同客戶端的請求的簡單網絡服務。它旨在與 Fortune 客戶端範例一起運行。
Torrent 範例 演示復雜 TCP/IP 操作

Qt Network Authorization

Reddit 範例 演示采用 OAuth 2 進行身份驗證以訪問 Reddit。
Twitter 時間綫範例 演示采用 OAuth 進行身份驗證以訪問 Twitter 時間綫。

Qt OpenGL

2D 描繪範例 The 2D Painting example shows how QPainter and QGLWidget can be used together to display accelerated 2D graphics on supported hardware.
立方體 OpenGL ES 2.0 範例 The Cube OpenGL ES 2.0 example shows how to write mouse rotateable textured 3D cube using OpenGL ES 2.0 with Qt. It shows how to handle polygon geometries efficiently and how to write simple vertex and fragment shader for programmable graphics pipeline. In addition it shows how to use quaternions for representing 3D object orientation.
Hello GL2 範例 The Hello GL2 example demonstrates the basic use of the OpenGL-related classes provided with Qt.
紋理範例 The Textures example demonstrates the use of Qt's image classes as textures in applications that use both OpenGL and Qt to display graphics.

Qt Positioning

GeoFlickr (QML) The GeoFlickr example shows how to use the user's current position to fetch local content from a web service.
Log File Position Source (C++) The Logfile Position Source shows how to create and work with a custom NMEA position source, for platforms without GPS.
SatelliteInfo (C++/QML) The SatelliteInfo example shows how the available satellites at the user's current position and marks the satellites currently contributing to the GPS fix as pink.
Weather Info (C++/QML) The Weather Info example shows how to use the user's current position to retrieve local content from a web service in a C++ plugin for QML.

Qt Purchasing

Qt Purchasing Examples - QtHangman QtHangman is an example that demonstrates how to use the Qt Purchasing API with Qt Quick.

Qt QML

C++ 擴展:網絡訪問管理器工廠範例 Implements a custom network access manager for the QML engine
擴展 QML - 添加類型範例 導齣 C++ 類
擴展 QML - 附加特性範例 附加特性
擴展 QML - 綁定範例 綁定
擴展 QML - 默認特性範例 默認特性
擴展 QML - 擴展對象範例 擴展對象
擴展 QML - 分組特性範例 分組特性
擴展 QML - 繼承與強製轉換範例 C++ 繼承和強製轉換
擴展 QML - 方法範例 方法支持
擴展 QML - 對象和列錶特性類型範例 導齣 C++ 特性
擴展 QML - 特性值源範例 特性值源
擴展 QML - 信號支持範例 信號支持
QML 範例 - 動態場景 此範例演示創建動態組件。
QML 範例 - 國際化 這是國際化範例
QML 插件範例 This example creates a C++ plugin extension by subclassing QQmlExtensionPlugin.
Qt Quick 範例 - XMLHttpRequest This is a collection of XMLHttpRequest examples
采用 C++ 編寫 QML 擴展 關於采用 Qt C++ 擴展 QML 的教程。

Qt Quick

C++ 擴展:圖像提供程序範例 How to load images in QML with QQuickImageProvider.
C++ 擴展:圖像響應提供程序範例 How to load images asynchronously in QML.
Models and Views: AbstractItemModel Example Shows how to use a QAbstractItemModel subclass as a model in QML.
Models and Views: Object ListModel Example Shows how to use a QList<QObject*> as a model in QML.
Models and Views: String ListModel Example Shows how to use a QStringList as a model in QML.
QML Advanced Tutorial 1 - Creating the Game Canvas and Blocks
QML Advanced Tutorial 2 - Populating the Game Canvas
QML Advanced Tutorial 3 - Implementing the Game Logic
QML Advanced Tutorial 4 - Finishing Touches
QML Dynamic View Ordering Tutorial 1 - A Simple ListView and Delegate
QML Dynamic View Ordering Tutorial 2 - Dragging View Items
QML Dynamic View Ordering Tutorial 3 - Moving Dragged Items
QML Dynamic View Ordering Tutorial 4 - Sorting Items
QQuickRenderControl Example Shows how to render a Qt Quick scene into a texture that is then used by a non-Quick based OpenGL renderer
Qt Quick 演示 - Calqlatr 為肖象設備設計的 QML APP,它使用自定義組件、采用 AnimationController 動畫化、並為應用程序邏輯編寫 JavaScript。
Qt Quick 演示 - 時鍾 演示使用 ListView 類型去顯示由 ListModel 生成的數據,及使用 SpringAnimation 類型去動畫圖像的 QML 時鍾應用程序。
Qt Quick Demo - Maroon in Trouble A Qt Quick game for touch devices that uses SpriteSequence, ParticleSystem, Emitter, and Wander types to animate objects and the SoundEffect type to play sound effects.
Qt Quick 演示 - 照片錶麵 用於觸摸設備的 QML 應用程序,使用具有 FolderListModel 的 Repeater 訪問文件夾內容,使用包含 MouseArea 的 PinchArea 處理抓取內容的捏閤手勢。
Qt Quick 演示 - 照片查看器 A QML photo viewer that that uses XmlListModel and XmlRole to download Flickr feeds, and Package to display the photos in different views.
Qt Quick 演示 - RSS 新聞 A QML RSS news reader that uses XmlListModel and XmlRole to download XML data, ListModel and ListElement to create a category list, and ListView to display the data.
Qt Quick 演示 - 相同遊戲 Kuniaki Moribe 流行益智遊戲的 QML 實現。
Qt Quick 演示 - StocQt 用於 NASDAQ-100 的可配置庫存圖錶。
Qt Quick 演示 - Tweet 搜索 帶 3D 效果的 Twitter 搜索客戶端。
Qt Quick Examples - Accessibility This example demonstrates the implementation of accessible buttons.
Qt Quick Examples - Animation This is a collection of QML Animation examples.
Qt Quick 範例 - 畫布 This is a collection of QML Canvas examples.
Qt Quick 範例 - 拖放 This is a collection of QML drag and drop examples
Qt Quick 範例 - 圖像元素 This is a collection of QML examples relating to image types.
Qt Quick 範例 - 鍵交互 這是 QML 鍵盤交互範例的集閤。
Qt Quick 範例 - 本地存儲 一批 QML 本地存儲範例。
Qt Quick 範例 - MouseArea This is an example of the MouseArea type in QML.
Qt Quick 範例 - 定位器 這是 QML Positioner 範例的集閤。
Qt Quick Examples - Right to Left This is a collection of QML Right to Left examples.
Qt Quick Examples - Shader Effects A Qt Quick example demonstrating the use of shader effects.
Qt Quick 範例 - 文本 這是文本相關 QML 範例的集閤。
Qt Quick Examples - Threading This is a collection of QML multithreading examples.
Qt Quick Examples - Touch Interaction A collection of QML Touch Interaction examples.
Qt Quick 範例 - 視圖 這是 QML 模型/視圖範例的集閤。
Qt Quick 範例 - 窗口和屏幕 This example demonstrates the Window and Screen types in QML
Qt Quick Examples - externaldraganddrop This is an example of drag-and-drop among QML applications.
Qt Quick Layouts - 基本範例 演示如何使用布局類型來排列 UI
Qt Quick Particles 範例 - 影響器 這是使用 QML 粒子係統 Affector 範例的集閤。
Qt Quick Particles Examples - CustomParticle This is a collection of examples using CustomParticle in the QML particle system.
Qt Quick Particles 範例 - 發射器 This is a collection of examples using Emitters in the QML particle system.
Qt Quick Particles 範例 - 圖像粒子 這是使用 QML 粒子係統 Affector 範例的集閤。
Qt Quick Particles 範例 - 係統 這是使用 QML 粒子係統 Affector 範例的集閤。
Qt Quick Widgets 範例 Demonstrates how to mix QML with a Qt Widgets application using the QQuickWidget class.
場景圖形 - 自定義幾何圖形 Shows how to implement a custom geometry in the Qt Quick Scene Graph.
場景圖形 - 圖形 Demonstrates how one can combine custom materials and geometries under a single QQuickItem.
場景圖形 - QML 下的 OpenGL 展示如何在 Qt Quick 場景下渲染 OpenGL。
Scene Graph - Painted Item Shows how to implement QPainter-based custom scenegraph items.
場景圖形 - 渲染 FBO (幀緩衝對象) 展示如何采用 Qt Quick 使用 FramebufferObjects。
Scene Graph - Rendering FBOs in a thread Shows how to use FramebufferObjects in a thread together with Qt Quick.
場景圖形 - 簡單材質 展示如何定義場景圖形材質以填充形狀。
場景圖形 - 2 紋理提供程序 展示如何在自定義場景圖節點中,組閤來自 2 紋理提供程序的 2 紋理。
TabWidget 範例 The TabWidget example shows how to create a tabwidget using property aliases and QML Object default properties
Threaded ListModel Example The Threaded ListModel example shows how to use a ListModel from multiple threads using WorkerScript.
UI 組件:錶盤控件範例 The Dial Control Example shows how to create a speedometer-type dial.
UI 組件:可翻轉範例 The Flipable Example shows an item that flips whenever clicked, rotating around the y-axis.
UI Components: Scroll Bar Example The Scroll Bar Example shows how to use scroll bars on a flickable element.

Qt Quick Controls

Qt Quick Controls - Calendar Example Demonstrates the use of Calendar control
Qt Quick Controls - File System Browser Example An example for the TreeView control.
Qt Quick Controls - 圖庫 A collection of components for a classic desktop-style UI.
Qt Quick Controls - Styles Example Demonstrates custom styles
Qt Quick Controls - Table View Example An example for the TableView control.
Qt Quick Controls - Text Editor Example A QML app using Qt Quick Controls and a C++ class to provide a fully-functional rich-text editor application.
Qt Quick Controls - Touch Gallery Demonstrates UI controls for a touch interface
Qt Quick Controls - UI Forms Demonstrates how to separate the application logic from the UI.

Qt Quick Controls 2

Qt Quick Controls 2 - Chat Tutorial Tutorial about writing a basic chat client using Qt Quick Controls 2.
Qt Quick Controls 2 - Contact List A QML app using Qt Quick Controls 2 and a C++ class that implements a simple contact list.
Qt Quick Controls 2 - Flat Style A QML app using Qt Quick Controls 2 and a QML plugin with customized controls.
Qt Quick Controls 2 - Gallery 控件圖庫。
Qt Quick Controls 2 - Side Panel A non-closable persistent side panel with Drawer.
Qt Quick Controls 2 - Swipe to Remove Demonstrates removing list items by swipe.
Qt Quick Controls 2 - Text Editor A QML app using Qt Quick Controls 2 and a C++ class to provide a fully-functional rich-text editor application.
Qt Quick Controls 2 - Wearable Demo Demonstrates an application launcher designed for wearable devices.

Qt Quick Dialogs

Qt Quick System Dialog Examples This example demonstrates the system dialog types in QML

Qt Quick Extras

Qt Quick Extras - Dashboard A car dashboard created using several CircularGauge controls.
Qt Quick Extras - Flat An interactive showcase of the flat style.
Qt Quick Extras - Gallery An interactive showcase of the various controls.

Qt SCXML

Qt SCXML 計算器範例 A widget-based application that implements the Calculator example presented in the SCXML Specification.
Qt SCXML 計算器 QML 範例 A Qt Quick application that implements the Calculator example presented in the SCXML Specification.
Qt SCXML FTP 客戶端範例 使用狀態機實現簡單 FTP 客戶端。
Qt SCXML 援引範例 (動態) 援引動態加載嵌套狀態機。
Qt SCXML 援引範例 (靜態) 援引編譯嵌套狀態機。
Qt SCXML 媒體播放器範例 (動態) A widget-based application that sends data to and receives it from a dynamically loaded ECMAScript data model.
Qt SCXML 媒體播放器範例 (靜態) A widget-based application that sends data to and receives it from a compiled ECMAScript data model.
Qt SCXML 媒體播放器 QML 範例 (C++ 數據模型) 發送數據到 C++ 數據模型和接收數據從 C++ 數據模型。
Qt SCXML 媒體播放器 QML 範例 (動態) A Qt Quick application that sends data to and receives it from a dynamically loaded ECMAScript data model.
Qt SCXML 媒體播放器 QML 範例 (靜態) A Qt Quick application that sends data to and receives it from a compiled ECMAScript data model.
Qt SCXML 彈球範例 Encapsulates the internal logic of an application in an SCXML file.
Qt SCXML 數獨範例 Presents the use of SCXML in a sudoku game.
Qt SCXML 交通燈範例 (動態) A widget-based application that uses a dynamically loaded state machine to implement a traffic light.
Qt SCXML 交通燈範例 (靜態) A widget-based application that uses a compiled state machine to implement a traffic light.
Qt SCXML 交通燈 QML 範例 (動態) A Qt Quick application that uses a dynamically loaded state machine to implement a traffic light.
Qt SCXML 交通燈 QML 範例 (簡單) A Qt Quick application that uses a compiled state machine to implement a simplified traffic light.
Qt SCXML 交通燈 QML 範例 (靜態) A Qt Quick application that uses a compiled state machine to implement a traffic light.

Qt SQL

Books Shows how to use Qt SQL classes with a model/view framework.
Cached Table Example The Cached Table example shows how a table view can be used to access a database, caching any changes to the data until the user explicitly submits them using a push button.
Drill Down Example The Drill Down example shows how to read data from a database as well as submit changes, using the QSqlRelationalTableModel and QDataWidgetMapper classes.
Master Detail Example The Master Detail Example shows how to present data from different data sources in the same application. The album titles, and the corresponding artists and release dates, are kept in a database, while each album's tracks are stored in an XML file.
Query Model Example The Query Model example shows how to make customized versions of data obtained from a SQL query, using a model that encapsulates the query and table views to display the results.
關係錶模型範例 關係錶模型示例展示如何使用錶格視圖與關係模型,可視化數據庫中項之間的關係。
SQL Browser The SQL Browser example shows how a data browser can be used to visualize the results of SQL statements on a live database.
SQL Widget Mapper Example The SQL Widget Mapper example shows how to use a map information from a database to widgets on a form.
錶格模型範例 The Table Model example shows how to use a specialized SQL table model with table views to edit information in a database.

Qt SVG

SVG 生成器範例
SVG 查看器範例
文本對象範例

Qt Script

Context2D Example
Default Prototypes Example
Hello Script Example

Qt Sensors

Qt Sensors - Accel Bubble The AccelBubble example demonstrates the Accelerometer QML type.
Qt Sensors - C++ Sensor Gestures Example The sensor gesture example demonstrates the steps for creating a C++ application that uses sensor gestures and the included shake sensor.
Qt Sensors - Explorer QML Example Demonstrates how to read the meta-data of available sensors.
Qt Sensors - 格魯傳感器範例 The Qt Sensors - Grue sensor example demonstrates all the steps from creating a new sensor to using it.
Qt Sensors - Maze QML Example The Maze example demonstrates the TiltSensor QML type.
Qt Sensors - QML example The QtSensors - QML example demonstrates the QML sensors types in the QtSensors 5 import.
Qt Sensors - SensorGesture QML Type example Demonstrates the use of SensorGesture QML type.
Qt Sensors - ShakeIt QML Example The sensor gesture example demonstrates the steps for creating a QML application that uses sensor gestures and the included shake sensor.

Qt Serial Bus

CAN 總綫範例 範例發送/接收 CAN Bus 幀。
Modbus 主控範例 範例實現 Modbus 主控應用程序。
Modbus 從屬範例 範例實現 Modbus 從屬應用程序。

Qt Serial Port

阻塞主控範例 展示如何在工作者綫程中使用 QSerialPort 的同步 API。
阻塞從屬範例 展示如何在非 GUI 綫程中使用 QSerialPort 的同步 API。
命令行枚舉器範例 展示如何獲取有關係統中串行設備的信息。
命令行讀取器異步範例 展示如何通過串口異步接收數據。
命令行讀取器同步範例 展示如何通過串口同步接收數據。
命令行寫入器異步範例 展示如何通過串口異步發送數據。
命令行寫入器同步範例 展示如何通過串口同步發送數據。
枚舉器範例 展示如何顯示有關係統中串行設備的信息。
終端範例 展示如何使用各種 QSerialPort 特徵。

Qt Speech

Hello 說話範例 The Hello Speak example reads out a small piece of text

Qt Test

第 1 章:編寫單元測試 如何編寫單元測試。
第 2 章:數據驅動測試 如何創建數據驅動測試。
第 3 章:模擬 GUI 事件 如何模擬 GUI 事件。
第 4 章:重演 GUI 事件 如何重演 GUI 事件。
第 5 章:編寫基準測試 如何編寫基準測試。

Qt UI Tools

Multiple Inheritance Example Using a form created with Qt Designer in an application.
文本查找器落例 Dynamically loading .ui files using QUiLoader.

Qt Virtual Keyboard

Qt Quick Virtual Keyboard - 基本範例 這是使用虛擬鍵盤的基本 QML 範例。

Qt Wayland Compositor

Qt Wayland Compositor Examples - IVI Compositor IVI Compositor is an example that demonstrates how to use the IviApplication extension.
Qt Wayland Compositor Examples - Minimal QML Minimal QML is a simple example that demonstrates how to write a Wayland compositor in QML.
Qt Wayland Compositor Examples - Multi Output Multi Output is an example that demonstrates a compositor with multiple outputs.
Qt Wayland Compositor Examples - Multi Screen Multi Screen is a desktop-style Wayland compositor for multiple screens.
Qt Wayland Compositor Examples - Pure QML Pure QML is an example that demonstrates how to write a Wayland compositor in pure QML.
Qt Wayland Compositor Examples - QWindow Compositor QWindow Compositor is an example that demonstrates how to write a Wayland compositor in C++.
Qt Wayland Compositor Examples - Spanning Screens Spanning Screens is an example that demonstrates how to let Wayland clients span multiple screens.

Qt WebChannel

Qt WebChannel ChatClient HTML 範例 通過 WebSocket 與 QWebChannel 服務器通信的 HTML/JavaScript 客戶端。
Qt WebChannel ChatClient QML 範例 通過 WebSocket 與 QWebChannel 服務器通信的 QML 客戶端。
Qt WebChannel ChatServer 範例 以 QWebChannel C++ API 實現的簡單聊天服務器。
Qt WebChannel 獨立範例 在服務器和運行於瀏覽器的遠程客戶端之間的簡單聊天。

Qt WebEngine

WebEngine 內容操縱範例 演示如何加載和操縱 Web 內容。
WebEngine Cookie 瀏覽器範例 A cookie browser based on Qt WebEngine Widgets
WebEngine Demo Browser Example A demo browser based on Qt WebEngine Widgets
WebEngine Markdown 編輯器範例 演示如何在混閤桌麵應用程序中集成 Web 引擎。
WebEngine Qt Quick 自定義對話框範例 Customizes UI elements of Qt WebEngine's dialogs
WebEngine Qt Quick 最小範例 Displays a web page using the Qt Quick integration of Qt WebEngine
WebEngine Quick 納米瀏覽器 以 WebEngineView QML 類型實現的 Web 瀏覽器。
WebEngine 食譜瀏覽器 基於 WebEngineView QML 類型和 Qt Quick Controls 2 的小型混閤應用程序。
WebEngine Widgets Html2Pdf 範例 Converts web pages to PDF documents using Qt WebEngine
WebEngine Widgets 地圖範例 Demonstrates how to handle geolocation requests
WebEngine Widgets 最小範例 Displays a web page using Qt WebEngine Widgets
WebEngine Widgets 簡單瀏覽器範例 A simple browser based on Qt WebEngine Widgets
WebEngine Widgets 拼寫檢查器範例 把拼寫檢查器集成到簡單 HTML 錶單。
WebEngine Widgets 視頻播放器範例 Displays full screen video using QWebEngineView

Qt WebSockets

迴顯客戶端範例 描述如何以 WebSocket API,創建簡單迴顯客戶端。
迴顯服務器範例 展示如何創建發送迴接收消息的,簡單服務器應用程序。
QML WebSocket 客戶端範例 闡述如何編程 QML WebSocket 客戶端的範例。
QML WebSocket 服務器範例 展示如何使用 QML WebSocketServer 的簡單範例。
SSL 迴顯客戶端範例 展示如何使用 QWebSocket 類通過安全連接 (wss) 實現迴顯客戶端。
SSL 迴顯服務器範例 展示如何使用 QWebSocketServer 類通過安全套接字 (wss) 實現簡單迴顯服務器。
簡單聊天範例 展示如何使用 QWebSocket 和 QWebSocketServer 類通過 WebSocket 協議創建簡約聊天應用程序。

Qt WebView

Qt WebView 範例 - Minibrowser Minibrowser 範例演示瞭如何把 Qt WebView 模塊與 Qt Quick 一起使用。

Qt Widgets

40000 個芯片 可視化具有 40000 個芯片項的巨大圖形視圖場景
地址簿範例 The address book example shows how to use proxy models to display different views onto data from a single model.
仿射變換 Demonstrates how affine transformations in QPainter works.
指針式時鍾範例 指針式時鍾範例展示如何繪製自定義 Widget 的內容。
錨點布局範例 Demonstrates anchor layout in a graphics view scene
Animated Tiles Example The Animated Tiles example animates items in a graphics scene.
Application Chooser Example The Application Chooser example shows how to use the Qt state machine and the animation framework to select between applications.
應用程序範例 The Application example shows how to implement a standard GUI application with menus, toolbars, and a status bar. The example itself is a simple text editor program built around QPlainTextEdit.
基本繪製範例 The Basic Drawing example shows how to display basic graphics primitives in a variety of styles using the QPainter class.
基本圖形布局範例 演示如何創建基本圖形布局
基本布局範例 Shows how to use the standard layout managers.
基本排序/過濾模型範例 The Basic Sort/Filter Model example illustrates how to use QSortFilterProxyModel to perform basic sorting and filtering.
模糊拾取器效果示例 Demonstrates how to apply graphical effects on items in the view
邊框布局範例 Shows how to arrange child widgets along a border.
Boxes Combines advanced OpenGL rendering with the Graphics View framework
計算器範例 範例展示如何使用信號/槽來實現計算器 Widget 功能,及如何使用 QGridLayout 將子級小部件放在柵格中。
日曆範例 The Calendar example shows how to create rich text content and display it using a rich text editor.
日曆 Widget 範例 日曆 Widget 範例展示使用 QCalendarWidget。
字符映射範例 字符映射範例展示如何創建既可以顯示自身內容,又可以響應用戶輸入的自定義 Widget。
圖錶範例 The Chart example shows how to create a custom view for the model/view framework.
類嚮導範例 The License Wizard example shows how to implement linear wizards using QWizard.
代碼編輯器範例 代碼編輯器範例展示如何創建擁有行號和突顯當前行的簡單編輯器。
碰撞小鼠範例 Demonstrates how to animate items on a graphics view
色彩編輯器工廠範例 This example shows how to create an editor that can be used by a QItemDelegate.
組閤框 Widget 映射器範例 The Combo Widget Mapper example shows how to use a custom delegate to map information from a model to specific widgets on a form.
補全器範例 The Completer example shows how to provide string-completion facilities for an input widget based on data provided by a model.
閤成模式 Demonstrates how Composition Modes work in QPainter.
同心圓範例 Demonstrates the improved quality that antialiasing and floating point precision gives.
配置對話框範例 The Config Dialog examples shows how a configuration dialog can be created by using an icon view with a stacked widget.
自定義補全器範例 The Custom Completer example shows how to provide string-completion facilities for an input widget based on data provided by a model. The completer pops up suggestions for possible words based on the first three characters input by the user and the user's choice of word is inserted into the TextEdit using QTextCursor.
自定義排序/過濾模型範例 The Custom Sort/Filter Model example illustrates how to subclass QSortFilterProxyModel to perform advanced sorting and filtering.
簡圖場景示例 演示如何使用圖形視圖框架
數字時鍾範例 數字時鍾範例展示如何使用 QLCDNumber 顯示具有類似 LCD 數字的數。
目錄視圖範例 This example demonstrates the usage of a tree view.
停放 Widget 範例 The Dock Widgets example shows how to add dock windows to an application. It also shows how to use Qt's rich text engine.
拖放拼圖範例 The Drag and Drop Puzzle example demonstrates a way of using the drag and drop system with item view widgets.
拖放 Robot 範例 Demonstrates how to drag and drop items in a graphics view
可拖拽圖標範例 可拖拽圖標範例展示如何在同一應用程序中的 Widget 之間 (和在不同應用程序之間),拖放圖像數據。
可拖拽文本範例 The Draggable Text example shows how to drag and drop textual data between widgets in the same application, and between different applications.
掉落站點範例 範例展示如何區分可用於拖放操作中的各種 MIME (多用途 Internet 郵件擴展) 格式。
動態布局範例 Shows how to re-orient widgets in running applications.
緩和麯綫範例 The Easing Curves example shows how to use easing curves to control the speed of an animation.
迴顯插件範例 此範例展示如何創建 Qt 插件。
可編輯樹模型範例 This example shows how to implement a simple item-based tree model that can be used with other classes the model/view framework.
彈性節點範例 Demonstrates how to interact with graphical items in a scene
省略標簽範例 This example creates a widget similar to QLabel, that elides the last visible line, if the text is too long to fit the widget's geometry.
嵌入式對話框 Demonstrates how to embed dialogs into a graphics view
事件過渡範例 The Event Transitions example shows how to use event transitions, a feature of The State Machine Framework.
擴展範例 The Extension example shows how to add an extension to a QDialog using the QAbstractButton::toggled() signal and the QWidget::setVisible() slot.
Factorial States Example The Factorial States example shows how to use The State Machine Framework to calculate the factorial of an integer.
褪色消息效果範例 Demonstrates how to apply effects on items in the view
抓取更多範例 The Fetch More example shows how two add items to an item view model on demand.
查找文件範例 The Find Files example shows how to use QProgressDialog to provide feedback on the progress of a slow operation. The example also shows how to use QFileDialog to facilitate browsing, how to use QTextStream's streaming operators to read a file, and how to use QTableWidget to provide standard table display facilities for applications. In addition, files can be opened using the QDesktopServices class.
流式布局範例 Shows how to arrange widgets for different window sizes.
字體采樣器範例 The Font Sampler example shows how to preview and print multi-page documents.
冰箱磁貼範例 冰箱磁貼範例說明如何采用拖放,移動幾種 MIME (多用途 Internet 郵件擴展) 編碼的數據類型。
凍結列範例 This example demonstrates how to freeze a column within a QTableView.
漸變 Shows how gradients can be used with QPainter.
圖形視圖流布局範例 Demonstrates flow layout on a graphics view scene.
組框範例 組框範例展示如何在 Qt 中使用不同種類的組框。
I18N 範例 The Internationalization (I18N) example demonstrates Qt's support for translated text. Developers can write the initial application text in one language, and translations can be provided later without any modifications to the code. It also demonstrates how to detect the system language settings and show the UI in the appropriate language.
圖標範例 圖標範例展示 QIcon 如何生成反射圖標狀態、模式及大小的像素圖。
圖像閤成範例 Shows how composition modes work in QPainter.
圖像手勢範例 Demonstrates the use of simple gestures in a widget
圖像查看器範例 範例展示如何組閤 QLabel 和 QScrollArea 以顯示圖像。
Interview 此範例演示模型/視圖框架的用法。
項視圖拼圖範例 The Puzzle example shows how to enable drag and drop with a custom model to allow items to be transferred between a view and another widget.
許可嚮導範例 許可嚮導範例展示如何以 Qt 實現復雜嚮導。
Lighting Effect Example Demonstrates how to apply effects on items in the view
行編輯範例 The Line Edits example demonstrates the many ways that QLineEdit can be used, and shows the effects of various properties and validators on the input and output supplied by the user.
MDI 範例 The MDI example shows how to implement a Multiple Document Interface using Qt's QMdiArea class.
主窗口 The Main Window example shows Qt's extensive support for tool bars, dock windows, menus, and other standard application features.
菜單範例 The Menus example demonstrates how menus can be used in a main window application.
鼠標按鈕測試器 The 'Mouse Button Tester' example demonstrates how to reimplement mouse events within a custom class. You can also use this program to verify that Qt is actually receiving mouse events from your mouse.
Move Blocks Example The Move Blocks example shows how to animate items in a QGraphicsScene using a QStateMachine with a custom transition.
影片範例 The Movie example demonstrates how to use QMovie and QLabel to display animations.
訂購錶單範例 The Order Form example shows how to generate rich text documents by combining a simple template with data input by the user in a dialog.
Pad Navigator Example Demonstrates how to create animated user interface
描繪器路徑範例 The Painter Paths example shows how painter paths can be used to beuild complex shapes for rendering.
第 1 部分 - 設計用戶界麵
第 2 部分 - 添加地址
第 3 部分 - 在條目之間導航
第 4 部分 - 編輯和移除地址
第 5 部分 - 添加查找功能
第 6 部分 - 加載和保存
第 7 部分 - 額外特徵
路徑描邊 The Path Stroking example shows various types of pens that can be used with QPainter.
Ping Pong States Example The Ping Pong States example shows how to use parallel states together with custom events and transitions in The State Machine Framework.
像素器範例 The Pixelator example shows how delegates can be used to customize the way that items are rendered in standard item views.
插件和描繪基本工具範例 插件為描繪功能提供基本工具。
插件和描繪範例 演示如何使用插件擴展 Qt 應用程序。
插件和描繪額外過濾器範例 提供額外過濾器的插件。
QRegularExpression 範例 The QRegularExpression example shows how regular expressions in Qt are applied to text by providing an environment in which new regular expressions can be created and tested on custom text strings.
Regular Expressions Example The Regular Expressions (RegExp) example shows how regular expressions in Qt are applied to text by providing an environment in which new regular expressions can be created and tested on custom text strings.
Rogue Example The Rogue example shows how to use the Qt state machine for event handling.
SDI 範例 The SDI example shows how to create a Single Document Interface. It uses a number of top-level windows to display the contents of different text files.
屏幕截圖範例 The Screenshot example shows how to take a screenshot of the desktop.
塗鴉範例 The Scribble example shows how to reimplement some of QWidget's event handlers to receive the events generated for the application's widgets.
設置編輯器範例 設置編輯器範例展示如何在應用程序中使用 Qt 的標準設置支持,通過提供的編輯器使用戶能夠查看已安裝應用程序設置,並修改那些可以編輯的設置。
異形時鍾範例 The Shaped Clock example shows how to apply a widget mask to a top-level widget to produce a shaped window.
簡單錨點布局範例 演示圖形視圖場景中的錨點布局
簡單 DOM 模型範例 The Simple DOM Model example shows how an existing class can be adapted for use with the model/view framework.
簡單樹模型範例 "簡單樹模型範例" 展示如何使用,具有 Qt 標準視圖類的分層模型。
簡單 Widget 映射器範例 The Simple Widget Mapper example shows how to use a widget mapper to display data from a model in a collection of widgets.
滑塊範例 The Sliders example shows how to use the different types of sliders available in Qt: QSlider, QScrollBar and QDial.
自鏇框委托範例 The Spin Box Delegate example shows how to create an editor for a custom delegate in the model/view framework by reusing a standard Qt editor widget.
自鏇框範例 The Spin Boxes example shows how to use the many different types of spin boxes available in Qt, from a simple QSpinBox widget to more complex editors like the QDateTimeEdit widget.
電子錶格 The Spreadsheet example shows how to create a simple spreadsheet application.
標準對話框範例 The Standard Dialogs example shows the standard dialogs that are provided by Qt.
星號委托範例 The Star Delegate example shows how to create a delegate that can paint itself and that supports editing.
狀態範例 The States example shows how to use the Qt state machine to play animations.
Stickman Example The Stickman example shows how to animate transitions in a state machine to implement key frame animations.
樣式插件範例 This example shows how to create a plugin that extends Qt with a new GUI look and feel.
樣式錶範例 樣式錶範例展示如何使用樣式錶。
樣式範例 Styles 範例闡明如何使用 Qt 創建自定義 Widget 繪製樣式,和演示 Qt 的預定義樣式。
Sub-Attaq This example shows Qt's ability to combine the animation framework and the state machine framework to create a game.
句法高亮器範例 The Syntax Highlighter example shows how to perform simple syntax highlighting.
係統托盤圖標範例 The System Tray Icon example shows how to add an icon with a menu and popup messages to a desktop environment's system tray.
選項卡對話框範例 The Tab Dialog example shows how to construct a tab dialog using the QTabWidget class.
數位闆範例 此範例展示如何在 Qt 應用程序中使用 Wacom 數位闆。
俄羅斯方塊範例 俄羅斯方塊範例是經典俄羅斯方塊遊戲的 Qt 版本。
文本編解碼器範例 如何使用文本編解碼器導入/導齣文本。
文本編輯 The Text Edit example shows Qt's rich text editing facilities in action.
工具提示範例 工具提示範例展示如何為應用程序 Widget 提供靜態和動態工具提示。
Traffic Light Example The Traffic Light example shows how to use The State Machine Framework to implement the control flow of a traffic light.
變換範例 The Transformations example shows how transformations influence the way that QPainter renders graphics primitives.
樹模型補全器範例 The Tree Model Completer example shows how to provide completion facilities for a hierarchical model, using a period as the separator to access Child, GrandChild and GrandGrandChild level objects.
通俗嚮導範例 The Trivial Wizard example illustrates how to create a linear three-page registration wizard using three instances of QWizardPage and one instance of QWizard.
雙嚮按鈕範例 The Two-way button example shows how to use The State Machine Framework to implement a simple state machine that toggles the current state when a button is clicked.
撤消框架 This example shows Qt's undo framework in action.
撤消框架範例 This example shows how to implement undo/redo functionality with the Qt undo framework.
驗證器範例 The Validators example shows the signal emission behavior of input validators.
嚮量變形 Demonstrates how to manipulate the elements of a QPainterPath.
天氣錨點布局範例 演示圖形視圖場景中的錨點布局
Widget 教程 - 子級 Widget
Widget 教程 - 創建窗口
Widget 教程 - 嵌套布局
Widget 教程 - 使用布局
擺動範例 The Wiggly example shows how to animate a widget using QBasicTimer and timerEvent(). In addition, the example demonstrates how to use QFontMetrics to determine the size of text on screen.
窗口標誌範例 窗口標誌範例展示如何使用可用於 Qt 的窗口標誌。

Qt Windows Extras

圖標提取器 演示訪問包含在 Windows 二進製文件中的圖標。
音樂播放器 演示管理 Windows DWM (桌麵窗口管理器) 特徵、跳轉列錶、任務欄按鈕疊加和縮略圖工具欄。
Quick 播放器 演示在 Qt Quick 中使用 QtWinExtras。

Qt XML

DOM 書簽範例 提供用於 XML 書簽交換語言文件的讀取器
QXmlStream 書簽範例 演示如何讀寫 XBEL 文件
SAX Bookmarks Example Demonstrates how to read XBEL files
XML Stream Lint 範例 讀取輸入文件並寫入標準輸齣文件的命令行工具。

Qt XML Patterns

C++ 源代碼分析器範例 Using XQuery and the xmlpatterns command line utility to query C++ source code.
文件係統範例 Using Qt XML Patterns for querying non-XML data that is modeled to look like XML.
配方範例 Using Qt XML Patterns to query XML data loaded from a file.
XML 模式驗證範例 Using Qt XML Patterns to validate XML with a W3C XML Schema.