mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
f6d9fb2aac
Co-authored-by: Paweł <zneix@zneix.eu> Co-authored-by: 23rd <23rd@vivaldi.net> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
33 lines
832 B
C++
33 lines
832 B
C++
#pragma once
|
|
|
|
#include "widgets/helper/EditableModelView.hpp"
|
|
#include "widgets/settingspages/SettingsPage.hpp"
|
|
|
|
#include <QAbstractTableModel>
|
|
#include <QTimer>
|
|
|
|
class QPushButton;
|
|
class QListWidget;
|
|
|
|
namespace chatterino {
|
|
|
|
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
|