Chatterino
chatterino2
src
widgets
settingspages
HighlightingPage.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
widgets/helper/EditableModelView.hpp
"
4
#include "
widgets/settingspages/SettingsPage.hpp
"
5
6
#include <QAbstractTableModel>
7
#include <QTimer>
8
9
class
QPushButton;
10
class
QListWidget;
11
12
namespace
chatterino
{
13
14
class
HighlightingPage
:
public
SettingsPage
15
{
16
public
:
17
HighlightingPage
();
18
19
private
:
20
enum
HighlightTab { Messages = 0, Users = 1,
Badges
= 2, Blacklist = 3 };
21
22
QTimer disabledUsersChangedTimer_;
23
24
void
tableCellClicked(
const
QModelIndex &clicked,
EditableModelView
*view,
25
HighlightTab
tab
);
26
void
openSoundDialog(
const
QModelIndex &clicked,
EditableModelView
*view,
27
int
soundColumn);
28
void
openColorDialog(
const
QModelIndex &clicked,
EditableModelView
*view,
29
HighlightTab tab);
30
};
31
32
}
// namespace chatterino
chatterino::Badges
Definition:
Badges.hpp:9
chatterino::SettingsPage::tab
SettingsDialogTab * tab() const
Definition:
SettingsPage.cpp:76
chatterino
Definition:
Application.cpp:48
EditableModelView.hpp
chatterino::HighlightingPage::HighlightingPage
HighlightingPage()
Definition:
HighlightingPage.cpp:48
chatterino::SettingsPage
Definition:
SettingsPage.hpp:49
chatterino::EditableModelView
Definition:
EditableModelView.hpp:13
chatterino::HighlightingPage
Definition:
HighlightingPage.hpp:14
SettingsPage.hpp
Generated by
1.8.13