Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
62 views

If I use a C++ object's property from QML like this: class Cpp { ... Q_PROPERTY(... aProperty READ getAProperty ... ... getAProperty() { // which engine called me?.. } }; // ...
Ivan's user avatar
  • 471
1 vote
0 answers
25 views

In a QML script, I want to animate a real-valued property y according to a cubic bezier spline in time,value space. The spline is given as an input sequence of [time,value] control points [[t0,y0], ......
1 vote
0 answers
23 views

I’m using StackView in QML for screen navigation. Normal navigation works fine when moving sequentially (Dashboard → Screen 1 → Screen 2, etc.). However, I also have a dropdown menu on the Dashboard ...
0 votes
1 answer
33 views

I would like to learn how to implement custom drop-in replacements for SpringAnimation and SmoothedAnimation, that can be substituted into the "Behavior on" statements in any of the simple ...
1 vote
1 answer
59 views

I am developing a frameless window using QML and Python 3.13.8, PySide6 and QtQuick. I work on macOs Sequoia 15.2. I want the borders of the content area to be shifted from the main window so I add ...
M-T's user avatar
  • 316
1 vote
1 answer
46 views

I want a custom horizontal ScrollBar in ScrollView but for some reasons, it not appearing as well as not functional import QtQuick import QtQuick.Controls.Basic Window { width: 640 height: ...
Thirumal R's user avatar
0 votes
0 answers
89 views

I've been experimenting with applying a Windows 11 Mica background effect to a QML Application using Windows 11 24H2 with Qt 6.10.1. The mica effect works, but there's a white box in the Application ...
Paul's user avatar
  • 23
3 votes
1 answer
129 views

Suppose I have a C++ object called MyCppComponent that takes input from QML and outputs an array of QString. The scheme looks like this, first the intended use: MyCppComponent { id: ...
2 votes
1 answer
61 views

Given this code: import QtQuick import Qt.labs.qmlmodels Window { width: 640; height: 480; visible: true; color: "silver" FocusScope { id: bottomScope anchors....
0 votes
2 answers
73 views

I need to make a collection of buttons of irregular shape -- similar to a puzzle where each piece is a button. They do not overlap, do not necessarily cover the whole window and may have gaps. In ...
Ivan's user avatar
  • 471
1 vote
1 answer
46 views

I would like to create a dynamic keyboard with 9 keys (nine), and I have created a JavaScript code that should create the buttons and place them in a 9x9 grid: for (var row = 0; row < 3; row++) { ...
1 vote
0 answers
69 views

I wrote a simple example while learning QML and CMake. The main purpose is to demonstrate how to use `qt_add_qml_module` and how to register C++ classes in QML. the key code is as follows: **//...
4 votes
1 answer
85 views

I have a nested Item where I want to declare an enum. How can I access the enum from the parent Item? I dont want to declare the enum in the outer Item, because it belongs to the nested/inner Item. I ...
Me3nTaL's user avatar
  • 515
2 votes
1 answer
92 views

I have a SpinBox with a custom TextInput as contentItem. I want it to display a quantity, so it want to display something like "10 / 20 pc." for example. The minimum value is always 1, the ...
4 votes
1 answer
130 views

Update below I have a strange behavior with a property binding in my application. When toggling the expanded property of my layout, the ColumnLayout is not resizing, and the space of the button "...
Me3nTaL's user avatar
  • 515

15 30 50 per page
1
2 3 4 5
...
811

AltStyle によって変換されたページ (->オリジナル) /