Commit Graph

118 Commits

Author SHA1 Message Date
Mm2PL 60ecf1a8d7 refactor: DebugCount (#6753)
Reviewed-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Reviewed-by: Nerixyz <nerixdev@outlook.de>
2026-01-28 10:37:06 +00:00
pajlada eaeeaf004d chore(reuse): annotate our source files with our license (#6719) 2026-01-07 00:45:57 +01:00
Rasmus Karlsson 57d6583a2b refactor: add explicit this-> where possible
I have knowingly skipped some files/portions of files where this would
create merge conflicts for other open PRs.
2025-12-30 14:59:12 +01:00
nerix f355928078 fix(wayland): use system move (#6573)
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-10 11:43:11 +00:00
nerix 84c0b39fde refactor: buttons and friends (#6102) 2025-05-25 11:17:06 +02:00
pajlada dec42b38a6 refactor: fix some spelling mistakes (#6196) 2025-05-10 13:33:52 +02:00
nerix 01e7050ffc chore: bump deprecated cutoff to Qt 6.4.3 (#6169) 2025-04-26 13:36:09 +02:00
fourtf 37061dd3bd feat: user notes (#6122)
Fixes #2413
2025-04-13 11:38:56 +00:00
teknsl b59124702c Only draw outline for overlay when hovered over (#6140) 2025-04-12 10:06:36 +00:00
pajlada fb375e149b refactor: some mini feature changes in BaseWindow (#6074) 2025-03-13 22:20:03 +01:00
nerix 8670de8989 fix: make borders on windows 11 thinner (#5836) 2025-03-08 14:44:57 +00:00
nerix 13dfe716b8 feat(overlay): inherit zoom and add zoom factor (#6016) 2025-03-02 15:28:47 +01:00
nerix 867e3f3ab0 fix: only invalidate buffers for chat windows (#5666) 2024-10-21 00:57:37 +02:00
nerix 9345050868 fix: invalidate buffers on WM_DPICHANGED (#5664) 2024-10-19 18:42:37 +00:00
nerix 820aa12af6 refactor: load Twitch emotes from Helix (#5239) 2024-09-01 11:22:54 +02:00
nerix af309b726f fix: orphan FramelessDraggables too (#5576) 2024-08-31 11:16:17 +02:00
pajlada f3cae76abf fix: parenting logic, fixing some windows & tooltips misbehaving (#5541) 2024-08-17 10:02:40 +00:00
pajlada 5deec1f02f chore: remove Singleton & replace getIApp with getApp (#5514) 2024-07-21 13:09:59 +00:00
nerix 4421b6c90a fix(windows): wait for Qt before getting bounds (#5478) 2024-06-23 11:32:12 +00:00
nerix 65bfec963b feat(emote-popup): save size of popup (#5415)
* fix: remove added margins from emote window position

* chore: add changelog entry

* feat: store size of emote window

* chore: update changelog entry

* fix: disable layout save

* fix: PCH moment

* fix: multiply by scale
2024-06-01 10:38:39 +00:00
nerix 8689bdb481 fix: get rid of duplicate scale events (#5404) 2024-05-19 09:11:51 +00:00
nerix 3ed1c0f7a4 fix: don't attempt to scale windows opted out of scaling (#5400) 2024-05-18 10:34:36 +00:00
nerix 2ad45bc288 fix: don't use DPI aware functions on Qt 5 (Windows 7/8) (#5391) 2024-05-12 20:46:26 +00:00
nerix febcf464fe Use Qt's High-DPI scaling on Windows (#4868) 2024-05-12 11:59:14 +00:00
nerix 86a27823a2 fix: don't change the topmost value of child windows (#5330) 2024-04-18 16:24:12 +02:00
nerix dd62707d53 fix: hide tooltip on window leave event (#5309) 2024-04-09 14:25:08 +02:00
pajlada e7508332ff refactor: Fonts (#5228) 2024-03-10 13:27:08 +00:00
nerix dd61482046 fix: tooltips showing out-of-bounds after loading images (#5186) 2024-02-24 11:52:16 +00:00
nerix 4a5d4ef3fa fix: minimize button remaining hovered on Windows (#5175) 2024-02-14 14:49:31 +01:00
nerix 7a70d785a4 revert: uncomment NCCALCSIZE adjustment (#5166) 2024-02-10 13:29:52 +00:00
nerix 10aabd39e7 fix: avoid promoting child widgets to child windows (#5161) 2024-02-10 11:43:59 +00:00
nerix af8eba0323 feat: add option to change the top-most status of a window (#5135)
* feat: add option to pin a popup

* chore: add changelog entry

* chore: change changelog entry
2024-02-04 12:33:37 +00:00
pajlada 4380ef8c5f refactor: Remove most raw accesses into Application (#5104) 2024-01-19 17:59:55 +01:00
pajlada 5b6675abb4 refactor: fix clang-tidy auto*, const&, and curly braces (#5083) 2024-01-14 17:54:52 +01:00
nerix c65ebd26bd fix: non-native drag on Windows (#5051) 2023-12-29 15:10:56 +01:00
nerix 66f4480371 fix: Fixed some compiler warnings (#5028)
* fix(C4101): unreferenced local variable

* fix(C4189): variable initialized but not referenced

* fix(C4305): narrowing from double to float

* fix(C4457): declaration hiding function parameter

* fix(C4456): shadowing declaration

* fix(C4996): remove deprecations

* chore: add changelog entry

* fix: Remove more unused variables

* fix: removed unused lambda captures

* Update changelog entry

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-16 11:24:28 +00:00
smc fec8f8c49f Fix missing parent of tooltips for Wayland (#4998)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-09 11:28:33 +00:00
nerix 812186dc4c Return correct hit-test values for title bar buttons on Windows (#4994)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-03 13:41:33 +00:00
nerix c4c94473ae Do bounds-checking on more windows (#4797)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-12-02 12:56:03 +01:00
pajlada fec45889a8 Replace boost::optional with std::optional (#4877) 2023-10-08 16:50:48 +00:00
nerix 4db93bf1da Adjust DontFocus window flags on Windows and macOS (#4876) 2023-10-08 00:03:14 +02:00
nerix 752825793a Ignore invisible widgets when hit testing (#4873)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-10-06 21:26:25 +00:00
nerix 783c7530f3 Allow any window to be bounds-checked (#4802)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-09-24 13:32:43 +00:00
nerix af4233850d Remove offset logic from BaseWindow::moveTo (#4798)
It's now up to each window to offset its coordinates themselves (which is good 👍 )
2023-08-28 16:38:41 +00:00
pajlada 7cb04bf58b Remove BaseSettings & merge ConcurrentSettings (#4775) 2023-08-28 17:51:28 +02:00
pajlada 9e2eb0dd29 Fix tooltip & popup positioning (#4740)
* Fix tooltip & popup positioning

This tries to ensure the tooltip & popups are created on the correct
monitor

* Add changelog entry

* Clean up debug output

* Use the full frame geometry to figure out screen bound movements

* Remove the now-unused `setStayInScreenRect` function

* Change the UserInfoPopup offset to be based on its width & height
instead

* Remove more debug output
2023-08-05 11:22:37 +00:00
pajlada 9d71f9017f Revert "Dim disabled items in context menus (#4423)" (#4596)
This reverts commit 642718474c.
2023-05-02 19:33:36 +00:00
nerix 642718474c Dim disabled items in context menus (#4423) 2023-04-29 16:50:13 +00:00
nerix bb0b563a87 Use qintptr in QWidget::nativeEvent on Qt 6 (#4376) 2023-02-13 20:45:58 +00:00
nerix 95b1f82620 Remove Deprecated QDesktopWidget (#4287)
* fix: remove deprecated `QDesktopWidget`

* chore: add changelog entry
2023-01-07 11:41:39 +01:00