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
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