-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] all the classes earlier in odemis.gui.comp.stream.py have…
… been split into individual python files. The stream file has been split into stream_bar and stream_panel files. The fastem specific code unrelated to the stream has also been sperated.
- Loading branch information
1 parent
3c8472e
commit e22dd7d
Showing
8 changed files
with
1,009 additions
and
904 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,33 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
:author: Rinze de Laat <laat@delmic.com> | ||
:copyright: © 2012-2021 Rinze de Laat, Philip Winkler, Delmic | ||
This file is part of Odemis. | ||
.. license:: | ||
Odemis is free software: you can redistribute it and/or modify it under the terms of the GNU | ||
General Public License version 2 as published by the Free Software Foundation. | ||
Odemis is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without | ||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
You should have received a copy of the GNU General Public License along with Odemis. If not, | ||
see http://www.gnu.org/licenses/. | ||
This module contains classes needed to construct stream panels. | ||
Stream panels are custom, specialized controls that allow the user to view and manipulate various | ||
data streams coming from the microscope. | ||
""" | ||
|
||
import wx.lib.newevent | ||
|
||
# Used by StreamPanel and StreamBar | ||
stream_remove_event, EVT_STREAM_REMOVE = wx.lib.newevent.NewEvent() | ||
|
||
# Used by FastEMProjectPanelHeader and StreamPanelHeader | ||
CAPTION_PADDING_RIGHT = 5 | ||
ICON_WIDTH, ICON_HEIGHT = 16, 16 |
Oops, something went wrong.