-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
991d898
commit 753813e
Showing
3 changed files
with
46 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import napari | ||
from pyqtspinner import WaitingSpinner | ||
from qtpy.QtCore import Qt | ||
from qtpy.QtGui import QColor # pylint: disable=E0611 | ||
|
||
|
||
def make_spinner(): | ||
return WaitingSpinner(napari.current_viewer().window._qt_window, | ||
True, | ||
True, Qt.ApplicationModal, | ||
color=QColor(255, 255, 255), | ||
fade=60, | ||
line_width=5, | ||
line_length=15, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters