Olivier Goffart
88697c68bb
Remove license header from .md/.mdx files
...
They should be in the lines, but the problem is that this causes issues
in the .mdx files.
License header doesn't really make sense for .md files anyway
2025-12-04 21:58:09 +01:00
autofix-ci[bot]
a715fb9fa0
[autofix.ci] apply automated fixes
2024-12-19 15:26:29 +01:00
Simon Hausmann
e9924f0f76
Add the ability to read/write boolean properties in the qt_viewer example
2024-10-10 13:08:36 +00:00
Enyium
9894eca229
Fixed kebab casing of previous appwindow.slint.
2024-09-20 10:26:49 +02:00
crai0
3f3ac7e347
common: add support for back and forward pointing-device buttons ( #6149 )
...
Closes #6043
ChangeLog: add support for back and forward pointing-device buttons
2024-09-18 07:48:30 +02:00
Miłosz Kosobucki
bcc5327052
Fix typo in example
...
Qt platform example.
2024-08-09 22:07:27 +02:00
Olivier Goffart
9f0c3c94a9
C++: minimize/maximize/fullscreen API on Window
2024-02-22 13:17:50 +01:00
Jocelyn Turcotte
678c7678e9
C++ API for KeyEvent.repeat
...
Add a new dispatch_key_press_repeat_event function to dispatch auto-repeated
key events.
2023-11-29 09:31:31 +01:00
Florian Blasius
4ec63a9c71
cleanup examples according to upcoming code guidelines ( #3809 )
2023-11-02 11:04:40 +01:00
Olivier Goffart
c47e6cd029
C++: Api changes in the WindowAdapter
...
- s/physical_size/size/ (consistant with the slint::Window API)
- remove const of virtual function (they don't need to be const and
make implementation potentially easier)
- Move the WindowProperties in it
2023-08-30 14:59:41 +02:00
Olivier Goffart
9c3cba0c50
platform_qt example: implement clipboard
2023-08-28 21:21:53 +02:00
Simon Hausmann
d160eb7a31
Add support for set_position(), position(), and set_physical_size() to the C++ WindowAdapter ( #3367 )
...
Closes #3349
2023-08-28 18:43:04 +02:00
Olivier Goffart
d3b89df095
platform_qt example: fix closing the window
...
- QWindow::hide() don't terminate the application. QWindow::close() does.
- But QWindow::close() also recurse in the closeEvent, so we must
prevent the recursion with m_visible
Fixes #3363
2023-08-28 18:06:15 +02:00
Olivier Goffart
d23ba885ca
C++: add WindowAdaptor::update_window_properties
2023-08-25 13:58:55 +02:00
Olivier Goffart
7904493e1c
C++: dispatch close request and activation change
2023-08-24 17:27:04 +02:00
Tobias Hunger
0139eea4f9
xtask: Fix up license headers
...
* Keep project related .md files triple licensed as the rest of the
crate
* Make vtable MIT OR Apache 2.0 (as suggested by @ogoffart)
2023-08-17 08:55:28 +02:00
Simon Hausmann
96d7bb132c
reuse: remove glob for markdown files
...
Instead, place the copyright and license right into the source.
To satisfy reuse, this also removes the unnecessary MIT.txt
symlinks.
2023-08-17 08:55:28 +02:00
Olivier Goffart
a12b7c416f
C++ platform qt example: implement timer events
...
(so that the line edit cursor blinks)
2023-08-01 17:50:00 +02:00
Olivier Goffart
0a8f9c585a
C++: expose special key codes constants
2023-07-31 15:11:57 +02:00
Olivier Goffart
41f0972e4b
C++ platform Qt example: handle key events
2023-07-31 12:58:38 +02:00
Olivier Goffart
a34074db11
Move the C++ specific example to the examples/cpp directory
...
The platform ones are not experimental so move out of tests
2023-07-31 12:58:38 +02:00