Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
75f8ecd6
Commit
75f8ecd6
authored
Jan 30, 2015
by
Matt Lowe
Browse files
Added label
parent
de38a294
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_settings.cpp
View file @
75f8ecd6
...
@@ -585,6 +585,7 @@ MessagesSettingsPage::MessagesSettingsPage()
...
@@ -585,6 +585,7 @@ MessagesSettingsPage::MessagesSettingsPage()
chatGrid
->
addWidget
(
&
invertMentionForeground
,
0
,
1
);
chatGrid
->
addWidget
(
&
invertMentionForeground
,
0
,
1
);
chatGrid
->
addWidget
(
mentionColor
,
0
,
2
);
chatGrid
->
addWidget
(
mentionColor
,
0
,
2
);
chatGrid
->
addWidget
(
&
ignoreUnregUsersMainChat
,
1
,
0
);
chatGrid
->
addWidget
(
&
ignoreUnregUsersMainChat
,
1
,
0
);
chatGrid
->
addWidget
(
&
hexLabel
,
1
,
2
);
chatGroupBox
=
new
QGroupBox
;
chatGroupBox
=
new
QGroupBox
;
chatGroupBox
->
setLayout
(
chatGrid
);
chatGroupBox
->
setLayout
(
chatGrid
);
...
@@ -678,6 +679,7 @@ void MessagesSettingsPage::retranslateUi()
...
@@ -678,6 +679,7 @@ void MessagesSettingsPage::retranslateUi()
messageShortcuts
->
setTitle
(
tr
(
"In-game message macros"
));
messageShortcuts
->
setTitle
(
tr
(
"In-game message macros"
));
ignoreUnregUsersMainChat
.
setText
(
tr
(
"Ignore unregistered users in main chat"
));
ignoreUnregUsersMainChat
.
setText
(
tr
(
"Ignore unregistered users in main chat"
));
invertMentionForeground
.
setText
(
tr
(
"Invert text color"
));
invertMentionForeground
.
setText
(
tr
(
"Invert text color"
));
hexLabel
.
setText
(
tr
(
"(Color is hexadecimal)"
));
}
}
DlgSettings
::
DlgSettings
(
QWidget
*
parent
)
DlgSettings
::
DlgSettings
(
QWidget
*
parent
)
...
...
cockatrice/src/dlg_settings.h
View file @
75f8ecd6
...
@@ -168,6 +168,7 @@ private:
...
@@ -168,6 +168,7 @@ private:
QGroupBox
*
chatGroupBox
;
QGroupBox
*
chatGroupBox
;
QGroupBox
*
messageShortcuts
;
QGroupBox
*
messageShortcuts
;
QLineEdit
*
mentionColor
;
QLineEdit
*
mentionColor
;
QLabel
hexLabel
;
void
storeSettings
();
void
storeSettings
();
void
updateMentionPreview
();
void
updateMentionPreview
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment