Compare commits
2 Commits
v4.0.5
...
AudioAnaly
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87295d6e9d | ||
|
|
5f513b1c76 |
@@ -16,13 +16,13 @@
|
|||||||
### Changed
|
### Changed
|
||||||
- Improved readability of labels for filter ranges for frequency, bandwidth, and ACF
|
- Improved readability of labels for filter ranges for frequency, bandwidth, and ACF
|
||||||
- Improved Update manager and Downloader functionalities
|
- Improved Update manager and Downloader functionalities
|
||||||
- OS dependent temporary folders are now used for database download and artemis updates
|
- OS-dependent temporary folders are now used for database download and Artemis updates
|
||||||
- The logic for searching the last sigID database has changed, now the discriminant is no longer the folder name but is reported as a signature in the database itself (-1 in the editable field, see documentation)
|
- The logic for searching the last sigID database has changed now the discriminant is no longer the folder name but is reported as a signature in the database itself (-1 in the editable field; see documentation)
|
||||||
- Old sigID databases are not deleted anymore when a new version is downloaded. This is to avoid removing databases with user changes or additions
|
- Old sigID databases are not deleted anymore when a new version is downloaded. This is to avoid removing databases with user changes or additions
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Added a database load check to avoid (noncritical) exceptions when applying filters without having loaded a database.
|
- Added a database load check to avoid (noncritical) exceptions when applying filters without having loaded a database.
|
||||||
- Fixed a potential issue involing the forcibly closure of downloader window but the downloader instance keeps running
|
- Fixed a potential issue involving the forcible closure of the downloader window, but the downloader instance keeps running
|
||||||
- With the new logic in the latest sigID database search, manually imported sigID databases are officially recognized as proper ones
|
- With the new logic in the latest sigID database search, manually imported sigID databases are officially recognized as proper ones
|
||||||
|
|
||||||
## [4.0.3] - 2024-06-10
|
## [4.0.3] - 2024-06-10
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
<file>ui/Downloader.qml</file>
|
<file>ui/Downloader.qml</file>
|
||||||
<file>ui/Preferences.qml</file>
|
<file>ui/Preferences.qml</file>
|
||||||
<file>ui/SpaceWeather.qml</file>
|
<file>ui/SpaceWeather.qml</file>
|
||||||
|
<file>ui/AudioAnalysis.qml</file>
|
||||||
<file>ui/DocumentsManager.qml</file>
|
<file>ui/DocumentsManager.qml</file>
|
||||||
<file>ui/SignalEditor.qml</file>
|
<file>ui/SignalEditor.qml</file>
|
||||||
<file>ui/CategoryEditor.qml</file>
|
<file>ui/CategoryEditor.qml</file>
|
||||||
|
|||||||
6800
artemis/resources.py
6800
artemis/resources.py
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,7 @@ from artemis.ui.dbmanager import UIdbmanager
|
|||||||
from artemis.ui.signaleditor import UIsignaleditor
|
from artemis.ui.signaleditor import UIsignaleditor
|
||||||
from artemis.ui.downloader import UIDownloader
|
from artemis.ui.downloader import UIDownloader
|
||||||
from artemis.ui.spaceweather import UIspaceweather
|
from artemis.ui.spaceweather import UIspaceweather
|
||||||
|
from artemis.ui.audioanalysis import UIAudioAnalysis
|
||||||
from artemis.ui.documentsmanager import UIdocumentsmanager
|
from artemis.ui.documentsmanager import UIdocumentsmanager
|
||||||
from artemis.ui.categoryeditor import UIcategoryeditor
|
from artemis.ui.categoryeditor import UIcategoryeditor
|
||||||
|
|
||||||
@@ -64,6 +65,7 @@ class UIArtemis(QObject):
|
|||||||
self.preferences = UIPreferences(self)
|
self.preferences = UIPreferences(self)
|
||||||
self.dbmanager = UIdbmanager(self)
|
self.dbmanager = UIdbmanager(self)
|
||||||
self.spaceweather = UIspaceweather(self)
|
self.spaceweather = UIspaceweather(self)
|
||||||
|
self.audioanalysis = UIAudioAnalysis(self)
|
||||||
self.docmanager = UIdocumentsmanager(self)
|
self.docmanager = UIdocumentsmanager(self)
|
||||||
self.sigeditor = UIsignaleditor(self)
|
self.sigeditor = UIsignaleditor(self)
|
||||||
self.cateditor = UIcategoryeditor(self)
|
self.cateditor = UIcategoryeditor(self)
|
||||||
@@ -84,6 +86,7 @@ class UIArtemis(QObject):
|
|||||||
self._window.updateDb.connect(self.update_db)
|
self._window.updateDb.connect(self.update_db)
|
||||||
self._window.updateArtemis.connect(self.update_artemis)
|
self._window.updateArtemis.connect(self.update_artemis)
|
||||||
self._window.showSpaceWeather.connect(self.show_space_weather_ui)
|
self._window.showSpaceWeather.connect(self.show_space_weather_ui)
|
||||||
|
self._window.showAudioAnalysis.connect(self.show_audio_analysis_ui)
|
||||||
self._window.openDbDirectory.connect(self.open_db_directory)
|
self._window.openDbDirectory.connect(self.open_db_directory)
|
||||||
self._window.showCatManager.connect(self.open_cat_manager)
|
self._window.showCatManager.connect(self.open_cat_manager)
|
||||||
|
|
||||||
@@ -211,6 +214,12 @@ class UIArtemis(QObject):
|
|||||||
self.spaceweather.load_spaceweather_ui()
|
self.spaceweather.load_spaceweather_ui()
|
||||||
|
|
||||||
|
|
||||||
|
def show_audio_analysis_ui(self):
|
||||||
|
""" Open the space weather windows
|
||||||
|
"""
|
||||||
|
self.audioanalysis.load_audioanalysis_ui()
|
||||||
|
|
||||||
|
|
||||||
def show_documentsmanager_ui(self):
|
def show_documentsmanager_ui(self):
|
||||||
""" Open the documents manager windows
|
""" Open the documents manager windows
|
||||||
"""
|
"""
|
||||||
|
|||||||
29
artemis/ui/audioanalysis.py
Normal file
29
artemis/ui/audioanalysis.py
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
from PySide6.QtQml import QQmlApplicationEngine
|
||||||
|
from PySide6.QtCore import QObject, Slot, Signal
|
||||||
|
|
||||||
|
|
||||||
|
class UIAudioAnalysis(QObject):
|
||||||
|
# Python > QML Signals
|
||||||
|
show_ui = Signal()
|
||||||
|
|
||||||
|
def __init__(self, parent):
|
||||||
|
super().__init__()
|
||||||
|
|
||||||
|
self._parent = parent
|
||||||
|
|
||||||
|
self._engine = QQmlApplicationEngine()
|
||||||
|
self._engine.load('qrc:/ui/AudioAnalysis.qml')
|
||||||
|
self._window = self._engine.rootObjects()[0]
|
||||||
|
|
||||||
|
self._connect()
|
||||||
|
|
||||||
|
def _connect(self):
|
||||||
|
# QML > Python connections
|
||||||
|
|
||||||
|
# Python > QML connections
|
||||||
|
self.show_ui.connect(self._window.show)
|
||||||
|
|
||||||
|
def load_audioanalysis_ui(self):
|
||||||
|
self.show_ui.emit()
|
||||||
|
|
||||||
|
|
||||||
@@ -6,12 +6,12 @@
|
|||||||
"total_bytes": 244449280
|
"total_bytes": 244449280
|
||||||
},
|
},
|
||||||
"windows": {
|
"windows": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.5",
|
||||||
"url": "https://github.com/AresValley/Artemis/releases/download/v4.0.3/Artemis-Windows-x86_64-4.0.3.exe"
|
"url": "https://github.com/AresValley/Artemis/releases/download/v4.0.5/Artemis-Windows-x86_64-4.0.5.exe"
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.5",
|
||||||
"url": "https://github.com/AresValley/Artemis/releases/download/v4.0.3/Artemis-Linux-x86_64-4.0.3.zip"
|
"url": "https://github.com/AresValley/Artemis/releases/download/v4.0.5/Artemis-Linux-x86_64-4.0.5.zip"
|
||||||
},
|
},
|
||||||
"mac": {
|
"mac": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ Window {
|
|||||||
signal showCatManager()
|
signal showCatManager()
|
||||||
signal openSigEditor(string type, var sig_param, bool is_new)
|
signal openSigEditor(string type, var sig_param, bool is_new)
|
||||||
signal showSpaceWeather()
|
signal showSpaceWeather()
|
||||||
|
signal showAudioAnalysis()
|
||||||
signal checkForUpdate()
|
signal checkForUpdate()
|
||||||
signal updateDb()
|
signal updateDb()
|
||||||
signal updateArtemis()
|
signal updateArtemis()
|
||||||
@@ -322,6 +323,17 @@ Window {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Menu {
|
||||||
|
title: qsTr("Analysis")
|
||||||
|
|
||||||
|
MenuItem {
|
||||||
|
text: "Audio Analysis"
|
||||||
|
onClicked: {
|
||||||
|
showAudioAnalysis()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
id: aboutMenu
|
id: aboutMenu
|
||||||
title: qsTr("Help")
|
title: qsTr("Help")
|
||||||
|
|||||||
27
ui/AudioAnalysis.qml
Normal file
27
ui/AudioAnalysis.qml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
import QtQuick
|
||||||
|
import QtQuick.Window
|
||||||
|
import QtQuick.Controls
|
||||||
|
import QtQuick.Controls.Material
|
||||||
|
import QtQuick.Layouts
|
||||||
|
import QtQuick.Dialogs
|
||||||
|
|
||||||
|
|
||||||
|
Window {
|
||||||
|
id: window
|
||||||
|
width: 1100
|
||||||
|
height: 800
|
||||||
|
|
||||||
|
Component.onCompleted: {
|
||||||
|
x = Screen.width / 2 - width / 2
|
||||||
|
y = Screen.height / 2 - height / 2
|
||||||
|
}
|
||||||
|
|
||||||
|
title: qsTr("Artemis - Audio Analysis")
|
||||||
|
|
||||||
|
modality: Qt.ApplicationModal
|
||||||
|
flags: Qt.Window
|
||||||
|
|
||||||
|
// Windows without upper bar
|
||||||
|
//flags: Qt.FramelessWindowHint
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user