Skip to content

Commit

Permalink
GUI no longer has to stay on top
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbhughes committed Jan 6, 2021
1 parent 622cb65 commit 1a5d92f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [0.2.11]
### Changed
* GUI no longer has to stay on top of other windows

## [0.2.10]
### Fixed
* Normalization now adjusts to spread the data over the entire data range
Expand Down Expand Up @@ -51,6 +55,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [0.2.4]
First stable release. Not all features added.

[0.2.11]: https://github.com/jmbhughes/solarannotator/releases/tag/v0.2.11
[0.2.10]: https://github.com/jmbhughes/solarannotator/releases/tag/v0.2.10
[0.2.9]: https://github.com/jmbhughes/solarannotator/releases/tag/v0.2.9
[0.2.8]: https://github.com/jmbhughes/solarannotator/releases/tag/v0.2.8
[0.2.7]: https://github.com/jmbhughes/solarannotator/releases/tag/v0.2.7
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name='solarannotator',
long_description=long_description,
long_description_content_type='text/markdown',
version='0.2.10',
version='0.2.11',
packages=['solarannotator'],
url='',
license='',
Expand Down
5 changes: 1 addition & 4 deletions solarannotator/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,9 @@ def __init__(self, config_path):
QtCore.Qt.Window |
QtCore.Qt.CustomizeWindowHint |
QtCore.Qt.WindowTitleHint |
QtCore.Qt.WindowCloseButtonHint |
QtCore.Qt.WindowStaysOnTopHint
QtCore.Qt.WindowCloseButtonHint
)


def initUI(self):
self._main = QtWidgets.QWidget()
self.setCentralWidget(self._main)
Expand All @@ -533,7 +531,6 @@ def initUI(self):
layout.addLayout(self.control_layout)
self._setup_menubar()


def _setup_control_layout(self):
self.control_layout = QtWidgets.QHBoxLayout()
self.controls = ControlWidget(self.annotator)
Expand Down

0 comments on commit 1a5d92f

Please sign in to comment.