Commit graph

39 commits

Author SHA1 Message Date
AweesneW
542022bff3
Update HighlightingPage.cpp ()
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-02-12 14:43:18 +01:00
pajlada
1ee1e8837f
Use Qt's dialog where applicable () 2020-10-31 16:42:48 +01:00
Leon Richardt
ec94869480
Allow highlights to be excluded from /mentions () 2020-10-24 14:33:15 +02:00
Leon Richardt
505581ca65
[Bug Fix] Color of second user highlight cannot be set ()
* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md
2020-08-22 23:10:10 +02:00
fourtf
097f4ccb3a refined highlight and added bits highlights 2020-04-15 23:15:45 +02:00
fourtf
5ad427bd61 moved some Settings from Application to Settings 2020-02-23 22:15:13 +01:00
fourtf
f8a9850151 absorbed HighlightController into Application 2020-02-23 21:18:40 +01:00
fourtf
2ebe07bace removed compat functions in SignalVector 2020-02-23 19:44:13 +01:00
fourtf
843e2ad994 refactored HighlightController 2020-02-23 19:31:43 +01:00
fourtf
70e5bd1bfd lazily initialize settings pages 2020-02-21 01:59:58 +01:00
fourtf
78ca0cb84f moved settings tab icons to SettingsDialog 2020-02-21 01:22:50 +01:00
fourtf
0d519b479c changed wording in settings 2020-02-10 16:41:49 +01:00
Leon Richardt
497ce2d2f2 Better Highlights: Fix Unintentional Color Update ()
* HighlightPhrase: Fix wrong documentation

* Use right constructor for new HighlightPhrases

* Fix preset highlights changing unintentionally

Prior to this commit, the callback for reacting to user input on the
highlight table (namely, `HighlightingPage::tableCellClicked`) only
checked for the row number in order to determine whether preset
highlights (self highlights, whispers, and subscriptions) need to be
updated. Hence, changing rows 0 through 2 in the "User Highlights" tab
would also update the preset highlights.

This commit adds a check to determine whether the callback was triggered
by the "Messages" highlight tab, or not.
2020-01-27 00:16:09 +01:00
Leon Richardt
5957551d06 Better Highlights ()
* Support for user-defined sounds and colors

* Make color & sound columns selectable

* Add custom row for subscription highlights

* Add subscriptions to custom highlights and centrally manage highlight colors

* Dynamically update message highlight colors
2020-01-25 11:03:10 +01:00
pajlada
3c8992cac1
Remove FMT dependency ()
All occurrences of log() have been replaced with qDebug()

bonus meme: remove a bunch of std::string usages in the pubsub client

Fixes 
2020-01-03 20:51:37 +01:00
Leon Richardt
b06eb9df83 Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
fourtf
c6a05f289d removed useless table column in user highlights 2019-09-08 15:10:10 +02:00
Leon Richardt
a62b7ac094 Add setting for case-sensitivity in highlights 2019-09-07 19:01:52 +02:00
fourtf
f949605477 added descriptions to collection settings 2019-08-26 14:36:06 +02:00
fourtf
e7b4527a0f added regex help link 2019-08-26 14:07:21 +02:00
apa420
5dce212cb4 Added functionality of making the flash taskbar last until the app is focused again ()
* Added functionality of making the flash taskbar last until chatterino is focused again

* added it for every flash taskbar

Fixes 
2018-10-06 15:51:13 +00:00
Rasmus Karlsson
cd571a7e25 clean up warnings 2018-09-30 17:15:17 +00:00
apa420
c3065db16d highlighting whispers works better and looks better 2018-08-29 01:21:36 +02:00
apa420
c5d5825b5a Added functionality of option of highlightsound on whisper ()
Fixes 
2018-08-29 00:30:11 +02:00
fourtf
f6414c9d7e remove settings and paths from Application 2018-08-12 12:56:28 +02:00
fourtf
e1f180ac28 added qt version number to about tab 2018-08-09 06:34:14 +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
1da23e5e91 renamed IgnoreUsersPage to IgnoresPage 2018-07-05 16:22:25 +02:00
DatGuy1
9c7c99928f Add highlighting of all messages from a certain user ()
* Rework to use controllers

* Rework to use controllers

* Add doHighlight

* Cherry pick?

* Fixes per PR

* Remove file
2018-07-05 15:58:20 +02:00
apa420
2e1fdbec32 Changed where the bold @username setting is found 2018-07-04 18:10:50 +02:00
apa420
318e8b6234 Bold @username 2018-07-04 14:01:39 +02:00
Rasmus Karlsson
03b7fae09e Refactor highlight blacklist to use the model system
Fix 
2018-07-04 11:45:10 +00:00
fourtf
2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf
08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf
54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf
2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf
a9bf9cf722 rename 2018-06-26 14:09:39 +02:00
fourtf
c9722b9780 rename 2018-06-26 13:24:55 +02:00
Renamed from src/widgets/settingspages/_HighlightingPage.cpp (Browse further)