[Apollo 6.0] how does the cyber rt use the Reader to read the data sent by the Writer (top-level logic)

How does the Reader read the data of the Writer (top-level logic) ​ Generally, the reader is created with a Node. For example, in the Component class (the Component can process up to four message types at the same time. Here we will choose one data type to explain): reader = node_->CreateReader<M0>(reader_cfg) ​ Therefore, we ca ...

Posted by ben2005 on Sat, 05 Mar 2022 12:39:47 +0100

Qt6 QML Book / network settings / Web Sockets

Web Sockets The WebSockets module provides an implementation of the WebSockets protocol for WebSockets clients and servers. It mirrors the Qt CPP module. It allows sending a string and binary messages using a full duplex communication channel. A WebSocket is normally established by making an HTTP connection to the server and the server then "u ...

Posted by PHPGuru_2700 on Tue, 01 Feb 2022 05:43:51 +0100

Qt Quick Scene Graph learning 1: draw lines

Qt Quick Scene Graph related documents: https://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html Refer to the example customgeometry: https://doc.qt.io/qt-5/qtquick-scenegraph-customgeometry-example.html Complete code link of this article: https://github.com/gongjianbo/MyTestCode2021/tree/master/Qml/LearnQSG_20210614_Line There are many w ...

Posted by tibiz on Sat, 29 Jan 2022 13:56:29 +0100

Part 2 basic QML components

catalogue 1. Color picker set text 2. Component definition 3,Cell.qml code of QML 4. Master QML file 1. Color picker set text example: As can be seen from the above figure, there are six cells with different colors in the lower left corner. Click the Cell to set the color of the text. However, in order to avoid reusing code for each C ...

Posted by dubc07 on Sat, 29 Jan 2022 05:59:43 +0100

QML map modification plug-in source code. Map sets the loading map type in Plugin

Common Map types include traffic Map, topographic Map, satellite Map, etc. the activeMapType attribute is provided in QML Map (taking OSM Map as an example) to read the currently displayed Map type (Note: this attribute is read-only and cannot be used for assignment). The loading search of Map in QML is based on the file name of tile, such as t ...

Posted by montana111 on Thu, 27 Jan 2022 11:56:19 +0100

QML positioning, layout, input elements

catalogue Positioning, layout, input elements, and transformations Components Element transformations Positioning Element Row locator Column locator Grid locator Flow locator Repeater (repeating element) Layout Element Input Element Text input Focus scope TextEdit Key Element Positioning, layout, input elements, and transform ...

Posted by LordShryku on Thu, 20 Jan 2022 17:58:19 +0100

QML VIII: input elements

catalogue Text input Focus area Text editing Key element Text input TextInput allows the user to enter a line of text. This element supports the use of regular expression validators to limit the mode settings of input and input masks. The additional attribute of KeyNavigation can preset an element id to bind the key for switching focu ...

Posted by aeroswat on Sat, 15 Jan 2022 22:50:55 +0100

QML Item locator Anchor

1. Item locator Locator items are container items that manage the location of items in the declarative user interface. Locators behave like layout managers used by standard Qt widgets, except that they are also containers themselves. Locators make it easier for many projects to work with them when they need to be arranged in a regular layout. ...

Posted by sebnewyork on Wed, 05 Jan 2022 12:29:46 +0100

Use of ListView - qml

preface I've been writing qml for a while. Now I've forgotten almost half a year. If I didn't look at the previous code and recall something, I'm afraid I thought it was just a fantasy. Recently, I finally have some time to think about things, or to choose what language to write and what to write. Just now there is a simple interface, so I us ...

Posted by Jeremias on Sat, 18 Dec 2021 23:45:12 +0100