v0.79.1: no pointing-hand cursor anywhere
This commit is contained in:
@@ -233,6 +233,9 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
|
|||||||
Go to Current Song button while a song is on (not in DJ mode): raised
|
Go to Current Song button while a song is on (not in DJ mode): raised
|
||||||
in the hover face under the cursor, sunk and darker while held. Its
|
in the hover face under the cursor, sunk and darker while held. Its
|
||||||
face is a `face` property, since a QFrame has no `:pressed`.
|
face is a `face` property, since a QFrame has no `:pressed`.
|
||||||
|
**No pointing-hand (finger) cursor anywhere** (trav's call, Round 110):
|
||||||
|
most of the app is clickable, so a finger on a few things misleads. He
|
||||||
|
may want it on *every* button later — all or nothing.
|
||||||
The playlist list's frame is a `sidebar.RoundedFrame` (Round 91): the
|
The playlist list's frame is a `sidebar.RoundedFrame` (Round 91): the
|
||||||
panels' 8 px corners, painted *over* the list by a mouse-transparent
|
panels' 8 px corners, painted *over* the list by a mouse-transparent
|
||||||
overlay (window color outside the curve, then Fusion's own frame line,
|
overlay (window color outside the curve, then Fusion's own frame line,
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""LinTunes — iTunes-style music library manager and player for Linux."""
|
"""LinTunes — iTunes-style music library manager and player for Linux."""
|
||||||
|
|
||||||
__version__ = "0.79.0"
|
__version__ = "0.79.1"
|
||||||
|
|||||||
@@ -846,7 +846,6 @@ class OverviewWave(QWidget):
|
|||||||
self.setMaximumHeight(80)
|
self.setMaximumHeight(80)
|
||||||
self.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
|
self.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
|
||||||
self.setFixedHeight(64)
|
self.setFixedHeight(64)
|
||||||
self.setCursor(Qt.CursorShape.PointingHandCursor)
|
|
||||||
self.setToolTip(f"Deck {view.name}: the whole song — click to jump, drag to move")
|
self.setToolTip(f"Deck {view.name}: the whole song — click to jump, drag to move")
|
||||||
|
|
||||||
def _values(self, w: int) -> np.ndarray:
|
def _values(self, w: int) -> np.ndarray:
|
||||||
@@ -1283,7 +1282,6 @@ class DjShelf(QWidget):
|
|||||||
stop.setToolTip("cancel vocals split")
|
stop.setToolTip("cancel vocals split")
|
||||||
stop.setAutoRaise(True)
|
stop.setAutoRaise(True)
|
||||||
stop.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
stop.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||||
stop.setCursor(Qt.CursorShape.PointingHandCursor)
|
|
||||||
stop.setStyleSheet(f"QToolButton {{ color: {DIM}; font-size: 10px; border: none;"
|
stop.setStyleSheet(f"QToolButton {{ color: {DIM}; font-size: 10px; border: none;"
|
||||||
f" padding: 0 2px; background: transparent; }}"
|
f" padding: 0 2px; background: transparent; }}"
|
||||||
f"QToolButton:hover {{ color: #f4f4f4; }}")
|
f"QToolButton:hover {{ color: #f4f4f4; }}")
|
||||||
|
|||||||
@@ -87,7 +87,6 @@ class _CancelSyncButton(QPushButton):
|
|||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self.setFlat(True)
|
self.setFlat(True)
|
||||||
self.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
self.setFocusPolicy(Qt.FocusPolicy.NoFocus)
|
||||||
self.setCursor(Qt.CursorShape.PointingHandCursor)
|
|
||||||
self.setToolTip("Cancel the transfer")
|
self.setToolTip("Cancel the transfer")
|
||||||
self.setStyleSheet("QPushButton { border: none; padding: 0 4px; }")
|
self.setStyleSheet("QPushButton { border: none; padding: 0 4px; }")
|
||||||
self._apply("✕")
|
self._apply("✕")
|
||||||
|
|||||||
@@ -106,8 +106,6 @@ class NowPlayingPanel(QFrame):
|
|||||||
def set_clickable(self, on: bool):
|
def set_clickable(self, on: bool):
|
||||||
self._clickable = on
|
self._clickable = on
|
||||||
self._held = self._held and on
|
self._held = self._held and on
|
||||||
self.setCursor(Qt.CursorShape.PointingHandCursor if on
|
|
||||||
else Qt.CursorShape.ArrowCursor)
|
|
||||||
self.setToolTip("Go to Current Song" if on else "")
|
self.setToolTip("Go to Current Song" if on else "")
|
||||||
self._refresh()
|
self._refresh()
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ class VersionButton(QPushButton):
|
|||||||
noun = "commit" if commits == 1 else "commits"
|
noun = "commit" if commits == 1 else "commits"
|
||||||
self.setToolTip(f"Update available ({commits} {noun}) — "
|
self.setToolTip(f"Update available ({commits} {noun}) — "
|
||||||
"click to update and restart")
|
"click to update and restart")
|
||||||
self.setCursor(Qt.CursorShape.PointingHandCursor)
|
|
||||||
|
|
||||||
def _on_clicked(self):
|
def _on_clicked(self):
|
||||||
if not self._update_ready or not self.isEnabled():
|
if not self._update_ready or not self.isEnabled():
|
||||||
|
|||||||
@@ -152,11 +152,9 @@ class VisualizerWidget(QWidget):
|
|||||||
self._clear()
|
self._clear()
|
||||||
verb = "Playing on" if self._glyph == "airplay" else "Casting to"
|
verb = "Playing on" if self._glyph == "airplay" else "Casting to"
|
||||||
self.setToolTip(f"{verb} {self._device} — click to stop")
|
self.setToolTip(f"{verb} {self._device} — click to stop")
|
||||||
self.setCursor(Qt.CursorShape.PointingHandCursor)
|
|
||||||
else:
|
else:
|
||||||
self._device = ""
|
self._device = ""
|
||||||
self.setToolTip(_TOOLTIP)
|
self.setToolTip(_TOOLTIP)
|
||||||
self.setCursor(Qt.CursorShape.ArrowCursor)
|
|
||||||
self._sync_timer()
|
self._sync_timer()
|
||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user