1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

feat(ui): grey out proxy settings if no proxy selected

This is a feature proposed in #2760.
Disabled port (QSpinBox) and address (QLineEdit) are greyed out if no proxy is selected.
This commit is contained in:
ezavod 2017-05-01 11:11:23 +02:00
parent 469dd8f75b
commit 77aa2e9252
No known key found for this signature in database
GPG Key ID: 5DFDD9A0D8E5A9B6

View File

@ -39,6 +39,11 @@ QSpinBox
background: white; background: white;
} }
QSpinBox:disabled
{
background: lightGrey;
}
QPushButton QPushButton
{ {
background: white; background: white;
@ -66,6 +71,11 @@ QLineEdit
background-color: white; background-color: white;
} }
QLineEdit:disabled
{
background-color: lightGrey;
}
QTabWidget QTabWidget
{ {
background-color: white; background-color: white;