mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 19:47:46 -07:00
fix label
This commit is contained in:
parent
66bcedd9c4
commit
4fc81b159d
2 changed files with 6 additions and 4 deletions
|
|
@ -829,7 +829,7 @@ MessagesSettingsPage::MessagesSettingsPage()
|
||||||
|
|
||||||
auto *chatGrid = new QGridLayout;
|
auto *chatGrid = new QGridLayout;
|
||||||
chatGrid->addWidget(&chatMentionCheckBox, 0, 0);
|
chatGrid->addWidget(&chatMentionCheckBox, 0, 0);
|
||||||
chatGrid->addWidget(&hexStringLabel, 0, 1, Qt::AlignRight);
|
chatGrid->addWidget(&hexMentionStringLabel, 0, 1, Qt::AlignRight);
|
||||||
chatGrid->addWidget(mentionColor, 0, 2);
|
chatGrid->addWidget(mentionColor, 0, 2);
|
||||||
chatGrid->addWidget(&invertMentionForeground, 0, 3);
|
chatGrid->addWidget(&invertMentionForeground, 0, 3);
|
||||||
chatGrid->addWidget(&chatMentionCompleterCheckbox, 1, 0, 1, -1);
|
chatGrid->addWidget(&chatMentionCompleterCheckbox, 1, 0, 1, -1);
|
||||||
|
|
@ -853,7 +853,7 @@ MessagesSettingsPage::MessagesSettingsPage()
|
||||||
|
|
||||||
auto *highlightNotice = new QGridLayout;
|
auto *highlightNotice = new QGridLayout;
|
||||||
highlightNotice->addWidget(customAlertString, 0, 0);
|
highlightNotice->addWidget(customAlertString, 0, 0);
|
||||||
highlightNotice->addWidget(&hexStringLabel, 0, 1, Qt::AlignRight);
|
highlightNotice->addWidget(&hexHighlightStringLabel, 0, 1, Qt::AlignRight);
|
||||||
highlightNotice->addWidget(highlightColor, 0, 2);
|
highlightNotice->addWidget(highlightColor, 0, 2);
|
||||||
highlightNotice->addWidget(&invertHighlightForeground, 0, 3);
|
highlightNotice->addWidget(&invertHighlightForeground, 0, 3);
|
||||||
highlightNotice->addWidget(&customAlertStringLabel, 1, 0, 1, -1);
|
highlightNotice->addWidget(&customAlertStringLabel, 1, 0, 1, -1);
|
||||||
|
|
@ -1004,7 +1004,8 @@ void MessagesSettingsPage::retranslateUi()
|
||||||
ignoreUnregUserMessages.setText(tr("Ignore private messages sent by unregistered users"));
|
ignoreUnregUserMessages.setText(tr("Ignore private messages sent by unregistered users"));
|
||||||
invertMentionForeground.setText(tr("Invert text color"));
|
invertMentionForeground.setText(tr("Invert text color"));
|
||||||
invertHighlightForeground.setText(tr("Invert text color"));
|
invertHighlightForeground.setText(tr("Invert text color"));
|
||||||
hexStringLabel.setText("HEX");
|
hexMentionStringLabel.setText("HEX");
|
||||||
|
hexHighlightStringLabel.setText("HEX");
|
||||||
messagePopups.setText(tr("Enable desktop notifications for private messages"));
|
messagePopups.setText(tr("Enable desktop notifications for private messages"));
|
||||||
mentionPopups.setText(tr("Enable desktop notification for mentions"));
|
mentionPopups.setText(tr("Enable desktop notification for mentions"));
|
||||||
roomHistory.setText(tr("Enable room message history on join"));
|
roomHistory.setText(tr("Enable room message history on join"));
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,8 @@ private:
|
||||||
QLineEdit *highlightColor;
|
QLineEdit *highlightColor;
|
||||||
QLineEdit *customAlertString;
|
QLineEdit *customAlertString;
|
||||||
QLabel customAlertStringLabel;
|
QLabel customAlertStringLabel;
|
||||||
QLabel hexStringLabel;
|
QLabel hexMentionStringLabel;
|
||||||
|
QLabel hexHighlightStringLabel;
|
||||||
|
|
||||||
void storeSettings();
|
void storeSettings();
|
||||||
void updateMentionPreview();
|
void updateMentionPreview();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue