mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 13:03:55 -07:00
Updated color setting
+ live preview added + will now only store the color if valid
This commit is contained in:
parent
ec8a2de2eb
commit
de38a294b5
4 changed files with 39 additions and 17 deletions
|
|
@ -156,6 +156,8 @@ public:
|
|||
private slots:
|
||||
void actAdd();
|
||||
void actRemove();
|
||||
void updateColor(const QString &value);
|
||||
void updateTextColor(int value);
|
||||
private:
|
||||
QListWidget *messageList;
|
||||
QAction *aAdd;
|
||||
|
|
@ -166,9 +168,9 @@ private:
|
|||
QGroupBox *chatGroupBox;
|
||||
QGroupBox *messageShortcuts;
|
||||
QLineEdit *mentionColor;
|
||||
QLabel mentionColorLabel;
|
||||
|
||||
void storeSettings();
|
||||
void updateMentionPreview();
|
||||
};
|
||||
|
||||
class DlgSettings : public QDialog {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue