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:
parent
469dd8f75b
commit
77aa2e9252
|
@ -39,6 +39,11 @@ QSpinBox
|
|||
background: white;
|
||||
}
|
||||
|
||||
QSpinBox:disabled
|
||||
{
|
||||
background: lightGrey;
|
||||
}
|
||||
|
||||
QPushButton
|
||||
{
|
||||
background: white;
|
||||
|
@ -66,6 +71,11 @@ QLineEdit
|
|||
background-color: white;
|
||||
}
|
||||
|
||||
QLineEdit:disabled
|
||||
{
|
||||
background-color: lightGrey;
|
||||
}
|
||||
|
||||
QTabWidget
|
||||
{
|
||||
background-color: white;
|
||||
|
|
Loading…
Reference in New Issue
Block a user