update design bl

This commit is contained in:
cheykrym 2026-04-01 01:25:06 +03:00
parent 91fc552a5b
commit a82fcb39e2
3 changed files with 14 additions and 5 deletions

View File

@ -141,7 +141,8 @@ class BluetoothScreen(QWidget):
self.list = QListWidget() self.list = QListWidget()
self.list.setObjectName("BluetoothList") self.list.setObjectName("BluetoothList")
self.list.setSpacing(8) self.list.setSpacing(8)
self.list.setSelectionMode(QListWidget.NoSelection) # убираем выделение, т.к. карточки кликабельны self.list.setSelectionMode(QListWidget.NoSelection)
self.list.setFocusPolicy(Qt.NoFocus)
QScroller.scroller(self.list.viewport()).grabGesture( QScroller.scroller(self.list.viewport()).grabGesture(
self.list.viewport(), self.list.viewport(),

View File

@ -138,14 +138,18 @@ QScrollArea > QWidget > QWidget { background: transparent; }
border: 1px solid #E5E7EB; border: 1px solid #E5E7EB;
border-radius: 12px; border-radius: 12px;
padding: 6px; padding: 6px;
outline: 0;
} }
#BluetoothList::item { #BluetoothList::item {
padding: 0; padding: 0;
border-radius: 10px; border-radius: 10px;
background: transparent; background: transparent;
border: 0;
outline: 0;
} }
#BluetoothList::item:hover { background: transparent; } #BluetoothList::item:hover { background: transparent; border: 0; outline: 0; }
#BluetoothList::item:selected { background: transparent; } #BluetoothList::item:selected { background: transparent; border: 0; outline: 0; }
#BluetoothList::item:focus { background: transparent; border: 0; outline: 0; }
#BluetoothDeviceCard { #BluetoothDeviceCard {
background: #FFFFFF; background: #FFFFFF;
border-radius: 14px; border-radius: 14px;

View File

@ -128,14 +128,18 @@ QScrollArea > QWidget > QWidget { background: transparent; }
border: 1px solid #1B2330; border: 1px solid #1B2330;
border-radius: 12px; border-radius: 12px;
padding: 6px; padding: 6px;
outline: 0;
} }
#BluetoothList::item { #BluetoothList::item {
padding: 0; padding: 0;
border-radius: 10px; border-radius: 10px;
background: transparent; background: transparent;
border: 0;
outline: 0;
} }
#BluetoothList::item:hover { background: transparent; } #BluetoothList::item:hover { background: transparent; border: 0; outline: 0; }
#BluetoothList::item:selected { background: transparent; } #BluetoothList::item:selected { background: transparent; border: 0; outline: 0; }
#BluetoothList::item:focus { background: transparent; border: 0; outline: 0; }
#BluetoothDeviceCard { #BluetoothDeviceCard {
background: #141A22; background: #141A22;
border-radius: 14px; border-radius: 14px;