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
3ed1c0f7a4
fix: don't attempt to scale windows opted out of scaling ( #5400 )
2024-05-18 10:34:36 +00:00
nerix
febcf464fe
Use Qt's High-DPI scaling on Windows ( #4868 )
2024-05-12 11:59:14 +00:00
nerix
dd62707d53
fix: hide tooltip on window leave event ( #5309 )
2024-04-09 14:25:08 +02:00
nerix
dd61482046
fix: tooltips showing out-of-bounds after loading images ( #5186 )
2024-02-24 11:52:16 +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
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
5c0219c245
refactor: Use override instead of virtual where possible ( #4917 )
2023-10-25 18:13:48 +02:00
pajlada
fec45889a8
Replace boost::optional with std::optional ( #4877 )
2023-10-08 16:50:48 +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
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
nerix
1043f9f803
Remove Unnecessary Includes in Headers ( #4275 )
...
* refactor: remove unnecessary includes in headers
* fix: formatting
* chore: changelog
* fix: scrollbar
* fix: suggestions and old appbase remains
* fix: suggestion
* fix: missing Qt forward declarations
* fix: another qt include
* fix: includes for precompiled-headers=off
* Add missing `<memory>` includes
* Add missing `#pragma once`
* Fix tests
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-12-31 14:41:01 +00:00
kornes
188782ddca
fix: prevent unnecessary layout saves ( #4201 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-12-03 10:50:22 +00:00
pajlada
032f290767
Sort and force grouping of includes ( #4172 )
...
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
pajlada
51ece94f58
Update Settings and Signals version ( #3398 )
...
Co-authored-by: zneix <zneix@zneix.eu>
2021-12-19 14:57:56 +00:00
pajlada
1ee1e8837f
Use Qt's dialog where applicable ( #1843 )
2020-10-31 16:42:48 +01:00
fourtf
6e6413da02
added DebugCount for BaseWindow
2020-08-22 22:54:03 +02:00
fourtf
f7237dccdd
added colon emote popup for ffz and bttv
2020-08-15 18:59:17 +02:00
Daniel Pasch
a230bc7c89
improve tooltips by only positioning the element once we know it's in… ( #1693 )
...
Things like tooltips now only sets its position once. The position used to be set twice and could cause some annoying flickering.
2020-05-24 11:51:16 +02:00
fourtf
c5e8c5396f
oops
2019-12-26 23:41:31 +01:00
fourtf
b1cbf09427
removed appbase directory
2019-10-07 15:46:41 +02:00
fourtf
38b23d77ce
moved BaseWindow and related files into appbase
2018-11-22 22:10:29 +01:00
fourtf
cf26f10b80
initial appbase integration
2018-11-21 21:37:41 +01:00
Rasmus Karlsson
a947bf74c8
Occasionally save window/split/tab layout
...
The window layout is only saved if something has been changed.
When something relevant to the window layout is changed, a save is
queued to run after 10 seconds.
If within those 10 seconds, another thing is changed, that timer is
reset and will run after 10 seconds again.
Events that cause the save to be queued up:
- Tab created
- Tab removed
- Tab moved
- Tab name changed
- Split created
- Split removed
- Split moved
- Split channel changed
- Split resized
- Window moved
- Window resized
What currently does not trigger the save to be queued up:
- Active tab changed
2018-10-07 16:27:40 +00:00
fourtf
44f5a15da3
turning a lot of includes into forward declares
2018-08-11 22:23:06 +02:00
fourtf
d89b62692a
refined SplitHeader
2018-08-08 15:35:54 +02:00
fourtf
f71ff08e68
changed to 80 max column
2018-08-06 21:17:03 +02:00
fourtf
280bb4cf8e
Renamed private members
2018-07-06 19:24:35 +02:00
fourtf
b639604a47
refactored BaseWidget
2018-07-06 17:11:37 +02:00
fourtf
f2238729f1
worked on the UpdatePromptDialog
2018-07-05 11:42:40 +02:00
fourtf
f02a89690e
added mechanic for deleting a BaseWindow on focus out
2018-07-05 10:34:04 +02:00
fourtf
335cbf8758
added basic download icon to the window frame
2018-07-04 20:42:51 +02:00
fourtf
d6c6a552d8
added preview channel view to the appearance tab
2018-07-03 16:56:36 +02:00
fourtf
9f6d09db7c
fmoved windows message handlers into their own functions
2018-07-03 13:04:27 +02:00
fourtf
eb809d1572
Fixes #538 multiple window frames on windows
2018-07-03 12:08:12 +02:00
ch-ems
d333da3dfa
fixes issue with 0245bd5
2018-06-26 19:33:42 +02:00
fourtf
2df0566492
removed namespaces
2018-06-26 16:37:59 +02:00
fourtf
a9bf9cf722
rename #3
2018-06-26 14:09:39 +02:00
fourtf
c9722b9780
rename #2
2018-06-26 13:24:55 +02:00