Skip to content

Commit

Permalink
Hide the operations and linecut windows to remove taskbar clutter
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubenknex committed Aug 29, 2018
1 parent 37453d3 commit c42a3cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qtplot/linecut.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def __init__(self, main=None):

def init_ui(self):
self.setWindowTitle("Linecut")
# Don't show this window in the taskbar
self.setWindowFlags(QtCore.Qt.Tool)

self.canvas = FigureCanvasQTAgg(self.fig)
self.canvas.mpl_connect('pick_event', self.on_pick)
Expand Down
1 change: 1 addition & 0 deletions qtplot/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def __init__(self, parent=None):

def init_ui(self):
self.setWindowTitle("Operations")
self.setWindowFlags(QtCore.Qt.Tool)

# The format of an operation entry is as follows:
# 'name': [function, [param1, param2]]
Expand Down

0 comments on commit c42a3cb

Please sign in to comment.