Let's take Qt online installer and Qt Creator as an example.
At the time of this writing:
| // Arch revision: native curved caps approximate the Ravitz arch construction. | |
| // Fiddy, a native muCAD body-and-neck study. | |
| // Millimetres. X is across the body; +Y points towards the pegbox. | |
| // The rib bottom is Z=0. The front arches up; the back arches down. | |
| // Plate and hole contours: reference/fmf-outline.dxf. | |
| // Neck and heel profiles: reference/fiddy-mcfiddleface.step. | |
| use std::geo2d::*; | |
| use std::geo3d::*; | |
| use std::ops::*; |
| diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json | |
| index 6601d5c..0a21abe 100644 | |
| --- a/resources/definitions/fdmprinter.def.json | |
| +++ b/resources/definitions/fdmprinter.def.json | |
| @@ -1097,7 +1097,7 @@ | |
| "description": "The thickness of the walls in the horizontal direction. This value divided by the wall line width defines the number of walls.", | |
| "unit": "mm", | |
| "default_value": 0.8, | |
| - "value": "wall_line_width_0 if magic_spiralize else 0.8", | |
| + "value": "wall_line_width_0 + (magic_spiralize_wall_count - 1) * wall_line_width_x if magic_spiralize else 0.8", |
| // Helper to find parent element matching a condition | |
| function findParentMatching(element, condition, maxDepth = 10) { | |
| let current = element; | |
| let depth = 0; | |
| while (current && depth < maxDepth) { | |
| if (condition(current)) { | |
| return current; | |
| } | |
| current = current.parentElement; |
| { | |
| "keyboard_name": "toshiba_t1200", | |
| "manufacturer": "Toshiba", | |
| "url": "", | |
| "maintainer": "penk", | |
| "usb": { | |
| "vid": "0xFEED", | |
| "pid": "0x0000", | |
| "device_version": "1.0" | |
| }, |
| diff --git a/src/Makefile b/src/Makefile | |
| index 182dd0c..ed34a08 100644 | |
| --- a/src/Makefile | |
| +++ b/src/Makefile | |
| @@ -1,8 +1,8 @@ | |
| -include Makefile.local | |
| -CC_NATIVE ?= gcc | |
| -CXX_NATIVE ?= g++ | |
| -LD_NATIVE ?= g++ |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <time.h> | |
| #include <wiringSerial.h> | |
| #define UART_NODE "/dev/ttyS0" | |
| enum KEY_TYPE { | |
| SHORT_PRESS = 1, | |
| MIDDLE_PRESS = 2, |
Download file from download.qt.io.
| import QtQuick 2.0 | |
| import QtQuick.Window 2.0 | |
| import QtWebEngine 1.0 | |
| import QtQuick.VirtualKeyboard 2.2 | |
| import QtQuick.VirtualKeyboard.Settings 2.2 | |
| Window { | |
| width: Screen.width | |
| height: Screen.height | |
| visible: true |
| (function () { | |
| window.addEventListener("keypress", function (e) { | |
| console.log('keypress:'+String.fromCharCode(e.keyCode)); | |
| e.preventDefault(); | |
| }, false); | |
| })(); |