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. |
|
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. |
|
The Menus example demonstrates the use of QMenuBar and QStatusBar in a QMainWindow to implement an in-place active control. |
|
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(). |
|
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. |
|
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. |
|
The Simple example demonstrates the use of QAxBindable and QAxFactory. |
|
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. |
|
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. |
Demonstrates creating advanced materials in Qt3D |
|
Demonstrates combining Qt 3D rendering and Qt Quick 2 elements. |
|
展示由 Qt 3D 提供的 4 个基本形状,并为每个形状设置网格。 |
|
A QML example that demonstrates rendering a Scenegraph from multiple viewports. |
|
演示使用 PBR 材质的 QML 应用程序。 |
|
Demonstrates combining Qt 3D rendering and Qt Quick 2 elements. |
|
A QML application that demonstrates using Qt Quick 2 within a Qt 3D scene |
|
A QML application that demonstrates visualizing a 3D scene. |
|
A QWidget-based application with a QML scene containing a 3D scene. |
|
A Qt 3D QML application that illustrates how to render a scene in Qt 3D with shadows. |
|
演示如何在 Qt 3D 渲染场景的 C++ 应用程序。 |
|
A QML application that demonstrates how to render a scene in Qt 3D. |
|
Demonstrates creating a custom material in Qt3D |
|
A QML application that demonstrates using vertex and geometry shaders. |
|
A Qt 3D QML application that implements a single-pass wireframe rendering method. |
Demonstrates calling Java code from an Android application. |
Using and controlling Qt Assistant as a help viewer. |
|
Using Qt Assistant as a customized help viewer for your application. |
范例展示透过蓝牙进行通信。 |
|
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. |
|
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. |
|
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. |
|
An example demonstrating communication through Bluetooth QML API. |
|
A QML example showing Bluetooth communication. |
|
An example showing how to locate Bluetooth devices. |
|
An example showing the use Bluetooth Object Push Profile (OPP). |
|
A QML example about locating Bluetooth devices. |
Render into a framebuffer and use it as a texture |
|
Interact with an object in canvas using Qt Quick Controls |
|
Demonstrates using Qt Quick item as a texture with three.js. |
|
Load and display several JSON models |
|
A simple cube with texturing and lighting |
|
Demonstrates combining Qt Quick and three.js rendering. |
|
Demonstrates combining Qt Quick and three.js rendering. |
|
A simple cube with a Qt Quick item as a texture |
展示如何创建简单区域图表的范例。 |
|
此范例展示动态数据 (麦克风输入) 的绘制。 |
|
展示如何创建条形图表的范例。 |
|
This example shows how to use QAbstractItemModel derived model as the data for the bar series. |
|
The example shows how to create a box-and-whiskers chart. |
|
This example shows how to draw an additional element (a callout) on top of the chart. |
|
Shows how to create a candlestick chart. |
|
The example shows the look and feel of the different built-in themes. |
|
This example shows how to customize the appearance of the different elements on a chart. |
|
The example shows how to use QLineChart with 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. |
|
This example shows how to draw dynamic data. |
|
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. |
|
The example shows how to make use of legend markers. |
|
The example shows how to combine different charts and set the axes. |
|
The example shows how to create a simple line chart. |
|
The example shows how to use 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. |
|
The example shows how to enable OpenGL acceleration for QLineSeries and QScatterSeries. |
|
The example shows how to create a simple percent bar chart. |
|
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. |
|
This is a demonstration of how to use axes in your QML application. |
|
This basic demonstration shows how to use the different chart types by using qml. |
|
This example shows you how to create your own custom legend. |
|
This application shows you how to customize different visual properties of a ChartView and series. |
|
This application demonstrates how to use XmlListModel as a datasource for a Chart. |
|
The example shows how to implement application with strict performance requirements using the Qt Charts QML API. |
|
This is a demonstration on how to use a polar chart in your QML application. |
|
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 create a simple spline 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 a bar chart with negative bars. |
|
The example shows how to create your own custom zooming effect |
Demonstrates how to asynchronously scale images. |
|
Demonstrates how to scale images synchronously. |
|
Demonstrates how to monitor the progress of the active processes. |
|
Demonstrates how to use the map-reduce algorithm |
|
Demonstrates how to run standard functions concurrently. |
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. |
|
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. |
|
Shows the hierarchy of MIME types and can be used to determine the MIME type of a file. |
|
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 从另一应用程序控制车。 |
展示实时音频数据的简单应用程序。 |
|
Implementing a custom input handler to support axis dragging. |
|
在 Widget 应用程序中使用 Q3DBars。 |
|
在 Widget 应用程序中实现自定义输入处理程序。 |
|
Adding custom items to a surface graph. |
|
Using Q3DBars with a custom proxy. |
|
Using an item model as data source for Q3DBars. |
|
Implementing axis dragging in QML |
|
Example of a hybrid C++ and QML application demonstrating different axis formatters. |
|
Using Bars3D in a QML application. |
|
Customizing input in a QML application. |
|
Showing graph legend in a QML application. |
|
Showing multiple graphs simultaneously in a QML application. |
|
Example of a hybrid C++ and QML application. |
|
Using Scatter3D in a QML application. |
|
Showing spectrogram graph in a QML application. |
|
Using Surface3D in a QML application. |
|
Using multiple series with Surface3D in a QML application. |
|
Using rotated scatter items |
|
Using Q3DScatter in a widget application. |
|
Using Q3DSurface in a widget application. |
|
Using texture with Q3DSurface. |
|
Rendering volumetric objects. |
Creating a user interface from a Qt Designer form at run-time. |
|
Using a form created with Qt Designer in an application. |
|
Creating a custom multi-page plugin for Qt Designer. |
|
Creating a custom widget plugin for Qt Designer. |
|
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. |
|
Creating a custom widget plugin for Qt Designer that uses signals and slots. |
The Analog Clock Window example shows how to draw the contents of a custom window. |
|
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. |
Enables configuring the gamepad buttons |
|
Demonstrates how to use navigation keys on the gamepad. |
|
Depicts joystick movement using a pointer. |
|
Demonstrates how to interact with the gamepad using QML. |
|
A simple example demonstrating the APIs in use. |
Using the QHelpEngineCore class to implement context-sensitive help for applications. |
Understanding the Qt Linguist contexts concept and using two or more languages. |
|
Translating a small Hello World program to Latin. |
|
Updating translations for later releases. |
The Map Viewer example shows how to display and interact with a map, search for an address, and find driving directions. |
|
The minimum code to display a map using Qt Quick. |
|
The Places example demonstrates how to search for Places and access related content. |
|
The Places List example demonstrates how to search for and display a list of places using a ListView. |
|
The Places Map example demonstrates how to search for and display a list of places on a map using a MapItemView |
|
The Plane Spotter example demonstrates the tight integration of location and positioning data types into QML |
Demonstrates using functions from the QtMac namespace. |
|
Demonstrates embedding a QWindow into an view hierarchy of a macOS application. |
|
Demonstrates using QMacPasteboardMime class. |
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. |
|
Enabling 3D sound control using the Qt Audio Engine API. |
|
The Camera Example shows how to use the API to capture a still image or video. |
|
Demonstrates using the Radio QML type from Qt Multimedia. |
|
播放音频和视频。 |
|
The Camera Example shows how to use the API to capture a still image or video. |
|
Transforming video and camera viewfinder content. |
|
Applying shader effects on video and camera viewfinder content. |
|
Analyzing a raw audio stream using the FFTReal library. |
|
Streaming video on a graphics scene. |
|
Implementing a video player widget. |
An example showing reading from formatted NFC Data Exchange Format (NDEF) messages. |
|
An example about reading and writing NFC Data Exchange Format (NDEF) messages to NFC Forum Tags. |
|
A QML example about displaying NFC Data Exchange Format (NDEF) messages. |
|
A QML example about reading and displaying NFC Data Exchange Format (NDEF) messages. |
Demonstrates how to create a client for a network service |
|
演示如何接收,通过本地网络广播的信息。 |
|
演示如何把信息广播到本地网络中的多个客户端。 |
|
Demonstrates how to create a client for a network service |
|
演示如何为网络服务创建服务器。 |
|
Obtains the list of search recommendations by the Google search engine |
|
Demonstrates a simple HTTP client |
|
Demonstrates the client-server communication on a local host |
|
Demonstrates how to receive information sent to a multicast group |
|
Demonstrates how to send messages to a multicast group |
|
Demonstrates a stateful peer-to-peer Chat client |
|
Demonstrates how to use networking APIs for multiple downloads |
|
Demonstrates how to use the networking APIs for multiple downloads |
|
Demonstrates how to communicate over an encrypted (SSL) connection |
|
线程化 Fortune 服务器范例展示如何创建服务器,为使用线程处理来自不同客户端的请求的简单网络服务。它旨在与 Fortune 客户端范例一起运行。 |
|
Demonstrates complex TCP/IP operations |
Demonstrates authenticating with OAuth 2 to access Reddit. |
|
Demonstrates authenticating with OAuth to access a Twitter timeline. |
The 2D Painting example shows how QPainter and QGLWidget can be used together to display accelerated 2D graphics on supported hardware. |
|
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. |
|
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. |
The GeoFlickr example shows how to use the user's current position to fetch local content from a web service. |
|
The Logfile Position Source shows how to create and work with a custom NMEA position source, for platforms without GPS. |
|
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. |
|
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. |
QtHangman is an example that demonstrates how to use the Qt Purchasing API with Qt Quick. |
Implements a custom network access manager for the QML engine |
|
Exporting C++ Classes |
|
附加特性 |
|
Binding |
|
Default Property |
|
Extension Objects |
|
分组特性 |
|
C++ Inheritance and Coercion |
|
方法支持 |
|
导出 C++ 特性 |
|
Property Value Source |
|
信号支持 |
|
This example demonstrates creating components dynamically. |
|
This is an internationalization example |
|
This example creates a C++ plugin extension by subclassing QQmlExtensionPlugin. |
|
This is a collection of XMLHttpRequest examples |
|
Tutorial about extending QML with Qt C++. |
How to load images in QML with QQuickImageProvider. |
|
How to load images asynchronously in QML. |
|
Shows how to use a QAbstractItemModel subclass as a model in QML. |
|
Shows how to use a QList<QObject*> as a model in QML. |
|
Shows how to use a QStringList as a model in QML. |
|
QML Advanced Tutorial 1 - Creating the Game Canvas and Blocks |
|
QML Dynamic View Ordering Tutorial 1 - A Simple ListView and Delegate |
|
Shows how to render a Qt Quick scene into a texture that is then used by a non-Quick based OpenGL renderer |
|
A QML app designed for portrait devices that uses custom components, animated with AnimationController, and JavaScript for the application logic. |
|
A QML clock application that demonstrates using a ListView type to display data generated by a ListModel and a SpringAnimation type to animate images. |
|
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. |
|
A QML app for touch devices that uses a Repeater with a FolderListModel to access content in a folder, and a PinchArea that contains a MouseArea to handle pinch gestures on the fetched content. |
|
A QML photo viewer that that uses XmlListModel and XmlRole to download Flickr feeds, and Package to display the photos in different views. |
|
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. |
|
A QML implementation of the popular puzzle game by Kuniaki Moribe. |
|
A configurable stock chart for the NASDAQ-100. |
|
A Twitter search client with 3D effects. |
|
This example demonstrates the implementation of accessible buttons. |
|
This is a collection of QML Animation examples. |
|
This is a collection of QML Canvas examples. |
|
This is a collection of QML drag and drop examples |
|
This is a collection of QML examples relating to image types. |
|
This is a collection of QML keyboard interaction examples. |
|
QML 本地存储范例的集合。 |
|
This is an example of the MouseArea type in QML. |
|
This is a collection of QML Positioner examples. |
|
This is a collection of QML Right to Left examples. |
|
A Qt Quick example demonstrating the use of shader effects. |
|
This is a collection of QML examples relating to text. |
|
This is a collection of QML multithreading examples. |
|
A collection of QML Touch Interaction examples. |
|
This is a collection of QML model-view examples. |
|
This example demonstrates the Window and Screen types in QML |
|
This is an example of drag-and-drop among QML applications. |
|
Demonstrates how to use layout types to arrange a UI |
|
This is a collection of examples using Affectors in the QML particle system. |
|
This is a collection of examples using CustomParticle in the QML particle system. |
|
This is a collection of examples using Emitters in the QML particle system. |
|
This is a collection of examples using Affectors in the QML particle system. |
|
This is a collection of examples using Affectors in the QML particle system. |
|
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. |
|
展示如何在 Qt Quick 场景下渲染 OpenGL。 |
|
Shows how to implement QPainter-based custom scenegraph items. |
|
展示如何采用 Qt Quick 使用 FramebufferObjects。 |
|
Shows how to use FramebufferObjects in a thread together with Qt Quick. |
|
展示如何定义场景图形材质以填充形状。 |
|
Shows how to combine two textures from two texture providers in a custom scene graph node. |
|
The TabWidget example shows how to create a tabwidget using property aliases and QML Object default properties |
|
The Threaded ListModel example shows how to use a ListModel from multiple threads using WorkerScript. |
|
The Dial Control Example shows how to create a speedometer-type dial. |
|
The Flipable Example shows an item that flips whenever clicked, rotating around the y-axis. |
|
The Scroll Bar Example shows how to use scroll bars on a flickable element. |
Demonstrates the use of Calendar control |
|
An example for the TreeView control. |
|
A collection of components for a classic desktop-style UI. |
|
Demonstrates custom styles |
|
An example for the TableView control. |
|
A QML app using Qt Quick Controls and a C++ class to provide a fully-functional rich-text editor application. |
|
Demonstrates UI controls for a touch interface |
|
Demonstrates how to separate the application logic from the UI. |
Tutorial about writing a basic chat client using Qt Quick Controls 2. |
|
A QML app using Qt Quick Controls 2 and a C++ class that implements a simple contact list. |
|
A QML app using Qt Quick Controls 2 and a QML plugin with customized controls. |
|
A gallery of controls. |
|
A non-closable persistent side panel with Drawer. |
|
Demonstrates removing list items by swipe. |
|
A QML app using Qt Quick Controls 2 and a C++ class to provide a fully-functional rich-text editor application. |
|
Demonstrates an application launcher designed for wearable devices. |
This example demonstrates the system dialog types in QML |
A car dashboard created using several CircularGauge controls. |
|
An interactive showcase of the flat style. |
|
An interactive showcase of the various controls. |
A widget-based application that implements the Calculator example presented in the SCXML Specification. |
|
A Qt Quick application that implements the Calculator example presented in the SCXML Specification. |
|
Implements a simple FTP client using a state machine. |
|
Invokes a dynamically loaded nested state machine. |
|
Invokes a compiled nested state machine. |
|
A widget-based application that sends data to and receives it from a dynamically loaded ECMAScript data model. |
|
A widget-based application that sends data to and receives it from a compiled ECMAScript data model. |
|
Sends data to and receives it from a C++ data model. |
|
A Qt Quick application that sends data to and receives it from a dynamically loaded ECMAScript data model. |
|
A Qt Quick application that sends data to and receives it from a compiled ECMAScript data model. |
|
Encapsulates the internal logic of an application in an SCXML file. |
|
Presents the use of SCXML in a sudoku game. |
|
A widget-based application that uses a dynamically loaded state machine to implement a traffic light. |
|
A widget-based application that uses a compiled state machine to implement a traffic light. |
|
A Qt Quick application that uses a dynamically loaded state machine to implement a traffic light. |
|
A Qt Quick application that uses a compiled state machine to implement a simplified traffic light. |
|
A Qt Quick application that uses a compiled state machine to implement a traffic light. |
Shows how to use Qt SQL classes with a model/view framework. |
|
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. |
|
The Drill Down example shows how to read data from a database as well as submit changes, using the QSqlRelationalTableModel and QDataWidgetMapper classes. |
|
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. |
|
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. |
|
The Relational Table Model example shows how to use table views with a relational model to visualize the relations between items in a database. |
|
The SQL Browser example shows how a data browser can be used to visualize the results of SQL statements on a live database. |
|
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. |
The AccelBubble example demonstrates the Accelerometer QML type. |
|
The sensor gesture example demonstrates the steps for creating a C++ application that uses sensor gestures and the included shake sensor. |
|
Demonstrates how to read the meta-data of available sensors. |
|
The Qt Sensors - Grue sensor example demonstrates all the steps from creating a new sensor to using it. |
|
The Maze example demonstrates the TiltSensor QML type. |
|
The QtSensors - QML example demonstrates the QML sensors types in the QtSensors 5 import. |
|
Demonstrates the use of SensorGesture QML type. |
|
The sensor gesture example demonstrates the steps for creating a QML application that uses sensor gestures and the included shake sensor. |
范例发送和接收 CAN bus 帧。 |
|
范例实现 Modbus 主控应用程序。 |
|
范例实现 Modbus 从属应用程序。 |
展示如何在工作者线程中使用 QSerialPort 的同步 API。 |
|
展示如何在非 GUI 线程中使用 QSerialPort 的同步 API。 |
|
展示如何获取有关系统中串行设备的信息。 |
|
展示如何通过串行端口异步接收数据。 |
|
展示如何通过串行端口同步接收数据。 |
|
展示如何通过串行端口异步发送数据。 |
|
展示如何通过串行端口同步发送数据。 |
|
展示如何显示有关系统中串行设备的信息。 |
|
展示如何使用各种 QSerialPort 特征。 |
The Hello Speak example reads out a small piece of text |
如何编写单元测试。 |
|
如何创建数据驱动测试。 |
|
如何模拟 GUI 事件。 |
|
如何重演 GUI 事件。 |
|
如何编写基准。 |
Using a form created with Qt Designer in an application. |
|
Dynamically loading .ui files using QUiLoader. |
This is a basic QML example that uses the virtual keyboard. |
IVI Compositor is an example that demonstrates how to use the IviApplication extension. |
|
Minimal QML is a simple example that demonstrates how to write a Wayland compositor in QML. |
|
Multi Output is an example that demonstrates a compositor with multiple outputs. |
|
Multi Screen is a desktop-style Wayland compositor for multiple screens. |
|
Pure QML is an example that demonstrates how to write a Wayland compositor in pure QML. |
|
QWindow Compositor is an example that demonstrates how to write a Wayland compositor in C++. |
|
Spanning Screens is an example that demonstrates how to let Wayland clients span multiple screens. |
通过 WebSocket 与 QWebChannel 服务器通信的 HTML/JavaScript 客户端。 |
|
通过 WebSocket 与 QWebChannel 服务器通信的 QML 客户端。 |
|
以 QWebChannel C++ API 实现的简单聊天服务器。 |
|
在服务器和运行于浏览器的远程客户端之间的简单聊天。 |
演示如何加载和操纵 Web 内容。 |
|
A cookie browser based on Qt WebEngine Widgets |
|
A demo browser based on Qt WebEngine Widgets |
|
演示如何在混合桌面应用程序中集成 Web 引擎。 |
|
Customizes UI elements of Qt WebEngine's dialogs |
|
Displays a web page using the Qt Quick integration of Qt WebEngine |
|
以 WebEngineView QML 类型实现的 Web 浏览器。 |
|
基于 WebEngineView QML 类型和 Qt Quick Controls 2 的小型混合应用程序。 |
|
Converts web pages to PDF documents using Qt WebEngine |
|
Demonstrates how to handle geolocation requests |
|
Displays a web page using Qt WebEngine Widgets |
|
A simple browser based on Qt WebEngine Widgets |
|
把拼写检查器集成到简单 HTML 表单。 |
|
Displays full screen video using QWebEngineView |
描述如何以 WebSocket API,创建简单回显客户端。 |
|
展示如何创建发送回接收消息的,简单服务器应用程序。 |
|
阐述如何编程 QML WebSocket 客户端的范例。 |
|
展示如何使用 QML WebSocketServer 的。 |
|
展示如何使用 QWebSocket 类通过安全连接 (wss) 实现回显客户端。 |
|
展示如何使用 QWebSocketServer 类通过安全套接字 (wss) 实现简单回显服务器。 |
|
展示如何使用 QWebSocket 和 QWebSocketServer 类通过 WebSocket 协议创建简约聊天应用程序。 |
Minibrowser 范例演示了如何把 Qt WebView 模块与 Qt Quick 一起使用。 |
Visualizes a huge graphic view scene with 40000 chip items |
|
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 |
|
The Animated Tiles example animates items in a graphics scene. |
|
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. |
|
Demonstrates how to create basic graphics layout |
|
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. |
|
Combines advanced OpenGL rendering with the Graphics View framework |
|
The example shows how to use signals and slots to implement the functionality of a calculator widget, and how to use QGridLayout to place child widgets in a grid. |
|
The Calendar example shows how to create rich text content and display it using a rich text editor. |
|
The Calendar Widget example shows use of QCalendarWidget. |
|
The Character Map example shows how to create a custom widget that can both display its own content and respond to user input. |
|
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. |
|
The Code Editor example shows how to create a simple editor that has line numbers and that highlights the current line. |
|
Demonstrates how to animate items on a graphics view |
|
This example shows how to create an editor that can be used by a QItemDelegate. |
|
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. |
|
Demonstrate how to use the Graphics View framework |
|
The Digital Clock example shows how to use QLCDNumber to display a number with LCD-like digits. |
|
This example demonstrates the usage of a tree view. |
|
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. |
|
Demonstrates how to drag and drop items in a graphics view |
|
The Draggable Icons example shows how to drag and drop image data between widgets in the same application, and between different applications. |
|
The Draggable Text example shows how to drag and drop textual data between widgets in the same application, and between different applications. |
|
The example shows how to distinguish the various MIME formats available in a drag and drop operation. |
|
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. |
|
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. |
|
The Fridge Magnets example illustrates how to move around several types of MIME-encoded data with drag and drop. |
|
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. |
|
The Group Box example shows how to use the different kinds of group boxes in Qt. |
|
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. |
|
The Icons example shows how QIcon can generate pixmaps reflecting an icon's state, mode and size. |
|
Shows how composition modes work in QPainter. |
|
Demonstrates the use of simple gestures in a widget |
|
The example shows how to combine QLabel and QScrollArea to display an image. |
|
This example demonstrates the usage of the model/view framework. |
|
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. |
|
The License Wizard example shows how to implement complex wizards in Qt. |
|
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. |
|
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. |
|
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. |
|
Demonstrates how to create animated user interface |
|
The Painter Paths example shows how painter paths can be used to beuild complex shapes for rendering. |
|
The Path Stroking example shows various types of pens that can be used with QPainter. |
|
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 应用程序。 |
|
A plugin providing the extra filters. |
|
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. |
|
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. |
|
The Rogue example shows how to use the Qt state machine for event handling. |
|
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. |
|
Demonstrates anchor layout on a graphics view scene |
|
The Simple DOM Model example shows how an existing class can be adapted for use with the model/view framework. |
|
The Simple Tree Model example shows how to use a hierarchical model with Qt's standard view classes. |
|
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. |
|
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. |
|
The Style Sheet Example shows how to use style sheets. |
|
The Styles example illustrates how to create custom widget drawing styles using Qt, and demonstrates Qt's predefined styles. |
|
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. |
|
This example shows how to use a Wacom tablet in Qt applications. |
|
The Tetrix example is a Qt version of the classic Tetrix game. |
|
How to import and export text using text codecs. |
|
The Text Edit example shows Qt's rich text editing facilities in action. |
|
The Tool Tips example shows how to provide static and dynamic tool tips for an application's widgets. |
|
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. |
|
Demonstrates anchor layout on a graphics view scene |
|
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. |
|
The Window Flags example shows how to use the window flags available in Qt. |
Demonstrates accessing icons contained in Windows binaries. |
|
Demonstrates managing Windows DWM features, jump lists, taskbar button overlay, and thumbnail toolbar. |
|
Demonstrates using QtWinExtras in Qt Quick. |
Provides a reader for XML Bookmark Exchange Language files |
|
演示如何读写 XBEL 文件 |
|
Demonstrates how to read XBEL files |
|
A commandline tool reading from an input file and writing to the standard output file. |
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. |
|
Using Qt XML Patterns to validate XML with a W3C XML Schema. |