Ryan Foster
11bc39fe7c
UI: Get correct coordinates for items in Scene Grid Mode
...
The x() and y() values of coordinates for events inside a scrollable
QWidget are relative to viewport's scrolled origin, the coordinates of
the upper left corner of the visible space, not the widget's true
origin. Since we do not allow horizontal scrolling, the value of x() is
okay. However, the value of y() needs to be adjusted by an offset of the
top()/y() value for the first widget in the SceneTree. When not
scrolled, this offset will be 0. When scrolled down, this offset will be
a negative value.
2022-08-29 18:22:45 -03:00
..
2022-08-29 18:14:37 -03:00
2022-08-29 17:44:14 -03:00
2022-08-22 17:26:50 -07:00
2022-04-23 16:12:45 -07:00
2022-08-21 17:26:27 +02:00
2022-08-24 20:23:13 -07:00
2022-07-30 18:50:13 +10:00
2022-07-27 00:34:04 +10:00
2022-03-16 23:11:58 +01:00
2022-07-10 14:00:35 +10:00
2022-07-10 14:00:35 +10:00
2022-07-30 18:50:13 +10:00
2022-03-13 07:05:02 -07:00
2022-03-13 07:05:02 -07:00
2021-09-12 13:45:51 +02:00
2021-09-12 13:45:51 +02:00
2021-09-16 15:03:28 +02:00
2021-09-15 06:16:29 -07:00
2022-05-19 09:31:38 -07:00
2021-07-24 15:50:59 -07:00
2022-05-19 09:31:38 -07:00
2021-07-24 15:50:59 -07:00
2022-05-19 09:31:38 -07:00
2021-12-11 14:39:19 -08:00
2022-07-31 21:47:01 -07:00
2022-07-31 21:47:01 -07:00
2019-06-23 23:49:10 -07:00
2022-08-22 17:26:50 -07:00
2022-07-23 17:41:34 -07:00
2022-07-23 17:41:34 -07:00
2022-08-22 17:26:50 -07:00
2022-08-22 17:26:50 -07:00
2021-08-20 15:20:59 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2022-08-20 02:02:21 -07:00
2022-01-05 23:56:34 -08:00
2020-04-12 19:33:02 +02:00
2022-08-06 10:22:25 +10:00
2022-06-27 14:35:01 -04:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2022-08-22 17:26:50 -07:00
2022-04-10 11:52:11 +10:00
2022-02-20 00:30:37 -08:00
2022-02-20 00:30:37 -08:00
2022-07-22 09:37:17 -04:00
2022-06-11 16:28:57 -07:00
2022-07-22 09:37:17 -04:00
2019-06-23 23:49:10 -07:00
2022-07-10 13:45:43 +10:00
2022-07-10 13:45:43 +10:00
2019-06-23 23:49:10 -07:00
2022-08-20 16:45:07 -07:00
2022-08-16 07:36:18 -07:00
2022-07-31 21:47:01 -07:00
2022-04-02 16:04:51 -07:00
2020-01-01 15:58:48 +11:00
2022-03-16 23:11:58 +01:00
2022-08-22 17:26:50 -07:00
2022-08-22 17:26:50 -07:00
2022-07-31 18:14:41 +02:00
2022-07-10 14:06:15 +10:00
2022-05-20 20:16:56 +10:00
2022-07-31 18:14:41 +02:00
2022-08-22 17:26:50 -07:00
2022-08-17 05:30:57 -07:00
2020-04-08 17:20:52 -07:00
2022-07-30 16:21:36 -07:00
2022-05-28 16:54:37 -07:00
2022-07-22 09:37:17 -04:00
2022-07-10 14:00:35 +10:00
2022-07-31 15:39:18 -07:00
2022-07-31 15:39:18 -07:00
2022-08-13 16:46:48 -07:00
2021-09-15 07:44:55 +02:00
2022-08-29 18:22:45 -03:00
2022-08-29 23:15:39 +10:00
2022-07-30 16:33:57 -07:00
2020-12-01 10:54:21 -05:00
2019-06-23 23:49:10 -07:00
2022-01-04 01:54:38 -08:00
2020-11-25 19:38:05 -08:00
2019-06-23 23:49:10 -07:00
2020-06-21 18:23:05 -07:00
2022-08-29 10:03:41 -07:00
2022-08-28 09:45:00 +10:00
2019-07-09 13:39:13 -05:00
2022-07-28 20:38:51 -07:00
2019-12-11 01:50:41 -08:00
2019-12-11 01:50:41 -08:00
2022-01-19 21:39:43 +01:00
2022-01-19 21:39:43 +01:00
2019-10-30 12:09:07 -07:00
2019-10-30 12:09:07 -07:00
2019-06-23 23:49:10 -07:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2022-08-02 09:27:00 -03:00
2022-05-31 09:53:14 -04:00
2022-08-13 01:10:38 -07:00
2022-07-27 21:37:30 -04:00
2022-03-16 23:11:58 +01:00
2022-06-18 23:13:13 +10:00
2022-06-18 23:13:13 +10:00
2022-07-18 14:52:26 -07:00
2022-07-21 15:29:25 -07:00
2022-07-18 14:52:26 -07:00
2022-07-22 09:37:17 -04:00
2022-02-26 01:09:07 -08:00
2022-07-22 09:37:17 -04:00
2022-02-26 01:09:07 -08:00
2019-06-23 23:49:10 -07:00
2022-05-08 15:25:43 -07:00
2022-07-23 17:41:34 -07:00
2022-08-13 01:35:45 -07:00
2022-04-10 16:49:37 -07:00
2022-07-21 15:29:25 -07:00
2022-07-02 14:02:40 +10:00
2022-07-30 16:33:57 -07:00
2022-08-09 21:37:48 -07:00
2022-08-24 05:14:56 -07:00
2022-08-20 16:29:16 -07:00
2022-08-18 02:35:34 -07:00
2022-07-30 19:41:18 -07:00
2022-04-23 16:12:45 -07:00
2022-04-10 11:52:11 +10:00
2022-07-27 21:37:30 -04:00
2022-07-26 09:23:35 -07:00
2022-08-18 03:21:49 -07:00
2022-07-31 21:45:51 -07:00
2022-04-02 16:02:41 -07:00
2021-11-10 14:22:45 -08:00
2021-11-26 23:23:51 +13:00
2020-04-08 17:20:52 -07:00
2022-07-19 11:01:00 -04:00
2020-04-16 19:15:13 +02:00
2021-12-16 23:38:59 -08:00
2021-11-10 06:08:48 -08:00
2022-08-18 02:35:13 -07:00
2022-08-18 02:35:13 -07:00
2019-09-19 05:39:25 -07:00
2021-01-26 09:43:16 -08:00
2019-06-23 23:49:10 -07:00
2022-08-20 16:46:02 -07:00
2022-03-22 22:24:23 -07:00
2021-04-20 00:17:34 -07:00
2020-02-16 17:56:06 +13:00
2020-04-07 20:43:12 +10:00
2020-04-07 20:43:12 +10:00
2019-06-23 23:49:10 -07:00
2022-07-02 14:02:40 +10:00
2021-01-17 10:31:59 +13:00
2021-10-03 07:52:44 -07:00
2020-10-29 14:15:57 -07:00
2022-07-31 18:14:41 +02:00
2022-07-31 18:14:41 +02:00
2022-08-24 05:33:47 -07:00
2022-07-10 13:45:43 +10:00
2022-04-07 01:52:02 -07:00
2019-07-21 20:53:30 -07:00
2022-06-27 14:35:01 -04:00
2022-06-01 19:43:03 -04:00
2022-06-27 14:35:01 -04:00
2022-06-27 14:35:01 -04:00