mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
1043f9f803
* 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>
34 lines
810 B
C++
34 lines
810 B
C++
#pragma once
|
|
|
|
#include "widgets/settingspages/SettingsPage.hpp"
|
|
|
|
#include <QAbstractTableModel>
|
|
#include <QTimer>
|
|
|
|
class QPushButton;
|
|
class QListWidget;
|
|
|
|
namespace chatterino {
|
|
|
|
class EditableModelView;
|
|
|
|
class HighlightingPage : public SettingsPage
|
|
{
|
|
public:
|
|
HighlightingPage();
|
|
|
|
private:
|
|
enum HighlightTab { Messages = 0, Users = 1, Badges = 2, Blacklist = 3 };
|
|
|
|
QTimer disabledUsersChangedTimer_;
|
|
|
|
void tableCellClicked(const QModelIndex &clicked, EditableModelView *view,
|
|
HighlightTab tab);
|
|
void openSoundDialog(const QModelIndex &clicked, EditableModelView *view,
|
|
int soundColumn);
|
|
void openColorDialog(const QModelIndex &clicked, EditableModelView *view,
|
|
HighlightTab tab);
|
|
};
|
|
|
|
} // namespace chatterino
|