changed wording in settings
This commit is contained in:
@@ -304,6 +304,12 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
|||||||
layout.addCheckbox("Start with Windows", s.autorun);
|
layout.addCheckbox("Start with Windows", s.autorun);
|
||||||
#endif
|
#endif
|
||||||
layout.addCheckbox("Restart on crash", s.restartOnCrash);
|
layout.addCheckbox("Restart on crash", s.restartOnCrash);
|
||||||
|
if (!BaseWindow::supportsCustomWindowFrame())
|
||||||
|
{
|
||||||
|
layout.addCheckbox("Show preferences button (ctrl+p to show)",
|
||||||
|
s.hidePreferencesButton, true);
|
||||||
|
layout.addCheckbox("Show user button", s.hideUserButton, true);
|
||||||
|
}
|
||||||
|
|
||||||
layout.addTitle("Chat");
|
layout.addTitle("Chat");
|
||||||
|
|
||||||
@@ -344,12 +350,6 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
|||||||
s.pauseChatModifier);
|
s.pauseChatModifier);
|
||||||
layout.addCheckbox("Show input when it's empty", s.showEmptyInput);
|
layout.addCheckbox("Show input when it's empty", s.showEmptyInput);
|
||||||
layout.addCheckbox("Show message length while typing", s.showMessageLength);
|
layout.addCheckbox("Show message length while typing", s.showMessageLength);
|
||||||
if (!BaseWindow::supportsCustomWindowFrame())
|
|
||||||
{
|
|
||||||
layout.addCheckbox("Show preferences button (ctrl+p to show)",
|
|
||||||
s.hidePreferencesButton, true);
|
|
||||||
layout.addCheckbox("Show user button", s.hideUserButton, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
layout.addTitle("Messages");
|
layout.addTitle("Messages");
|
||||||
layout.addCheckbox("Seperate with lines", s.separateMessages);
|
layout.addCheckbox("Seperate with lines", s.separateMessages);
|
||||||
|
|||||||
@@ -47,9 +47,8 @@ HighlightingPage::HighlightingPage()
|
|||||||
auto highlights = tabs.appendTab(new QVBoxLayout, "Messages");
|
auto highlights = tabs.appendTab(new QVBoxLayout, "Messages");
|
||||||
{
|
{
|
||||||
highlights.emplace<QLabel>(
|
highlights.emplace<QLabel>(
|
||||||
"Messages can be highlighted if they match a certain "
|
"Play notification sounds and highlight messages based on "
|
||||||
"pattern.\n"
|
"certain patterns.");
|
||||||
"NOTE: User highlights will override phrase highlights.");
|
|
||||||
|
|
||||||
EditableModelView *view =
|
EditableModelView *view =
|
||||||
highlights
|
highlights
|
||||||
@@ -89,8 +88,10 @@ HighlightingPage::HighlightingPage()
|
|||||||
auto pingUsers = tabs.appendTab(new QVBoxLayout, "Users");
|
auto pingUsers = tabs.appendTab(new QVBoxLayout, "Users");
|
||||||
{
|
{
|
||||||
pingUsers.emplace<QLabel>(
|
pingUsers.emplace<QLabel>(
|
||||||
"Messages from a certain user can be highlighted.\n"
|
"Play notification sounds and highlight messages from "
|
||||||
"NOTE: User highlights will override phrase highlights.");
|
"certain users.\n"
|
||||||
|
"User highlights are prioritized over message "
|
||||||
|
"highlights.");
|
||||||
EditableModelView *view =
|
EditableModelView *view =
|
||||||
pingUsers
|
pingUsers
|
||||||
.emplace<EditableModelView>(
|
.emplace<EditableModelView>(
|
||||||
@@ -132,11 +133,11 @@ HighlightingPage::HighlightingPage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto disabledUsers =
|
auto disabledUsers =
|
||||||
tabs.appendTab(new QVBoxLayout, "Excluded Users");
|
tabs.appendTab(new QVBoxLayout, "Blacklisted Users");
|
||||||
{
|
{
|
||||||
disabledUsers.emplace<QLabel>(
|
disabledUsers.emplace<QLabel>(
|
||||||
"This is a list of users (e.g. bots) whose messages should "
|
"Disable notification sounds and highlights from certain "
|
||||||
"<u>not</u> be highlighted.");
|
"users (e.g. bots).");
|
||||||
EditableModelView *view =
|
EditableModelView *view =
|
||||||
disabledUsers
|
disabledUsers
|
||||||
.emplace<EditableModelView>(
|
.emplace<EditableModelView>(
|
||||||
@@ -144,7 +145,7 @@ HighlightingPage::HighlightingPage()
|
|||||||
.getElement();
|
.getElement();
|
||||||
|
|
||||||
view->addRegexHelpLink();
|
view->addRegexHelpLink();
|
||||||
view->setTitles({"Pattern", "Enable\nregex"});
|
view->setTitles({"Username", "Enable\nregex"});
|
||||||
view->getTableView()->horizontalHeader()->setSectionResizeMode(
|
view->getTableView()->horizontalHeader()->setSectionResizeMode(
|
||||||
QHeaderView::Fixed);
|
QHeaderView::Fixed);
|
||||||
view->getTableView()->horizontalHeader()->setSectionResizeMode(
|
view->getTableView()->horizontalHeader()->setSectionResizeMode(
|
||||||
|
|||||||
Reference in New Issue
Block a user