mirror-chatterino2/src/widgets/settingspages/HighlightingPage.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
810 B
C++
Raw Normal View History

2018-01-12 23:09:05 +01:00
#pragma once
2018-06-26 14:09:39 +02:00
#include "widgets/settingspages/SettingsPage.hpp"
#include <QAbstractTableModel>
#include <QTimer>
2018-01-13 02:00:02 +01:00
class QPushButton;
class QListWidget;
2018-01-12 23:09:05 +01:00
namespace chatterino {
class EditableModelView;
2018-01-12 23:09:05 +01:00
class HighlightingPage : public SettingsPage
{
public:
HighlightingPage();
2018-01-13 02:00:02 +01:00
private:
enum HighlightTab { Messages = 0, Users = 1, Badges = 2, Blacklist = 3 };
2018-07-06 19:23:47 +02:00
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);
2018-01-12 23:09:05 +01:00
};
2018-01-12 23:09:05 +01:00
} // namespace chatterino