Commit graph

14 commits

Author SHA1 Message Date
Enyium
9894eca229 Fixed kebab casing of previous appwindow.slint. 2024-09-20 10:26:49 +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
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
Renamed from api/cpp/tests/manual/platform_qt/main.cpp (Browse further)