Commit graph

25 commits

Author SHA1 Message Date
nerix
5179567334
Use QEnterEvent for QWidget::enterEvent on Qt 6 (#4365)
* fix: use concrete QEnterEvent on Qt 6

* chore: add changelog entry
2023-02-11 18:13:29 +01:00
pajlada
5fc170ba4b
Refactor SplitHeader class (#4276)
* Flatten static functions in anonymous namespace

* SplitHeader ctor: Rename param

* Header: Remove unnecessary `virtual`s

* auto ptr where possible

* Add curly braces

* Comment twitch room modes

* Treat roomModes->slowMode as an integer

* Remove unused `this` from lambdas

* Add `unsigned int` overload for localizeNumbers

* Move thumbnail max age to a constexpr static & set explicit types

* Explicitly use `QObject::connect`

* Use `empty()` instead of `size()`

* Name unused parameters

* Move moderation action refreshing logic from SplitHeader to Split
2022-12-31 12:56:47 +01: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
nerix
f97780d84e
Improve Twitch PubSub connection reliability (#3643)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 15:22:39 +00:00
Mm2PL
79db02aa66
Removed ability to reload emotes really fast (#3450)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-01-03 11:02:55 +00:00
pajlada
51ece94f58
Update Settings and Signals version (#3398)
Co-authored-by: zneix <zneix@zneix.eu>
2021-12-19 14:57:56 +00:00
James Upjohn
6151cd5b05
Show system message when reloading subscriber emotes (#3135)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-08 10:59:28 +00:00
pajlada
2f49b23875
Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
pajlada
39a0e69a3b
Reset the timer & refresh thumbnail when changing split channel (#2080) 2020-10-18 12:19:30 +02:00
Dave
98762fdfa0
Add viewer list button to twitch channel header (#2042) 2020-10-10 17:24:53 +02:00
Paweł
5e0ac814cf
Removed help tooltip for splits (#1728) 2020-06-14 12:39:17 +02:00
apa420
6d5ba0c442
Show thumbnails for live streams inside of the split header tooltip (#1702)
This feature is enabled by default and can be disabled in the Settings dialog with the "Show stream thumbnail" setting
2020-05-24 11:57:15 +02:00
fourtf
8153aa7d40 fixed #1362 rightclick on empty split crash 2019-10-12 11:17:40 +02:00
Rasmus Karlsson
c483a87605 Right-clicking split header now opens the same menu as the hamburger icon
Fixes #1131
2019-07-13 12:17:42 +02:00
Ckat
b4683c5b35 add menu option to reload subscriber emotes 2018-10-05 19:52:33 +00:00
fourtf
1d682c4a93 added add split button 2018-09-04 21:39:54 +02:00
fourtf
d89b62692a refined SplitHeader 2018-08-08 15:35:54 +02:00
fourtf
7a9af4ae84 moved menu code to ripple effect button 2018-08-07 23:46:00 +02:00
fourtf
5df231f072 improved split header menu button 2018-08-07 09:38:18 +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
14f125ff87 added room mode selector for mods again 2018-07-04 19:44:54 +02:00
fourtf
19fdfaef42 reworked splitheader a bit 2018-07-04 13:06:26 +02:00
fourtf
2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf
22f528cd21 put all split widgets inside the same directory 2018-06-26 14:39:22 +02:00
Renamed from src/widgets/helper/SplitHeader.hpp (Browse further)